mojira.dev
MCPE-238820

Attachable identifiers conflict with client entity identifiers

The bug

Attachables are a weird system that allows items to render as 3D models in some contexts. The ID of the attachable corresponds to the ID of the item to give the model to. However, if an entity shares that ID, the entity is given the model as well.

In vanilla, this affects the following items that share their IDs with entities: slime, salmon, snowball, egg, arrow, tnt_minecart, ender_pearl, splash_potion, command_block_minecart, chest_minecart, pufferfish, lingering_potion, chicken, rabbit, cod, armor_stand, minecart, hopper_minecart, tnt

How to reproduce

  1. Download and open the attached world. It contains an attachable file that makes chicken items render as 3D pigs.

  2. Hold a chicken item.

  3. Spawn a chicken.

Expected results

The chicken item should look like a pig, while the chicken entity should still look like a chicken

Observed results

Both the chicken item and entity look like a pig

Linked issues

Attachments

Comments 1

This issue has been reviewed by our team.

Please add new, relevant information if it helps us understand or reproduce the issue. To show that you’re affected, use the vote feature rather than commenting.

If a fix is implemented, it will be listed in our official changelogs.

For major outages or urgent assistance, visit the Minecraft Help Center.

tryashtar

(Unassigned)

1617852

Confirmed

Windows

26.30.27 Preview, 26.20

Retrieved