Jump to content

[Solved] Registering renderers with forge


Murloc992

Recommended Posts

Hello, this is my first post in forge forums, don't be harsh on me. :)

 

So, comming from Risugamis' ModLoader to forge didn't seem much of a difference to me in coding style, but it is way easier just to manage client/server code, because of them being connected together. The only difference I've seen for now, is in adding a new Entity. I registered it, added to spawn, but standard ModLoader addRenderer(Map map) code didn't work, but more strangely, entity worked by itself, without defining a renderer nor a model. (Gladly I've got a BiPed model for my test Pigman entity, so it was fine, but still creepy.)

 

Can somebody guide me in this situation? What I am supposed to do? Is there something new about Forge and renderers? I've been searching about it entire day (literally, 12 hours) but all I've got was ordinary modloader method.

 

Hope you can help me.

Link to comment
Share on other sites

Sadly, GameRegistry didn't give me any luck just because it doesn't contain any Render/Entity related functions apart from TileEntity registration.. :/

 

Edit: Thank you! You've guided me in the right direction, Forge Registry classes were what I needed, thanks given. :)

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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