mojira.dev
MCPE-235787

Icons for custom blocks with item overrides not always used for auto-completions in commands

In Vanilla, blocks that have item icon overrides (such as doors, cauldrons, and flowers) use that icon for command auto-completions involving blocks. Custom blocks with item overrides using custom items do not behave this way.

Demonstration

Below shows how cauldrons use their item icons — not auto-generated block icons — in auto-completions for the Block command enumeration.

Vanilla Block Icon Demo.png

Here is a custom block whose minecraft:icon references the same cauldron texture:

Custom Block Item Override Icon Bug Demo.png

It incorrectly uses the auto-generated block icon instead.

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)

1558152

Confirmed

Multiple

26.10.21 Preview

Retrieved