LocomotiveRenderType.STEAM_MAGIC.registerRenderer(new LocomotiveRendererDefault("railcraft:default", "locomotive.model.steam.magic.default", new ModelLocomotiveSteamMagic()));
LocomotiveRenderType.ELECTRIC.registerRenderer(new LocomotiveRendererElectric());
ItemStack stack = LocomotiveRenderType.STEAM_SOLID.getItemWithRenderer("railcraft:default");
if (stack != null)
MinecraftForgeClient.registerItemRenderer(stack.getItem(), new RenderItemLocomotive(LocomotiveRenderType.STEAM_SOLID, (EntityLocomotive) EnumCart.LOCO_STEAM_SOLID.makeCart(stack, null, 0, 0, 0)));
stack = LocomotiveRenderType.STEAM_MAGIC.getItemWithRenderer("railcraft:default");
if (stack != null)
MinecraftForgeClient.registerItemRenderer(stack.getItem(), new RenderItemLocomotive(LocomotiveRenderType.STEAM_MAGIC, (EntityLocomotive) EnumCart.LOCO_STEAM_MAGIC.makeCart(stack, null, 0, 0, 0)));
stack = LocomotiveRenderType.ELECTRIC.getItemWithRenderer("railcraft:default");
if (stack != null)
MinecraftForgeClient.registerItemRenderer(stack.getItem(), new RenderItemLocomotive(LocomotiveRenderType.ELECTRIC, (EntityLocomotive) EnumCart.LOCO_ELECTRIC.makeCart(stack, null, 0, 0, 0)));
RenderLiquidLoader liquidLoaderRenderer = new RenderLiquidLoader();
ClientRegistry.bindTileEntitySpecialRenderer(TileLiquidLoader.class, liquidLoaderRenderer);
ClientRegistry.bindTileEntitySpecialRenderer(TileLiquidUnloader.class, liquidLoaderRenderer);