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.

Mattizin

Members
  • Joined

  • Last visited

Everything posted by Mattizin

  1. Yeah, thought github link was enough, but here it is: public static void registerRender(Block block, int meta, String fileName) { Item item = Item.getItemFromBlock(block); Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, meta, new ModelResourceLocation(modid + ":" + fileName, "inventory")); System.out.println(modid + ":" + fileName); }
  2. Mhh. In my opinion when i Register the Blocks(subblocks) like this with the name + "Ore" i should be able to reach the json file with name+Ore or im wrong? for(int i = 0; i < EnumOreType.values().length; i++) { registerRender(ModBlocks.ore, i, EnumOreType.values()[i].getName() + "Ore"); }
  3. Hey, Does nobody have an idea? Or do you need further information? Mattizin
  4. Hey Guys, I'm just learning modding for 1.8.9 I want to create a simple BlockOre with an EnumOreType with 3 Types of Ores. Everything works, except the in Inventory/Hand rendering. I get the following error: [23:23:45] [Client thread/ERROR] [FML]: Model definition for location mattech:ore#inventory not found i googled and tried it for days now but all i found was "Your json files have to be in the wrong place", but i think they are right... Please help me. Thanks. Full github repository: https://github.com/M4tt1z1n/Mattech Like i said the Block is BlockOre with EnumOreType Mattizin

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.