    001package net.minecraft.client.entity.render;
    002
    003import cpw.mods.fml.relauncher.Side;
    004import cpw.mods.fml.relauncher.SideOnly;
    005import net.minecraft.block.Block;
    006import net.minecraft.client.renderer.entity.RenderMinecart;
    007import net.minecraft.client.renderer.tileentity.TileEntityMobSpawnerRenderer;
    008import net.minecraft.entity.ai.EntityMinecartMobSpawner;
    009import net.minecraft.entity.item.EntityMinecart;
    010
    011@SideOnly(Side.CLIENT)
    012public class RenderMinecartMobSpawner extends RenderMinecart
    013{
    014    protected void func_98192_a(EntityMinecartMobSpawner par1EntityMinecartMobSpawner, float par2, Block par3Block, int par4)
    015    {
    016        super.func_94144_a(par1EntityMinecartMobSpawner, par2, par3Block, par4);
    017
    018        if (par3Block == Block.mobSpawner)
    019        {
    020            TileEntityMobSpawnerRenderer.func_98144_a(par1EntityMinecartMobSpawner.func_98039_d(), par1EntityMinecartMobSpawner.posX, par1EntityMinecartMobSpawner.posY, par1EntityMinecartMobSpawner.posZ, par2);
    021        }
    022    }
    023
    024    protected void func_94144_a(EntityMinecart par1EntityMinecart, float par2, Block par3Block, int par4)
    025    {
    026        this.func_98192_a((EntityMinecartMobSpawner)par1EntityMinecart, par2, par3Block, par4);
    027    }
    028}