    001package net.minecraft.item;
    002
    003import net.minecraft.entity.player.EntityPlayer;
    004import net.minecraft.network.packet.Packet;
    005import net.minecraft.world.World;
    006
    007public 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}