Jump to content

Recommended Posts

Posted (edited)

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

Posted
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.

Posted
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

Posted
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.

Posted
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

Posted
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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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