mojira.dev
MCPE-238086

Geometry and material instances must be defined together in the block "permutations" array in format version 1.26.20

Within the block permutations array, the minecraft:geometry and minecraft:material_instances components should be able to be specified independently of each other, following a change made in Preview 26.0.29:

Removed block permutation component validation for geometry and material instance components

However, this incorrect validation has now reappeared for blocks with JSON format_version 1.26.20.

Steps to reproduce:

  • Enable “Content Log GUI“ in Settings > Creator

  • Download the attached behaviour pack and apply it to a world

  • Load the world

Observed results:

When the world is loading, the following error is displayed and the block is not registered.

[Blocks][error]-block_definitions | blocks/block.json | -> permutations[0] -> components: Block needs both a "geometry" and "material_instances" component.

Expected results:

The block definition should not cause an error and the block should be registered with a full block geometry when bug:state is false and a cross geometry when bug:state is true, sharing material instances across permutations.

Attachments

Comments 1

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

[media]

QuazChick

(Unassigned)

Unconfirmed

Multiple

26.20.26 Preview

Retrieved