Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

FilipZocktan

Members
  • Joined

  • Last visited

  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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.