I recently went into modding minecraft and am now working on a mod that does nothing else but provide useless items. they could be used by RPG pack developers, so they don't have to rely on standart (and therefor well-known) mod textures (more info).
My Problem is, that i don't want to implement >200 scroll textures item by item. so would there be a possibility to use nbttags for textures?
I know that i could use data values (just like for wool), but they are limited to 16 types per item.
thanks in advance for any help!
ps: please count me as a complete noob, just to make sure i understand your explanations
Blocks have a 16 value (4 bit) metadata limitation, Items have a 215 value (16 bit) metadata limitation. Metadata will work for this.
I suggest you create an enum to manage the subtypes of each Item (including things like unlocalised name and colour) and then use either the enum's ordinal or a dedicated ID field as the metadata values. Vanilla has enums like ItemFishFood.FishType and EnumDyeColor for this purpose.
To recolour model textures at runtime, you can register an IItemColor.
Please don't PM me to ask for help or to join your mod development team. Asking your question in a public thread preserves it for people who are having the same problem in the future. I'm not interested in developing mods with people.
i still have a problem texturing this, but this is rather me messing with 1.10.2 than anything metadata related - none of my textures want to show up properly. gonna go into this somewhere else though, this is hereby solved.