    001package net.minecraft.entity.item;
    002
    003import net.minecraft.block.Block;
    004import net.minecraft.util.DamageSource;
    005import net.minecraft.world.World;
    006
    007public class EntityMinecartChest extends EntityMinecartContainer
    008{
    009    public EntityMinecartChest(World par1World)
    010    {
    011        super(par1World);
    012    }
    013
    014    public EntityMinecartChest(World par1, double par2, double par4, double par6)
    015    {
    016        super(par1, par2, par4, par6);
    017    }
    018
    019    public void func_94095_a(DamageSource par1DamageSource)
    020    {
    021        super.func_94095_a(par1DamageSource);
    022        this.dropItemWithOffset(Block.chest.blockID, 1, 0.0F);
    023    }
    024
    025    /**
    026     * Returns the number of slots in the inventory.
    027     */
    028    public int getSizeInventory()
    029    {
    030        return 27;
    031    }
    032
    033    public int func_94087_l()
    034    {
    035        return 1;
    036    }
    037
    038    public Block func_94093_n()
    039    {
    040        return Block.chest;
    041    }
    042
    043    public int func_94085_r()
    044    {
    045        return 8;
    046    }
    047}