When rotated_block_provider with vertical direction is applied to property facing that is HORIZONTAL_FACING internally (e.g. Door), the game crashes with java.lang.IllegalArgumentException.
Additionally, this can be caused without specifying direction because RotatedBlockProviderchooses direction randomly without validation using Direction.getRandom().
How to reproduce
Execute
/give @s stick[minecraft:block_transformer=[{block_state_provider: {type: rotated_block_provider, direction: up, state: {type: simple_state_provider, state: oak_door}}}]]and interact any block with given stick.Execute
/give @s stick[minecraft:block_transformer=[{block_state_provider: {type: rotated_block_provider, state: {type: simple_state_provider, state: oak_door}}}]]and interact any block with give stick several times, until the game chooses vertical direction and crash.
Attachments
Comments 0
No comments.