Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Armor Stand Meta API Extension

Open JakeGBLP opened this issue 2 years ago • 1 comments

Suggestion:

Minecraft supports adding EntityData to the armor stand item which will be added to the armor stand once placed down. It would be really useful to have in this class:

Solution:

The methods in this class should be added to the ArmorStandMeta class, including the methods to retrieve and set the armor pieces, unless it's preferred to have another class for that.

Alternatively:

A way to do this without a direct implementation is with NBT, since all of this data is stored in nbt, editing that with accurate values does in fact work, but having methods for them would be better and handier.

Other

No response

JakeGBLP avatar Jun 02 '23 22:06 JakeGBLP

Yeah, this has been a big issue with the way the bukkit itemmeta system was designed from the beginning. This will probably be addressed partially in https://github.com/PaperMC/Paper/pull/8711 and the later entity property system. that way support for the whole EntityData nbt tag will be added not just for armor stands, but everywhere else it applies like spawn eggs.

Machine-Maker avatar Jun 02 '23 22:06 Machine-Maker