mojira.dev
MC-90538

Elytra not placeable on Armour Stand

You can't put elytra on armor stands even though dispensers do place elytra on armor stands.


Code analysis by @unknown can be found in this comment

Linked issues

Attachments

Comments 6

This issue is actually about being unable to place elytra on armor stands.

Confirmed for

  • 1.9.1-pre3

Please link to this comment in the description

The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version.

The reason why this happens is because the method net.minecraft.entity.item.EntityArmorStand.func_184199_a(EntityPlayer, Vec3d, ItemStack, EnumHand) only tests if the item is a an instance of the ItemArmor class (which is not the case) or if it is a skull or a pumpkin. It might be in general better to define for every item the slots it can be put in instead of having exceptions for all kind of items every time this information is needed.

This issue has been fixed in 16w33a.

The elytra is however not visible due to MC-89921

Susan Price

(Unassigned)

Confirmed

Minecraft 15w41b, Minecraft 15w44b, Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w50a, Minecraft 1.9 Pre-Release 3

Minecraft 16w33a

Retrieved