    001    package net.minecraft.item;
    002
    003    import net.minecraft.block.Block;
    004    import net.minecraft.block.BlockAnvil;
    005
    006    public class ItemAnvilBlock extends ItemMultiTextureTile
    007    {
    008        public ItemAnvilBlock(Block par1Block)
    009        {
    010            super(par1Block.blockID - 256, par1Block, BlockAnvil.statuses);
    011        }
    012
    013        /**
    014         * Returns the metadata of the block which this Item (ItemBlock) can place
    015         */
    016        public int getMetadata(int par1)
    017        {
    018            return par1 << 2;
    019        }
    020    }