Jump to content

[1.7.10] Help! The Method getRenderItem() is undefined for this type Minecraft


Recommended Posts

Posted

2jab4g5.png

 

I am getting the error The Method getRenderItem() is undefined for this type Minecraft

and The Method getItemModelMesher() is undefined for this type RenderItem

Posted

Those methods were added in 1.8 and are not available in 1.7. 1.8 introduced a new system of block models, for which those methods were created. The tutorial you're using (if any) is from 1.8.

 

The RenderItem type you're trying to get the ModelMesher from is the physical renderer for Item Entities. The class that getRenderItem() returns in 1.8 doesn't exist either in 1.7.10.

 

In 1.8 the block model and the textures are set inside the JSON model. pre 1.8 textures were registered via the methods setBlockTextureName and registerBlockIcons within the block class.

Posted

Lemme just add one thing: You NEED to start using proxies to do client-stuff registration. Otherwise your mod will crash on dedicated server.

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

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.