net.minecraft.server.v1_14_R1

public final class ItemStack

bce
net.minecraft.class_1799
net.minecraft.item.ItemStack
net.minecraft.item.ItemStack
net.minecraft.server.v1_14_R1.ItemStack

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
c
field_8033
LOGGER
field_199558_c
public static final ItemStack
a
field_8037
EMPTY
field_190927_a
public static final DecimalFormat
b
field_8029
MODIFIER_FORMAT
field_111284_a
private int
d
field_8031
count
field_77994_a
count
private int
e
field_8030
cooldown
field_77992_b
private final Item
f
field_8038
item
field_151002_e
item
private NBTTagCompound
g
field_8040
tag
field_77990_d
tag
private boolean
h
field_8036
empty
field_190928_g
private EntityItemFrame
i
field_8041
frame
field_82843_f
private ShapeDetectorBlock
j
field_8039
lastDestroyPos
field_179552_h
private boolean
k
field_8035
lastDestroyResult
field_179553_i
private ShapeDetectorBlock
l
field_8032
lastPlaceOnPos
field_179550_j
private boolean
m
field_8034
lastPlaceOnResult
field_179551_k

Constructor summary

ModifierConstructor
public (IMaterial arg0)
public (IMaterial arg0, int arg1)
private (NBTTagCompound arg0)

Method summary

Modifier and TypeMethod
private static DecimalFormat
F()
method_7931()
createModifierFormat()
func_208306_D()
private void
G()
method_7957()
updateEmptyState()
func_190923_F()
checkEmpty()
public static ItemStack
a(ic arg0)
method_7915(class_2487 arg0)
fromTag(CompoundTag arg0)
func_199557_a(CompoundNBT arg0)
public boolean
a()
method_7960()
isEmpty()
func_190926_b()
isEmpty()
public ItemStack
a(int arg0)
method_7971(int arg0)
split(int arg0)
func_77979_a(int arg0)
cloneAndSubtract(int arg0)
public Item
b()
method_7909()
getItem()
func_77973_b()
getItem()
public EnumInteractionResult
a(bdp arg0)
method_7981(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
func_196084_a(ItemUseContext arg0)
placeItem(ItemActionContext arg0)
public float
a(bvo arg0)
method_7924(class_2680 arg0)
getMiningSpeed(BlockState arg0)
func_150997_a(BlockState arg0)
public InteractionResultWrapper<ItemStack>
a(bhm arg0, awb arg1, ahf arg2)
method_7913(class_1937 arg0, class_1657 arg1, class_1268 arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
func_77957_a(World arg0, PlayerEntity arg1, Hand arg2)
public ItemStack
a(bhm arg0, aiu arg1)
method_7910(class_1937 arg0, class_1309 arg1)
finishUsing(World arg0, LivingEntity arg1)
func_77950_b(World arg0, LivingEntity arg1)
public NBTTagCompound
b(ic arg0)
method_7953(class_2487 arg0)
toTag(CompoundTag arg0)
func_77955_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
public int
c()
method_7914()
getMaxCount()
func_77976_d()
getMaxStackSize()
public boolean
d()
method_7946()
isStackable()
func_77985_e()
isStackable()
public boolean
e()
method_7963()
isDamageable()
func_77984_f()
public boolean
f()
method_7986()
isDamaged()
func_77951_h()
public int
g()
method_7919()
getDamage()
func_77952_i()
getDamage()
public void
b(int arg0)
method_7974(int arg0)
setDamage(int arg0)
func_196085_b(int arg0)
setDamage(int arg0)
public int
h()
method_7936()
getMaxDamage()
func_77958_k()
public boolean
a(int arg0, Random arg1, vj arg2)
method_7970(int arg0, Random arg1, class_3222 arg2)
damage(int arg0, Random arg1, ServerPlayerEntity arg2)
func_96631_a(int arg0, Random arg1, ServerPlayerEntity arg2)
isDamaged(int arg0, Random arg1, EntityPlayer arg2)
public <T extends EntityLiving> void
a(int arg0, T arg1, Consumer<T> arg2)
method_7956(int arg0, T arg1, Consumer<T> arg2)
damage(int arg0, T arg1, Consumer<T> arg2)
func_222118_a(int arg0, T arg1, Consumer<T> arg2)
damage(int arg0, T arg1, Consumer<T> arg2)
public void
a(aiu arg0, awb arg1)
method_7979(class_1309 arg0, class_1657 arg1)
postHit(LivingEntity arg0, PlayerEntity arg1)
func_77961_a(LivingEntity arg0, PlayerEntity arg1)
public void
a(bhm arg0, bvo arg1, ev arg2, awb arg3)
method_7952(class_1937 arg0, class_2680 arg1, class_2338 arg2, class_1657 arg3)
postMine(World arg0, BlockState arg1, BlockPos arg2, PlayerEntity arg3)
func_179548_a(World arg0, BlockState arg1, BlockPos arg2, PlayerEntity arg3)
public boolean
b(bvo arg0)
method_7951(class_2680 arg0)
isEffectiveOn(BlockState arg0)
func_150998_b(BlockState arg0)
public boolean
a(awb arg0, aiu arg1, ahf arg2)
method_7920(class_1657 arg0, class_1309 arg1, class_1268 arg2)
useOnEntity(PlayerEntity arg0, LivingEntity arg1, Hand arg2)
func_111282_a(PlayerEntity arg0, LivingEntity arg1, Hand arg2)
public ItemStack
i()
method_7972()
copy()
func_77946_l()
cloneItemStack()
public static boolean
a(bce arg0, bce arg1)
method_7975(class_1799 arg0, class_1799 arg1)
areTagsEqual(ItemStack arg0, ItemStack arg1)
func_77970_a(ItemStack arg0, ItemStack arg1)
equals(ItemStack arg0, ItemStack arg1)
public static boolean
b(bce arg0, bce arg1)
method_7973(class_1799 arg0, class_1799 arg1)
areEqualIgnoreDamage(ItemStack arg0, ItemStack arg1)
func_77989_b(ItemStack arg0, ItemStack arg1)
matches(ItemStack arg0, ItemStack arg1)
private boolean
c(bce arg0)
method_7968(class_1799 arg0)
isEqualIgnoreDamage(ItemStack arg0)
func_77959_d(ItemStack arg0)
public static boolean
c(bce arg0, bce arg1)
method_7984(class_1799 arg0, class_1799 arg1)
areItemsEqualIgnoreDamage(ItemStack arg0, ItemStack arg1)
func_179545_c(ItemStack arg0, ItemStack arg1)
public static boolean
d(bce arg0, bce arg1)
method_7987(class_1799 arg0, class_1799 arg1)
areItemsEqual(ItemStack arg0, ItemStack arg1)
func_185132_d(ItemStack arg0, ItemStack arg1)
public boolean
a(bce arg0)
method_7962(class_1799 arg0)
isItemEqualIgnoreDamage(ItemStack arg0)
func_77969_a(ItemStack arg0)
doMaterialsMatch(ItemStack arg0)
public boolean
b(bce arg0)
method_7929(class_1799 arg0)
isItemEqual(ItemStack arg0)
func_185136_b(ItemStack arg0)
public String
j()
method_7922()
getTranslationKey()
func_77977_a()
public void
a(bhm arg0, ail arg1, int arg2, boolean arg3)
method_7917(class_1937 arg0, class_1297 arg1, int arg2, boolean arg3)
inventoryTick(World arg0, Entity arg1, int arg2, boolean arg3)
func_77945_a(World arg0, Entity arg1, int arg2, boolean arg3)
public void
a(bhm arg0, awb arg1, int arg2)
method_7982(class_1937 arg0, class_1657 arg1, int arg2)
onCraft(World arg0, PlayerEntity arg1, int arg2)
func_77980_a(World arg0, PlayerEntity arg1, int arg2)
public int
k()
method_7935()
getMaxUseTime()
func_77988_m()
public EnumAnimation
l()
method_7976()
getUseAction()
func_77975_n()
public void
a(bhm arg0, aiu arg1, int arg2)
method_7930(class_1937 arg0, class_1309 arg1, int arg2)
onStoppedUsing(World arg0, LivingEntity arg1, int arg2)
func_77974_b(World arg0, LivingEntity arg1, int arg2)
public boolean
m()
method_7967()
isUsedOnRelease()
func_222122_m()
public boolean
n()
method_7985()
hasTag()
func_77942_o()
hasTag()
public NBTTagCompound
o()
method_7969()
getTag()
func_77978_p()
getTag()
public NBTTagCompound
p()
method_7948()
getOrCreateTag()
func_196082_o()
getOrCreateTag()
public NBTTagCompound
a(String arg0)
method_7911(String arg0)
getOrCreateSubTag(String arg0)
func_190925_c(String arg0)
public NBTTagCompound
b(String arg0)
method_7941(String arg0)
getSubTag(String arg0)
func_179543_a(String arg0)
public void
c(String arg0)
method_7983(String arg0)
removeSubTag(String arg0)
func_196083_e(String arg0)
removeTag(String arg0)
public NBTTagList
q()
method_7921()
getEnchantments()
func_77986_q()
getEnchantments()
public void
c(ic arg0)
method_7980(class_2487 arg0)
setTag(CompoundTag arg0)
func_77982_d(CompoundNBT arg0)
setTag(NBTTagCompound arg0)
public IChatBaseComponent
r()
method_7964()
getName()
func_200301_q()
getName()
public ItemStack
a(jn arg0)
method_7977(class_2561 arg0)
setCustomName(Text arg0)
func_200302_a(ITextComponent arg0)
public void
s()
method_7925()
removeCustomName()
func_135074_t()
public boolean
t()
method_7938()
hasCustomName()
func_82837_s()
hasName()
public EnumItemRarity
v()
method_7932()
getRarity()
func_77953_t()
public boolean
w()
method_7923()
isEnchantable()
func_77956_u()
canEnchant()
public void
a(bfn arg0, int arg1)
method_7978(class_1887 arg0, int arg1)
addEnchantment(Enchantment arg0, int arg1)
func_77966_a(Enchantment arg0, int arg1)
addEnchantment(Enchantment arg0, int arg1)
public boolean
x()
method_7942()
hasEnchantments()
func_77948_v()
hasEnchantments()
public void
a(String arg0, it arg1)
method_7959(String arg0, class_2520 arg1)
putSubTag(String arg0, Tag arg1)
func_77983_a(String arg0, INBT arg1)
public boolean
y()
method_7961()
isInFrame()
func_82839_y()
public void
a(ati arg0)
method_7943(class_1533 arg0)
setFrame(ItemFrameEntity arg0)
func_82842_a(ItemFrameEntity arg0)
public EntityItemFrame
z()
method_7945()
getFrame()
func_82836_z()
public int
A()
method_7928()
getRepairCost()
func_82838_A()
getRepairCost()
public void
c(int arg0)
method_7927(int arg0)
setRepairCost(int arg0)
func_82841_c(int arg0)
setRepairCost(int arg0)
public com.google.common.collect.Multimap<String, AttributeModifier>
a(aiq arg0)
method_7926(class_1304 arg0)
getAttributeModifiers(EquipmentSlot arg0)
func_111283_C(EquipmentSlotType arg0)
public void
a(String arg0, ajm arg1, aiq arg2)
method_7916(String arg0, class_1322 arg1, class_1304 arg2)
addAttributeModifier(String arg0, EntityAttributeModifier arg1, EquipmentSlot arg2)
func_185129_a(String arg0, AttributeModifier arg1, EquipmentSlotType arg2)
public IChatBaseComponent
B()
method_7954()
toHoverableText()
func_151000_E()
private static boolean
a(bvs arg0, bvs arg1)
method_7918(class_2694 arg0, class_2694 arg1)
areBlocksEqual(CachedBlockPosition arg0, CachedBlockPosition arg1)
func_206846_a(CachedBlockInfo arg0, CachedBlockInfo arg1)
public boolean
a(zg arg0, bvs arg1)
method_7940(class_3505 arg0, class_2694 arg1)
canDestroy(RegistryTagManager arg0, CachedBlockPosition arg1)
func_206848_a(NetworkTagManager arg0, CachedBlockInfo arg1)
public boolean
b(zg arg0, bvs arg1)
method_7944(class_3505 arg0, class_2694 arg1)
canPlaceOn(RegistryTagManager arg0, CachedBlockPosition arg1)
func_206847_b(NetworkTagManager arg0, CachedBlockInfo arg1)
public int
C()
method_7965()
getCooldown()
func_190921_D()
public void
d(int arg0)
method_7912(int arg0)
setCooldown(int arg0)
func_190915_d(int arg0)
public int
D()
method_7947()
getCount()
func_190916_E()
getCount()
public void
e(int arg0)
method_7939(int arg0)
setCount(int arg0)
func_190920_e(int arg0)
setCount(int arg0)
public void
f(int arg0)
method_7933(int arg0)
increment(int arg0)
func_190917_f(int arg0)
add(int arg0)
public void
g(int arg0)
method_7934(int arg0)
decrement(int arg0)
func_190918_g(int arg0)
subtract(int arg0)
public void
b(bhm arg0, aiu arg1, int arg2)
method_7949(class_1937 arg0, class_1309 arg1, int arg2)
usageTick(World arg0, LivingEntity arg1, int arg2)
func_222121_b(World arg0, LivingEntity arg1, int arg2)
public boolean
E()
method_19267()
isFood()
func_222117_E()
public List<IChatBaseComponent>
a(awb arg0, bdm arg1)
method_7950(class_1657 arg0, class_1836 arg1)
getTooltip(PlayerEntity arg0, TooltipContext arg1)
func_82840_a(PlayerEntity arg0, ITooltipFlag arg1)
public static void
a(List<jn> arg0, ij arg1)
method_17870(List<class_2561> arg0, class_2499 arg1)
appendEnchantments(List<Text> arg0, ListTag arg1)
func_222120_a(List<ITextComponent> arg0, ListNBT arg1)
private static Collection<IChatBaseComponent>
d(String arg0)
method_7937(String arg0)
parseBlockTag(String arg0)
func_206845_f(String arg0)
public boolean
u()
method_7958()
hasEnchantmentGlint()
func_77962_s()