I am attempting to create an item that will have a different texture for each metadata value.
ItemBase
(the item):
ItemMetadataEM
(base class for every item that uses metadata):
ItemEM
(base class for all items in the mod):
ItemsEM
(holds the item instance and registers items in preinit phase):
ClientProxy
(registers item renders in init phase):
machineBase_tier1.json
(in
assets/endermagnetics/models/item
):
machineBase_tier2.json
is the same, except the texture link is to
machineBase_tier2
. Both textures exist in
assets/endermagnetics/textures/items
, and are named exactly as their JSON counterparts are (not including the extension, of course).
When the game loads, the log shows my texture registration happening immediately after Minecraft searches for (and can't find the textures). Here's that section of the log:
The two "not found" lines are also shown farther down in the log.
Am I registering the textures at the wrong time? The wrong way?