Jump to content

endreman0

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

endreman0's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Thanks, that helped me fix it! The issue was using item.getUnlocalizedName() . This prepends "item." to the actual name, which isn't supposed to be there for model registry. I swapped it for MOD_ID + ":" + item.getName() and it worked. Also, that looks like a great reference. Thanks for showing it to me!
  2. 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?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.