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

So I've started on a private mod to my friends, and I get errors about items EVERYWHERE apokitfphmbjxkcfplnböfmjkhb

 

Sorry for that.

Anyways,

    First I got a lot of "Item model not found". I fixed that by making an Item.json and a lot of stuff.

    Finally I could go to this next step. But now I got File Not Found errors. I fixed that via adding a fix to the JSON file.

    But then: I get this error "

Unidentified item: (modid):item.(itemid), id 4096

"

 

Let's just say this: Sometimes the behind the scenes Minecraft updates sucks.aöpomgbrjdjböodtmk,xDäö

 

Ok sorry, I just got really upset :P

So my question to you is: Do you know how to fix the error?

 

PS: This is my code (some things are replaced, but yeah, nothing important. Only mod details.)

@EventHandler
    public void init(FMLInitializationEvent event){
    	Item item = (Item) new item();
    	registerItem(item, event);
    }
    
    public void registerItem(Item item, FMLInitializationEvent event){
    	if(event.getSide() == Side.CLIENT)
    		Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0,
    				new ModelResourceLocation(MODID + item.getUnlocalizedName().substring(5), "inventory"));
    	
    	GameRegistry.registerItem(item, item.getUnlocalizedName().substring(5));
    	System.out.println(item.getUnlocalizedName().substring(5));
    }

And if I ever helped anyone with anything, let me know

I am a noob in forge

First: Init items and register them in the FMLPreInit Event.

2nd: Register item models in your ClientProxy.

I really suggest you to make a "helper" class to make things cleaner.

  • Author

First: Init items and register them in the FMLPreInit Event.

2nd: Register item models in your ClientProxy.

I really suggest you to make a "helper" class to make things cleaner.

 

Maybe, but this mod is supposed to be quick.

So all the models and that is going to be Proxy-fyed? I've never heard of that in any other tutorial...

And if I ever helped anyone with anything, let me know

I am a noob in forge

  • Author

First: Init items and register them in the FMLPreInit Event.

2nd: Register item models in your ClientProxy.

I really suggest you to make a "helper" class to make things cleaner.

 

I made it to a Proxy, but it's still the exact same problem:

"There is 1 missing blocks and items in this save. bla bla bla... Backup... bla bla... Missing Blocks/Items:"

 

EDIT:

Sorry, I forgot to call the proxy. My bad. Now it's actually as in the beginning: No texture found for the item :/

And no errors in the console...

And if I ever helped anyone with anything, let me know

I am a noob in forge

  • Author

Can you show me your item model file?

 

Yes, as soon as I get access to my coomputer.

Thanks :)

And if I ever helped anyone with anything, let me know

I am a noob in forge

  • Author

Guys, I'm sorry. I give up, since this mod is private, I'm just gonna downgrade to 1.7.10

 

Sorry

And if I ever helped anyone with anything, let me know

I am a noob in forge

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.