    001    package net.minecraft.item;
    002
    003    import net.minecraft.entity.player.EntityPlayer;
    004    import net.minecraft.network.packet.Packet;
    005    import net.minecraft.world.World;
    006
    007    public class ItemMapBase extends Item
    008    {
    009        protected ItemMapBase(int par1)
    010        {
    011            super(par1);
    012        }
    013
    014        /**
    015         * false for all Items except sub-classes of ItemMapBase
    016         */
    017        public boolean isMap()
    018        {
    019            return true;
    020        }
    021
    022        /**
    023         * returns null if no update is to be sent
    024         */
    025        public Packet createMapDataPacket(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
    026        {
    027            return null;
    028        }
    029    }