use of com.builtbroken.mc.client.json.render.tile.TileRenderHandler in project Engine by VoltzEngine-Project.
the class ClientProxy method init.
@Override
public void init() {
super.init();
RenderingRegistry.registerEntityRenderingHandler(EntityExCreeper.class, new RenderExCreeper());
if (Engine.multiBlock != null) {
RenderingRegistry.registerBlockHandler(MultiBlockRenderHelper.INSTANCE);
}
TileRenderHandler tileRenderHandler = new TileRenderHandler();
for (RenderData data : ClientDataHandler.INSTANCE.renderData.values()) {
if (data instanceof TileRenderData && ((TileRenderData) data).tileClass != null) {
ClientRegistry.bindTileEntitySpecialRenderer(((TileRenderData) data).tileClass, tileRenderHandler);
}
}
}
Aggregations