Skip to content

Instantly share code, notes, and snippets.

@TheXFactor117
Created July 23, 2016 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheXFactor117/040bcc857240ff6c2adf26061b8c0152 to your computer and use it in GitHub Desktop.
Save TheXFactor117/040bcc857240ff6c2adf26061b8c0152 to your computer and use it in GitHub Desktop.
RenderingRegistry.registerEntityRenderingHandler(YourEntityClass.class, new IRenderFactory()
{
@Override
public Render<? super YourEntityClass> createRenderFor(RenderManager manager)
{
return new YourEntityRender(manager);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment