The enabled_directions property of the minecraft:connection_rule block component does not respect the minecraft:transformation component’s rotation.
Demonstration
Shown below is a custom block without transformation:
Its south face is marked in white and is whitelisted for connection; it (correctly) is the only face being connected to the surrounding fences.
On the other hand, here is a custom block with a 180° y-rotation:
It is still only connecting to the fence in the south direction. It also has its south face marked in white; this face can’t be seen, as it is now acting as the north face. The model rotation respected the transformation, but the connection directions did not.
Reproduction
This example is taken from the behavior pack in the following world attached for convenience:
This world can be opened (in Minecraft Preview) for inspection or unzipped to access the code associated with such.
Attachments
Comments 0
No comments.