Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

FilipZocktan

Members
  • Posts

    4
  • Joined

  • Last visited

FilipZocktan's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. There is no error log... Previous it was Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation("zocrpmod:" + itemName, "inventory")); And now @Draco18s told me to do it like this: ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation("zocrpmod:" + itemName, "inventory")); And since I applied this, I don't get the textures anymore, but this black-pink square...
  2. Could you maybe explain the Registry events to me? I don't understand them... //EDIT: I got the problem fixed by putting a random String in a place where the person the tutorial was from said it didn't matter what's in there. Instead of: public static ArmorMaterial PoSiTIonBarrierSuit = EnumHelper.addArmorMaterial("PoSiTIonBarrierSuit", null, 1000000000, new int[] {3, 8, 6, 3}, 3, SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND, 10.0F); I made it: public static ArmorMaterial PoSiTIonBarrierSuit = EnumHelper.addArmorMaterial("PoSiTIonBarrierSuit", "wurscht", 1000000000, new int[] {3, 8, 6, 3}, 3, SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND, 10.0F); Now it's almost working, except for the items, which now don't have a texture... (I already applied the patch 2)
  3. Hey Guys, I'm quite new to Forge Modding and just trying to create an Armor (in the Version 1.10.2). I found a tutorial for the 1.8 and added the things not given there from Internet research. Now I'm ready, but when I start Minecraft for testing, and open my Inventory with the Armor on I get the following Stacktrace: My code is the following: Main Class (extracts): ItemPoSiTIonBarrierSuit: Note: The path to the file is correct. I already checked that. Thanks for your replies in advance. Filip Zocktan
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.