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.

Featured Replies

Posted

I am tired of this. Tried to follow tutorials but seems like there was (I mean, must have been, because it's not working) some update lately.

 

Forge build 1306 (latest).

 

// I am passing "ore_copper" as name:
private void registerItemModel(String name)
{
	System.out.println(name);
	Item item = GameRegistry.findItem(InitUtil.ModID, name);
	System.out.println(item);
	ModelResourceLocation model = new ModelResourceLocation(InitUtil.ModID.toLowerCase() + ":" + name, "inventory");
	System.out.println(model);
	Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, model);
}

[19:26:47] [Client thread/INFO] [sTDOUT]: [com.midstcraft.ernio.RoA.ClientProxy:registerItemModel:64]: ore_copper
[19:26:47] [Client thread/INFO] [sTDOUT]: [com.midstcraft.ernio.RoA.ClientProxy:registerItemModel:66]: net.minecraft.item.ItemBlock@4fe57305
[19:26:47] [Client thread/INFO] [sTDOUT]: [com.midstcraft.ernio.RoA.ClientProxy:registerItemModel:68]: roa:ore_copper#inventory
..........
[19:26:49] [Client thread/ERROR] [FML]: Model definition for location roa:ore_copper#inventory not found

 

What the hell?

Note: My world-model (placed) is working.

 

Edit: I edited post (had mistakie in code)

 

Edit 2: Assets:

assets.roa.blockstates/ore_copper.json

assets.roa.models.block/ore_copper_model_0.json

1.7.10 is no longer supported by forge, you are on your own.

  • Author

I just figured out that Items can't use Block's model as total-base. You need to have Item.json that will use Block's model.json as parent.

 

Why doees everyone in every tutorial/documentation/comment names both the same (that got me confused).

 

SUCCESS

1.7.10 is no longer supported by forge, you are on your own.

Guest
This topic is now closed to further replies.

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.