use of knightminer.ceramics.client.renderer.CisternTileEntityRenderer in project Ceramics by KnightMiner.
the class ClientEvents method setupClient.
@SubscribeEvent
static void setupClient(FMLClientSetupEvent event) {
RenderType cutout = RenderType.getCutout();
RenderTypeLookup.setRenderLayer(Registration.TERRACOTTA_GAUGE.get(), cutout);
RenderTypeLookup.setRenderLayer(Registration.PORCELAIN_GAUGE.get(), cutout);
RenderTypeLookup.setRenderLayer(Registration.TERRACOTTA_CISTERN.get(), cutout);
Registration.COLORED_CISTERN.forEach(cistern -> RenderTypeLookup.setRenderLayer(cistern, cutout));
RenderTypeLookup.setRenderLayer(Registration.TERRACOTTA_FAUCET.get(), cutout);
RenderTypeLookup.setRenderLayer(Registration.TERRACOTTA_CHANNEL.get(), cutout);
ScreenManager.registerFactory(Registration.KILN_CONTAINER.get(), KilnScreen::new);
ClientRegistry.bindTileEntityRenderer(Registration.CISTERN_TILE_ENTITY.get(), CisternTileEntityRenderer::new);
ClientRegistry.bindTileEntityRenderer(Registration.FAUCET_TILE_ENTITY.get(), FaucetTileEntityRenderer::new);
ClientRegistry.bindTileEntityRenderer(Registration.CHANNEL_TILE_ENTITY.get(), ChannelTileEntityRenderer::new);
}
Aggregations