Jump to content

Recommended Posts

Posted (edited)

So I have a custom TNT-type block, Acid TNT, that I have implemented, and the block and entity are working just fine (I can activate it, the explosion is run, etc), however the rendering for EntityAcidTNTPrimed is non-existent.  I have another entity being rendered properly in the mod, so I know my registration process isn't at fault.  I tried decompiling another mod, TNT Mod, to have a look at their code, but I couldn't see anything different between their process and mine.  I really can't figure it out.  Here is the relevant code.

Registration (called from preInit())

  Reveal hidden contents

BlockAcidTNT.java

  Reveal hidden contents

EntityAcidTNT.java

  Reveal hidden contents

RenderAcidTNTPrimed

  Reveal hidden contents

The weird thing is that all three are almost identical to their vanilla TNT equivalents, so...  Also, I tried using RenderTNTPrimed as the renderer registered for EntityAcidTNTPrimed, and that still made the block disappear (which is the root problem for the primed rendering).

Edited by Malkierian
add unsolved
  • 2 weeks later...

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.