mojira.dev
MCPE-235806

Connection rule block component does not respect transformation component rotation

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:

Custom Block without Rotation Demo.png

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:

Custom Block with Rotation Demo.png

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:

[media]

This world can be opened (in Minecraft Preview) for inspection or unzipped to access the code associated with such.

Attachments

Comments 0

No comments.

Ciosciaa

(Unassigned)

Unconfirmed

Multiple

26.10.21 Preview

Retrieved