Jump to content

Thegametutor101

Members
  • Posts

    51
  • Joined

  • Last visited

Everything posted by Thegametutor101

  1. Hi, I've been spending over a week trying to find why my model doesn't work and I think it is related to my .json, .obj and .mtl files for the item. I am using ``` public void registerItemRenderer(Item item, int meta, String id) { OBJLoader.INSTANCE.addDomain(Reference.MOD_ID); ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(item.getRegistryName(), id)); }``` to register my items and OBJ models. I have the JSON in *assets/[MODID]/blockstates* and the OBJ and MTL files in *assets/[MODID]/models/item*. Here are my files: ClientProxy: https://github.com/Thegametutor101/Pixelmon_Project_School/blob/Pixelmon_Main/java/pixelmonMod/proxy/ClientProxy.java JSON: https://github.com/Thegametutor101/Pixelmon_Project_School/blob/Pixelmon_Main/resources/assets/pm/blockstates/pokeball.json MTL: https://github.com/Thegametutor101/Pixelmon_Project_School/blob/Pixelmon_Main/resources/assets/pm/models/item/pokeball.mtl OBJ: https://github.com/Thegametutor101/Pixelmon_Project_School/blob/Pixelmon_Main/resources/assets/pm/models/item/pokeball.obj Please, I really need help figuring this out.. Thank you.
×
×
  • Create New...

Important Information

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