I don't know if I badly searched for this but I'm a bit astonished that nobody suggested this yet.
We really need a command that can alterate dynamically the block state of blocks. We can currently change the nbt of entity blocks with the data command, but blockstate have never been a thing.
It can be helpful for many thing, like creating our own more restrictive debug stick, or dry a full area from waterlogged blocks.
Some blocks have huge possible set of states, for example stairs, which have 2^13 possible states, it is barely impossible to rely on the current fill command to change a single state for them, would need more than 8k fill commands for a single stair's ID. This kind of command would help a lot in many context (including the fact jigsaw / structure blocks automatically turn the waterlogged state of some blocks to true if the structure is placed in water).
Example of syntax :
/blockstate <x> <y> <z> <dx> <dy> <dz> <block_ID/block_tag> set <blockstate> <value>
/blockstate ~ ~ ~ ~20 ~10 ~20 #stairs set waterlogged false
Please sign in to leave a comment.
5 Comments