public class ItemMap extends ItemMapBase
Item.PropertiesATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, BLOCK_TO_ITEM, canRepair, group, properties, randomdelegate| Constructor and Description |
|---|
ItemMap(Item.Properties builder) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
static int |
getColor(ItemStack p_190907_0_) |
protected MapData |
getCustomMapData(ItemStack p_195950_0_,
World p_195950_1_) |
static MapData |
getMapData(ItemStack p_195950_0_,
World p_195950_1_) |
static int |
getMapId(ItemStack p_195949_0_) |
Packet<?> |
getUpdatePacket(ItemStack stack,
World worldIn,
EntityPlayer player) |
void |
inventoryTick(ItemStack stack,
World worldIn,
Entity entityIn,
int itemSlot,
boolean isSelected) |
static MapData |
loadMapData(IWorld worldIn,
java.lang.String mapId) |
void |
onCreated(ItemStack stack,
World worldIn,
EntityPlayer playerIn) |
EnumActionResult |
onItemUse(ItemUseContext p_195939_1_) |
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 p_195952_0_,
int p_195952_1_,
int p_195952_2_,
byte p_195952_3_,
boolean p_195952_4_,
boolean p_195952_5_) |
void |
updateMapData(World worldIn,
Entity viewer,
MapData data) |
isComplexaddPropertyOverride, asItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, fillItemGroup, getAttributeModifiers, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemEnchantability, getItemFromBlock, getMaxDamage, getMaxStackSize, getName, getPropertyGetter, getRarity, getShareTag, getTileEntityItemStackRenderer, getToolTypes, getTranslationKey, getTranslationKey, getUseAction, getUseDuration, hasContainerItem, hasCustomProperties, hasEffect, hitEntity, isDamageable, isEnchantable, isIn, isInGroup, isRepairable, itemInteractionForEntity, onBlockDestroyed, onItemRightClick, onItemUseFinish, onPlayerStoppedUsing, rayTrace, register, registerItems, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canEquip, canHarvestBlock, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getHorseArmorType, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamaged, isShield, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic ItemMap(Item.Properties builder)
public static ItemStack setupNewMap(World p_195952_0_, int p_195952_1_, int p_195952_2_, byte p_195952_3_, boolean p_195952_4_, boolean p_195952_5_)
@Nullable protected MapData getCustomMapData(ItemStack p_195950_0_, World p_195950_1_)
public static int getMapId(ItemStack p_195949_0_)
public void inventoryTick(ItemStack stack, World worldIn, Entity entityIn, int itemSlot, boolean isSelected)
inventoryTick in class Item@Nullable public Packet<?> getUpdatePacket(ItemStack stack, World worldIn, EntityPlayer player)
getUpdatePacket in class ItemMapBasepublic void onCreated(ItemStack stack, World worldIn, EntityPlayer playerIn)
public void addInformation(ItemStack stack, @Nullable World worldIn, java.util.List<ITextComponent> tooltip, ITooltipFlag flagIn)
addInformation in class Itempublic static int getColor(ItemStack p_190907_0_)
public EnumActionResult onItemUse(ItemUseContext p_195939_1_)