-
-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the problem related to your feature request.
Valence is lacking placement rules, i.e. the rules that should be followed when a player places or breaks a block. This includes the orientation of logs and stairs, redstone dust, torches, etc.
The client will predict these behaviors so it's important that we have direct support for it.
What solution would you like?
- Add a new method to
ChunkLayer
calledplace_block
, similar toset_block
but with placement rules. - Document the difference between
set_block
andplace_block
. - Make use of it in the building example.
What alternative(s) have you considered?
Putting this in a separate crate/plugin. But that doesn't seem necessary to me.
Additional context
Here's what Minestom does. Although I think its implementation is incomplete. We should check Vanilla source.
XBagon
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request