Custom blocks using the new multi-block trait handle random offset data incorrectly. In particular, the selection outline and collision box are incorrect; the selection zone (cursor region for destruction, interaction, and displaying the selection outline) remains correct.
Demonstration
The attached image demonstrates this issue. The selection outline and model should be laterally centered together but are not. This may be better seen in the attached world. If testing in-world, observe that the collision box isn’t even in the same block space as the model and selection zone.
Reproduction
This issue arises with any custom block using both the minecraft:multi_block trait and the minecraft:random_offset component.
This demo screenshot is 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.
Thank you for helping us improve Minecraft! We saved your files: