Jump to content

Recommended Posts

Posted

Hi,

I am attempting to code a variation of TNT that is less powerful and the explosion and everything is working, with the only problem being rendering the TNT. As soon as the entity is spawned, the game crashes and throws this exception:

 

  Reveal hidden contents

 

And here is the RenderMinerPrimed class:

 

  Reveal hidden contents

 

If I had to guess, I think the game can't find the texture but I'm not sure as there IS a texture located at "assets/minecraftplus/textures/entity/minerBlock.png". Does it have to be a specific size?

 

Thanks for any help.

Posted

Actually, I just figured it out a few minutes ago. I did register the entity and renderer, but I had the renderer being registered in preInit, where I believe the value of Minecraft.getMinecraft().getRenderManager() was null. Moving it to postInit solved the problem. Thanks for the reply though!

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.