public class FilledMapItem extends AbstractMapItem
Item.Properties
ATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, BLOCK_TO_ITEM, canRepair, group, properties, random
delegate
Constructor and Description |
---|
FilledMapItem(Item.Properties builder) |
Modifier and Type | Method and Description |
---|---|
void |
addInformation(ItemStack stack,
World worldIn,
java.util.List<ITextComponent> tooltip,
ITooltipFlag flagIn) |
static ItemStack |
func_219992_b(World p_219992_0_,
ItemStack p_219992_1_) |
static java.lang.String |
func_219993_a(int p_219993_0_) |
static MapData |
func_219994_a(ItemStack p_219994_0_,
World p_219994_1_) |
static int |
getColor(ItemStack p_190907_0_) |
protected MapData |
getCustomMapData(ItemStack stack,
World worldIn) |
static MapData |
getMapData(ItemStack stack,
World worldIn) |
static int |
getMapId(ItemStack stack) |
IPacket<?> |
getUpdatePacket(ItemStack stack,
World worldIn,
PlayerEntity player) |
void |
inventoryTick(ItemStack stack,
World worldIn,
Entity entityIn,
int itemSlot,
boolean isSelected) |
void |
onCreated(ItemStack stack,
World worldIn,
PlayerEntity playerIn) |
ActionResultType |
onItemUse(ItemUseContext context) |
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,
int worldX,
int worldZ,
byte scale,
boolean trackingPosition,
boolean unlimitedTracking) |
void |
updateMapData(World worldIn,
Entity viewer,
MapData data) |
isComplex
addPropertyOverride, asItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, fillItemGroup, func_219972_a, getAttributeModifiers, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getFood, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemEnchantability, getItemFromBlock, getMaxDamage, getMaxStackSize, getName, getPropertyGetter, getRarity, getTags, getTileEntityItemStackRenderer, getToolTypes, getTranslationKey, getTranslationKey, getUseAction, getUseDuration, hasContainerItem, hasCustomProperties, hasEffect, hitEntity, isCrossbow, isDamageable, isEnchantable, isFood, isIn, isInGroup, isRepairable, itemInteractionForEntity, onBlockDestroyed, onItemRightClick, onItemUseFinish, onPlayerStoppedUsing, rayTrace, shouldSyncTag, toString, updateItemStackNBT
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canEquip, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, 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, showDurabilityBar
public FilledMapItem(Item.Properties builder)
public static ItemStack setupNewMap(World worldIn, int worldX, int worldZ, byte scale, boolean trackingPosition, boolean unlimitedTracking)
@Nullable public static MapData func_219994_a(ItemStack p_219994_0_, World p_219994_1_)
public static int getMapId(ItemStack stack)
public static java.lang.String func_219993_a(int p_219993_0_)
public void inventoryTick(ItemStack stack, World worldIn, Entity entityIn, int itemSlot, boolean isSelected)
inventoryTick
in class Item
@Nullable public IPacket<?> getUpdatePacket(ItemStack stack, World worldIn, PlayerEntity player)
getUpdatePacket
in class AbstractMapItem
public void onCreated(ItemStack stack, World worldIn, PlayerEntity playerIn)
@Nullable public static ItemStack func_219992_b(World p_219992_0_, ItemStack p_219992_1_)
public void addInformation(ItemStack stack, @Nullable World worldIn, java.util.List<ITextComponent> tooltip, ITooltipFlag flagIn)
addInformation
in class Item
public static int getColor(ItemStack p_190907_0_)
public ActionResultType onItemUse(ItemUseContext context)