[EMF] Entity Model Features [Fabric & Forge]

[EMF] Entity Model Features [Fabric & Forge]

45M Downloads

Armor NBT/Components for .properties from its item data

oveRush opened this issue ยท 1 comments

commented

Is your feature request related to a problem? Please describe.
The custom model feature for the armor is a really cool unique feature, but it is now a little limited. I saw the request for new attributes in the properties file, but perhaps just connecting armor components/NBT to armor equipment would work better? At the moment, the mod can't read any NBT data from armor (or if it exists in the game at all), or I have tried badly. This will greatly facilitate the creation of resource packs for modifying multiple armors with one resource pack. Some things are possible with the help of animation, but not everything, such as getting information about renaming or enchantments (even if there was one, it used a non-existent tag), especially in the interval between versions 1.21.2 and 1.21.4, where there are no workarounds - CIT Resewn was not updated to versions higher than 1.21.1, and the official function of interaction with components came out later, 1.21.5

Describe the solution you'd like
Add the ability for the armor to read the NBT/component data of its item through a file.properties (they work, they just try to read data from the armor, which, as I understand it, does not exist)

Does OptiFine do this
No

commented

as EMF is currently the nbt you are reading is actually that of the entity wearing the armor

you can attempt to read its inventory nbt to read the item nbt but i am unaware of how components will paly into that as I have moslty left this up to CIT Resewn, though i know the future of that is uncertain now