use of ladysnake.gaspunk.client.render.entity.LayerBelt in project Gaspunk by Ladysnake.
the class ClientProxy method postInit.
@Override
public void postInit() {
super.postInit();
Minecraft.getMinecraft().getItemColors().registerItemColorHandler(((stack, tintIndex) -> tintIndex == 0 ? ItemGasTube.getContainedGas(stack).getBottleColor() : Color.WHITE.getRGB()), ModItems.GAS_TUBE, ModItems.GRENADE);
if (Loader.isModLoaded("baubles"))
Minecraft.getMinecraft().getRenderManager().getSkinMap().forEach((s, render) -> render.addLayer(new LayerBelt()));
}
Aggregations