public class ItemMap extends ItemMapBase
Item.ToolMaterialIForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>ATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, bFull3D, canRepair, hasSubtypes, itemRand, maxStackSize, REGISTRYdelegate| Modifier | Constructor and Description |
|---|---|
protected |
ItemMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(ItemStack stack,
EntityPlayer playerIn,
java.util.List<java.lang.String> tooltip,
boolean advanced)
allows items to add custom lines of information to the mouseover description
|
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)
Called when item is crafted/smelted.
|
void |
onUpdate(ItemStack stack,
World worldIn,
Entity entityIn,
int itemSlot,
boolean isSelected)
Called each tick as long the item is on a player inventory.
|
static void |
renderBiomePreviewMap(World p_190905_0_,
ItemStack p_190905_1_) |
protected static void |
scaleMap(ItemStack p_185063_0_,
World p_185063_1_,
int p_185063_2_) |
static ItemStack |
setupNewMap(World p_190906_0_,
double p_190906_1_,
double p_190906_3_,
byte p_190906_5_,
boolean p_190906_6_,
boolean p_190906_7_) |
void |
updateMapData(World worldIn,
Entity viewer,
MapData data) |
isMapaddPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDefaultInstance, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getStrVsBlock, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemRightClick, onItemUse, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic static ItemStack setupNewMap(World p_190906_0_, double p_190906_1_, double p_190906_3_, byte p_190906_5_, boolean p_190906_6_, boolean p_190906_7_)
public static void renderBiomePreviewMap(World p_190905_0_, ItemStack p_190905_1_)
public void onUpdate(ItemStack stack, World worldIn, Entity entityIn, int itemSlot, boolean isSelected)
public Packet<?> createMapDataPacket(ItemStack stack, World worldIn, EntityPlayer player)
createMapDataPacket in class ItemMapBasepublic void onCreated(ItemStack stack, World worldIn, EntityPlayer playerIn)
public void addInformation(ItemStack stack, EntityPlayer playerIn, java.util.List<java.lang.String> tooltip, boolean advanced)
addInformation in class Itempublic static int getColor(ItemStack p_190907_0_)