Closed nouni19 closed 2 years ago
Hello,
The BlockState
constructor can take a str => str dictionary as argument to specify properties. For an existing object, those properties can be queried using the bracket syntax.
state = BlockState("minecraft:note_block", properties={"note": "10"})
note = state["note"]
# note now equals "10"
Is there any function or argument to the class BlockState to change the properties of the block? (Example, which direction a stair or a redstone torch is facing, note in a noteblock...)