Jump to content

[1.7.10] Entity incorrectly rendering, doesn't use model requested


Recommended Posts

Posted

Hi, i am trying to render my entity, but when it renders, it is a white box and not the model i provided.

 

The entity will be shot when i right click an item.

 

How can i fix this so it uses my model i want it to use?

 

EntityFireball:

 

  Reveal hidden contents

 

 

RenderFireball:

 

  Reveal hidden contents

 

 

ModelFireball:

 

  Reveal hidden contents

 

 

 

baseMod file:

 

  Reveal hidden contents

 

 

ClientProxy:

 

  Reveal hidden contents

 

 

Item:

 

  Reveal hidden contents

 

Posted

Hi

 

Sounds like your renderer isn't registered.

Do you call proxy.registerRenderThings()  anywhere?

 

You can test by putting System.out.println("reached..."); at appropriate points in your code.  In particular in the rendering code soRender - if it's called, you have a rendering problem.  If it's not called, you probably have an entity renderer registration problem.

 

-TGG

 

Posted

Ok, so i called the wrong method in my baseMod file, so now it calls proxy.registerRenderThings() , but i still just get a white box when it renders...

Posted

Methods don't get called magically. Only one of your init/preinit methods has @EventHandler. Put it in front of the other ones too.

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

Posted

now when i launch minecraft, i get this error:

error:

  Reveal hidden contents

 

 

Enitity registering class:

 

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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