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

According to your mod class, you're trying to mod 1.12.1, correct? Put that in your title so we know what versions you're using.

 

Also, you're using ItemModelMesher, which is a bit outdated, but you've also set it up wrong, from what I can tell.

Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block), 0, new ModelResourceLocation(Occultcraft.modid + ":" + block.getUnlocalizedName().substring(5), "inventory"));

This is how we used to use ItemModelMesher to register renders.

 

Try this instead:

Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block), 0, new ModelResourceLocation(block.getRegistryName(), "inventory"));

 

However, you should work on trying to understand ModelLoader, and use that instead of ItemModelMesher.

 

Looking at your .json files, I don't see anything immediately wrong, so the problem is most likely in your class files.

Edited by ModMCdl

Follow these rules when talking to me, and we'll get along fine.

1).I know Java fairly well. I don't know as much about modding. They are not the same, don't compare them.

2). I consider myself to always be learning. I make mistakes, you make mistakes. Who doesn't?

3). Insult me, and I will leave the thread. I have a real life, I don't have time to throw petty insults in a Minecraft Modding forum.

 

ModMCdl - Co-Founder and Director of Design for Artemis Game Studios

2 hours ago, ModMCdl said:

Also, you're using ItemModelMesher, which is a bit outdated

A bit? It's been the wrong way for over two and a half years. It was added in Build 1.8 - 11.14.0.1292 (latest is 1.12.2 - 14.23.0.2512) which was released on Jan 29, 2015.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

1 hour ago, Draco18s said:

A bit? It's been the wrong way for over two and a half years. It was added in Build 1.8 - 11.14.0.1292 (latest is 1.12.2 - 14.23.0.2512) which was released on Jan 29, 2015.

Sorry, a little bit longer than a bit. Either way, the end advice was to learn ModelLoader.  

 

Stop coming to this forum just like to make fun of us, be confrontational, and make our personal lives miserable. :P jk, you're the most helpful person on here

 

Follow these rules when talking to me, and we'll get along fine.

1).I know Java fairly well. I don't know as much about modding. They are not the same, don't compare them.

2). I consider myself to always be learning. I make mistakes, you make mistakes. Who doesn't?

3). Insult me, and I will leave the thread. I have a real life, I don't have time to throw petty insults in a Minecraft Modding forum.

 

ModMCdl - Co-Founder and Director of Design for Artemis Game Studios

5 minutes ago, ModMCdl said:

Sorry, a little bit longer than a bit. Either way, the end advice was to learn ModelLoader.  

My comments were less a comment on you than a comment on the people still using ModelMesher.

5 minutes ago, ModMCdl said:

Stop coming to this forum just like to make fun of us, be confrontational, and make our personal lives miserable. :P jk, you're the most helpful person on here

People bitch at me all the time. No joke.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Just now, Draco18s said:

People bitch at me all the time. No joke.

I know lol, just poking fun.

Follow these rules when talking to me, and we'll get along fine.

1).I know Java fairly well. I don't know as much about modding. They are not the same, don't compare them.

2). I consider myself to always be learning. I make mistakes, you make mistakes. Who doesn't?

3). Insult me, and I will leave the thread. I have a real life, I don't have time to throw petty insults in a Minecraft Modding forum.

 

ModMCdl - Co-Founder and Director of Design for Artemis Game Studios

Just now, ModMCdl said:

I know lol, just poking fun.

:)

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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.