Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.18.2] EntityRenderers Help


DX12
 Share

Recommended Posts

I have got the renderer and model for my entity but I noticed the EntityRenderers.register method is asking for a EntityRendererProvider. I have no experience with this and just need to know how to do it.

the model is another arrow like item for something I'm working on the model was created by blockbench and everything has imported and the renderer class is also present with no errors. I just need to know how to add the Renderer into the game.

 

If you need more info then I'm happy to provide it

Link to comment
Share on other sites

Entity renderers must be registered using EntityRenderersEvent.RegisterRenderers#registerEntityRenderer.

EntityRendererProvider is simply a factory interface for your renderer. Minecraft will call it to create the instance of your renderer.

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
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.

 Share



×
×
  • Create New...

Important Information

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