mojira.dev
MCPE-236325

Transformation component breaks imposed limits on collision and selection box components

Typically, the minecraft:collision_box and minecraft:selection_box block components are limited to the “block space”, the unit cube containing a block. However, the minecraft:transformation component allows these values to break their limitations. This only occurs for respective components if they are explicitly defined in the block definition.

Crucial bug for creators

This bug is currently the only way to arbitrarily extend the outline of a block. This is crucial for reproducing multi-block contents. While the multi-block trait is now available, it will almost assuredly never be able to fully cover any creator need.

It is therefore requested that this bug fix come with some supported means of arbitrarily extending the rendered outline of a custom block, even if the actual selection zone and collision box must be kept within the block space.

Demonstration

The attached screenshots show this bug in action. The custom block using the acacia planks texture has an outline above the block’s limits. In game, the same is true for the block’s collision. This is because the block explicitly declared the 2 components in question:

"minecraft:selection_box": true,
"minecraft:collision_box": true

Note that the bug does not occur for either component on the block with the glowstone texture. It did not explicitly define the 2 components.

Reproduction

These demo screenshots and code are taken from the behavior pack in the attached world for convenience. This world can be opened (in Minecraft Preview) for inspection or unzipped to access the code associated with such.

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media][media]

Ciosciaa

(Unassigned)

1564175

Confirmed

Multiple

26.0, 26.10.23 Preview

Retrieved