use of slimeknights.tconstruct.smeltery.client.screen.AlloyerScreen in project TinkersConstruct by SlimeKnights.
the class SmelteryClientEvents method clientSetup.
@SubscribeEvent
static void clientSetup(final FMLClientSetupEvent event) {
// render layers
RenderType cutout = RenderType.cutout();
// seared
// casting
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.searedFaucet.get(), cutout);
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.searedBasin.get(), cutout);
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.searedTable.get(), cutout);
// controller
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.searedMelter.get(), cutout);
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.smelteryController.get(), cutout);
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.foundryController.get(), cutout);
// peripherals
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.searedDrain.get(), cutout);
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.searedDuct.get(), cutout);
TinkerSmeltery.searedTank.forEach(tank -> ItemBlockRenderTypes.setRenderLayer(tank, cutout));
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.searedLantern.get(), cutout);
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.searedGlass.get(), cutout);
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.searedGlassPane.get(), cutout);
// scorched
// casting
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.scorchedFaucet.get(), cutout);
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.scorchedBasin.get(), cutout);
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.scorchedTable.get(), cutout);
// controller
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.scorchedAlloyer.get(), cutout);
// peripherals
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.scorchedDrain.get(), cutout);
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.scorchedDuct.get(), cutout);
TinkerSmeltery.scorchedTank.forEach(tank -> ItemBlockRenderTypes.setRenderLayer(tank, cutout));
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.scorchedLantern.get(), cutout);
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.scorchedGlass.get(), cutout);
ItemBlockRenderTypes.setRenderLayer(TinkerSmeltery.scorchedGlassPane.get(), cutout);
// screens
MenuScreens.register(TinkerSmeltery.melterContainer.get(), MelterScreen::new);
MenuScreens.register(TinkerSmeltery.smelteryContainer.get(), HeatingStructureScreen::new);
MenuScreens.register(TinkerSmeltery.singleItemContainer.get(), new SingleItemScreenFactory());
MenuScreens.register(TinkerSmeltery.alloyerContainer.get(), AlloyerScreen::new);
}
Aggregations