public class ItemMap extends ItemMapBase
Item.ToolMaterial
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>
ATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, bFull3D, canRepair, hasSubtypes, itemRand, maxStackSize, REGISTRY
delegate
Modifier | Constructor and Description |
---|---|
protected |
ItemMap() |
Modifier and Type | Method and Description |
---|---|
void |
addInformation(ItemStack stack,
World worldIn,
java.util.List<java.lang.String> tooltip,
ITooltipFlag flagIn) |
Packet<?> |
createMapDataPacket(ItemStack stack,
World worldIn,
EntityPlayer player) |
protected static void |
enableMapTracking(ItemStack p_185064_0_,
World p_185064_1_) |
static int |
getColor(ItemStack p_190907_0_) |
MapData |
getMapData(ItemStack stack,
World worldIn) |
static MapData |
loadMapData(int mapId,
World worldIn) |
void |
onCreated(ItemStack stack,
World worldIn,
EntityPlayer playerIn) |
void |
onUpdate(ItemStack stack,
World worldIn,
Entity entityIn,
int itemSlot,
boolean isSelected) |
static void |
renderBiomePreviewMap(World worldIn,
ItemStack map) |
protected static void |
scaleMap(ItemStack p_185063_0_,
World p_185063_1_,
int p_185063_2_) |
static ItemStack |
setupNewMap(World worldIn,
double worldX,
double worldZ,
byte scale,
boolean trackingPosition,
boolean unlimitedTracking) |
void |
updateMapData(World worldIn,
Entity viewer,
MapData data) |
isMap
addPropertyOverride, canApplyAtEnchantingTable, canContinueUsing, canDestroyBlockInCreative, canDisableShield, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getCreatorModId, getDamage, getDefaultInstance, getDestroySpeed, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getForgeRarity, getHarvestLevel, getHasSubtypes, getHighlightTip, getHorseArmorTexture, getHorseArmorType, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemBurnTime, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getSubItems, getTileEntityItemStackRenderer, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, getXpRepairRatio, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isInCreativeTab, isRepairable, isShield, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemRightClick, onItemUse, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUsingTick, rayTrace, readNBTShareTag, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setTileEntityItemStackRenderer, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBT
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public static ItemStack setupNewMap(World worldIn, double worldX, double worldZ, byte scale, boolean trackingPosition, boolean unlimitedTracking)
public void onUpdate(ItemStack stack, World worldIn, Entity entityIn, int itemSlot, boolean isSelected)
@Nullable public Packet<?> createMapDataPacket(ItemStack stack, World worldIn, EntityPlayer player)
createMapDataPacket
in class ItemMapBase
public void onCreated(ItemStack stack, World worldIn, EntityPlayer playerIn)
public void addInformation(ItemStack stack, @Nullable World worldIn, java.util.List<java.lang.String> tooltip, ITooltipFlag flagIn)
addInformation
in class Item
public static int getColor(ItemStack p_190907_0_)