net.minecraft.world.item

public class Item

implements ItemLike

blx
net.minecraft.world.item.Item
net.minecraft.class_1792
net.minecraft.unmapped.C_vorddnax
net.minecraft.item.Item
net.minecraft.item.Item
net.minecraft.server.v1_16_R3.Item

Field summary

Modifier and TypeField
public static final Map<Block, Item>
e
BY_BLOCK
field_8003
f_abyetwgs
BLOCK_ITEMS
field_179220_a
protected static final UUID
f
BASE_ATTACK_DAMAGE_UUID
field_8006
f_ewqskwyi
ATTACK_DAMAGE_MODIFIER_ID
field_111210_e
protected static final UUID
g
BASE_ATTACK_SPEED_UUID
field_8001
f_oajedmeb
ATTACK_SPEED_MODIFIER_ID
field_185050_h
protected static final Random
h
random
field_8005
f_wuigbjfk
RANDOM
field_77697_d
RANDOM
protected final CreativeModeTab
i
category
field_8004
f_dednzptk
group
field_77701_a
private final Rarity
a
rarity
field_8009
f_heedcfbq
rarity
field_208075_l
private final int
b
maxStackSize
field_8013
f_nvmedvkr
maxCount
field_77777_bU
maxStackSize
private final int
c
maxDamage
field_8012
f_oruslumc
maxDamage
field_77699_b
durability
private final boolean
d
isFireResistant
field_21979
f_vgorfmif
fireproof
field_234684_d_
private final Item
j
craftingRemainingItem
field_8008
f_lfoqoljh
recipeRemainder
field_77700_c
craftingResult
private String
k
descriptionId
field_8014
f_kdmqzdxr
translationKey
field_77774_bZ
name
private final FoodProperties
l
foodProperties
field_18672
f_oosslxjd
foodComponent
field_219974_q
foodInfo

Constructor summary

ModifierConstructor
public (Item$Properties settings)

Method summary

Modifier and TypeMethod
public static int
a(blx arg0)
getId(Item arg0)
method_7880(class_1792 arg0)
m_uuqggdre(C_vorddnax arg0)
getRawId(Item item)
func_150891_b(Item arg0)
getId(Item arg0)
public static Item
b(int arg0)
byId(int arg0)
method_7875(int arg0)
m_ucwrwzur(int arg0)
byRawId(int id)
func_150899_d(int arg0)
getById(int arg0)
public static Item
a(buo arg0)
byBlock(Block arg0)
method_7867(class_2248 arg0)
m_dgdssmij(C_mmxmpdoq arg0)
fromBlock(Block block)
func_150898_a(Block arg0)
getItemOf(Block arg0)
public void
a(brx arg0, aqm arg1, bmb arg2, int arg3)
onUseTick(Level arg0, LivingEntity arg1, ItemStack arg2, int arg3)
method_7852(class_1937 arg0, class_1309 arg1, class_1799 arg2, int arg3)
m_mvuvxzgn(C_cdctfzbn arg0, C_usxaxydn arg1, C_sddaxwyk arg2, int arg3)
usageTick(World world, LivingEntity user, ItemStack stack, int remainingUseTicks)
func_219972_a(World arg0, LivingEntity arg1, ItemStack arg2, int arg3)
public boolean
b(md arg0)
verifyTagAfterLoad(CompoundTag arg0)
method_7860(class_2487 arg0)
m_fdjkxleb(C_hhlwcnih arg0)
postProcessNbt(NbtCompound nbt)
func_179215_a(CompoundNBT arg0)
public boolean
a(ceh arg0, brx arg1, fx arg2, bfw arg3)
canAttackBlock(BlockState arg0, Level arg1, BlockPos arg2, Player arg3)
method_7885(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3)
m_tkohmxbq(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3)
canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner)
func_195938_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
public Item
h()
asItem()
method_8389()
m_yfekyrxa()
asItem()
func_199767_j()
getItem()
public InteractionResult
a(boa arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
m_mtceqnlj(C_yyklzime arg0)
useOnBlock(ItemUsageContext context)
func_195939_a(ItemUseContext arg0)
public float
a(bmb arg0, ceh arg1)
getDestroySpeed(ItemStack arg0, BlockState arg1)
method_7865(class_1799 arg0, class_2680 arg1)
m_nstqircw(C_sddaxwyk arg0, C_txtbiemp arg1)
getMiningSpeedMultiplier(ItemStack stack, BlockState state)
func_150893_a(ItemStack arg0, BlockState arg1)
getDestroySpeed(ItemStack arg0, IBlockData arg1)
public InteractionResultHolder<ItemStack>
a(brx arg0, bfw arg1, aot arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
m_znsmbimv(C_cdctfzbn arg0, C_jzrpycqo arg1, C_laxmzoqs arg2)
use(World world, PlayerEntity user, Hand hand)
func_77659_a(World arg0, PlayerEntity arg1, Hand arg2)
public ItemStack
a(bmb arg0, brx arg1, aqm arg2)
finishUsingItem(ItemStack arg0, Level arg1, LivingEntity arg2)
method_7861(class_1799 arg0, class_1937 arg1, class_1309 arg2)
m_knbnsgbn(C_sddaxwyk arg0, C_cdctfzbn arg1, C_usxaxydn arg2)
finishUsing(ItemStack stack, World world, LivingEntity user)
func_77654_b(ItemStack arg0, World arg1, LivingEntity arg2)
public final int
i()
getMaxStackSize()
method_7882()
m_dgwjistu()
getMaxCount()
func_77639_j()
getMaxStackSize()
public final int
j()
getMaxDamage()
method_7841()
m_chqkfzom()
getMaxDamage()
func_77612_l()
getMaxDurability()
public boolean
k()
canBeDepleted()
method_7846()
m_amwdnbpq()
isDamageable()
func_77645_m()
usesDurability()
public boolean
a(bmb arg0, aqm arg1, aqm arg2)
hurtEnemy(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
method_7873(class_1799 arg0, class_1309 arg1, class_1309 arg2)
m_plxsgnqi(C_sddaxwyk arg0, C_usxaxydn arg1, C_usxaxydn arg2)
postHit(ItemStack stack, LivingEntity target, LivingEntity attacker)
func_77644_a(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
public boolean
a(bmb arg0, brx arg1, ceh arg2, fx arg3, aqm arg4)
mineBlock(ItemStack arg0, Level arg1, BlockState arg2, BlockPos arg3, LivingEntity arg4)
method_7879(class_1799 arg0, class_1937 arg1, class_2680 arg2, class_2338 arg3, class_1309 arg4)
m_cnsoybmp(C_sddaxwyk arg0, C_cdctfzbn arg1, C_txtbiemp arg2, C_hynzadkk arg3, C_usxaxydn arg4)
postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner)
func_179218_a(ItemStack arg0, World arg1, BlockState arg2, BlockPos arg3, LivingEntity arg4)
public boolean
b(ceh arg0)
isCorrectToolForDrops(BlockState arg0)
method_7856(class_2680 arg0)
m_dnwybntd(C_txtbiemp arg0)
isSuitableFor(BlockState state)
func_150897_b(BlockState arg0)
canDestroySpecialBlock(IBlockData arg0)
public InteractionResult
a(bmb arg0, bfw arg1, aqm arg2, aot arg3)
interactLivingEntity(ItemStack arg0, Player arg1, LivingEntity arg2, InteractionHand arg3)
method_7847(class_1799 arg0, class_1657 arg1, class_1309 arg2, class_1268 arg3)
m_inqbslnb(C_sddaxwyk arg0, C_jzrpycqo arg1, C_usxaxydn arg2, C_laxmzoqs arg3)
useOnEntity(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand)
func_111207_a(ItemStack arg0, PlayerEntity arg1, LivingEntity arg2, Hand arg3)
protected String
m()
getOrCreateDescriptionId()
method_7869()
m_ptxvhcty()
getOrCreateTranslationKey()
func_195935_o()
public String
a()
getDescriptionId()
method_7876()
m_srbfwvie()
getTranslationKey()
func_77658_a()
getName()
public String
f(bmb arg0)
getDescriptionId(ItemStack arg0)
method_7866(class_1799 arg0)
m_qibylykw(C_sddaxwyk arg0)
getTranslationKey(ItemStack stack)
func_77667_c(ItemStack arg0)
public boolean
n()
shouldOverrideMultiplayerNbt()
method_7887()
m_vaqdqrmz()
shouldSyncTagToClient()
func_77651_p()
public final Item
o()
getCraftingRemainingItem()
method_7858()
m_rdxwitrr()
getRecipeRemainder()
func_77668_q()
getCraftingRemainingItem()
public boolean
p()
hasCraftingRemainingItem()
method_7857()
m_fofdychq()
hasRecipeRemainder()
func_77634_r()
public void
a(bmb arg0, brx arg1, aqa arg2, int arg3, boolean arg4)
inventoryTick(ItemStack arg0, Level arg1, Entity arg2, int arg3, boolean arg4)
method_7888(class_1799 arg0, class_1937 arg1, class_1297 arg2, int arg3, boolean arg4)
m_qqswvlkq(C_sddaxwyk arg0, C_cdctfzbn arg1, C_astfners arg2, int arg3, boolean arg4)
inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected)
func_77663_a(ItemStack arg0, World arg1, Entity arg2, int arg3, boolean arg4)
public void
b(bmb arg0, brx arg1, bfw arg2)
onCraftedBy(ItemStack arg0, Level arg1, Player arg2)
method_7843(class_1799 arg0, class_1937 arg1, class_1657 arg2)
m_fwxnsuhn(C_sddaxwyk arg0, C_cdctfzbn arg1, C_jzrpycqo arg2)
onCraft(ItemStack stack, World world, PlayerEntity player)
func_77622_d(ItemStack arg0, World arg1, PlayerEntity arg2)
public boolean
ac_()
isComplex()
method_16698()
m_gtcfvxxg()
isNetworkSynced()
func_77643_m_()
public UseAnim
d_(bmb arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
m_yvddkccr(C_sddaxwyk arg0)
getUseAction(ItemStack stack)
func_77661_b(ItemStack arg0)
public int
e_(bmb arg0)
getUseDuration(ItemStack arg0)
method_7881(class_1799 arg0)
m_hwznhtnf(C_sddaxwyk arg0)
getMaxUseTime(ItemStack stack)
func_77626_a(ItemStack arg0)
public void
a(bmb arg0, brx arg1, aqm arg2, int arg3)
releaseUsing(ItemStack arg0, Level arg1, LivingEntity arg2, int arg3)
method_7840(class_1799 arg0, class_1937 arg1, class_1309 arg2, int arg3)
m_hwkxajsh(C_sddaxwyk arg0, C_cdctfzbn arg1, C_usxaxydn arg2, int arg3)
onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks)
func_77615_a(ItemStack arg0, World arg1, LivingEntity arg2, int arg3)
public Component
h(bmb arg0)
getName(ItemStack arg0)
method_7864(class_1799 arg0)
m_rxtlbzdr(C_sddaxwyk arg0)
getName(ItemStack stack)
func_200295_i(ItemStack arg0)
public boolean
e(bmb arg0)
isFoil(ItemStack arg0)
method_7886(class_1799 arg0)
m_pppzvkhc(C_sddaxwyk arg0)
hasGlint(ItemStack stack)
func_77636_d(ItemStack arg0)
public Rarity
i(bmb arg0)
getRarity(ItemStack arg0)
method_7862(class_1799 arg0)
m_vdgwxvcg(C_sddaxwyk arg0)
getRarity(ItemStack stack)
func_77613_e(ItemStack arg0)
public boolean
f_(bmb arg0)
isEnchantable(ItemStack arg0)
method_7870(class_1799 arg0)
m_dxjqmgus(C_sddaxwyk arg0)
isEnchantable(ItemStack stack)
func_77616_k(ItemStack arg0)
protected static BlockHitResult
a(brx arg0, bfw arg1, brf$b arg2)
getPlayerPOVHitResult(Level arg0, Player arg1, ClipContext$Fluid arg2)
method_7872(class_1937 arg0, class_1657 arg1, class_3959$class_242 arg2)
m_vkltyloi(C_cdctfzbn arg0, C_jzrpycqo arg1, C_uyikqwzv$C_krdrvutw arg2)
raycast(World world, PlayerEntity player, RaycastContext$FluidHandling fluidHandling)
func_219968_a(World arg0, PlayerEntity arg1, RayTraceContext$FluidMode arg2)
public int
c()
getEnchantmentValue()
method_7837()
m_tspifhtw()
getEnchantability()
func_77619_b()
public void
a(bks arg0, gj<bmb> arg1)
fillItemCategory(CreativeModeTab arg0, NonNullList<ItemStack> arg1)
method_7850(class_1761 arg0, class_2371<class_1799> arg1)
m_vsywafjh(C_lnokcayd arg0, C_rnrfftze<C_sddaxwyk> arg1)
appendStacks(ItemGroup group, DefaultedList<ItemStack> stacks)
func_150895_a(ItemGroup arg0, NonNullList<ItemStack> arg1)
protected boolean
a(bks arg0)
allowdedIn(CreativeModeTab arg0)
method_7877(class_1761 arg0)
m_iwsnsoow(C_lnokcayd arg0)
isIn(ItemGroup group)
func_194125_a(ItemGroup arg0)
public final CreativeModeTab
q()
getItemCategory()
method_7859()
m_zydiaghn()
getGroup()
func_77640_w()
public boolean
a(bmb arg0, bmb arg1)
isValidRepairItem(ItemStack arg0, ItemStack arg1)
method_7878(class_1799 arg0, class_1799 arg1)
m_hsttveiz(C_sddaxwyk arg0, C_sddaxwyk arg1)
canRepair(ItemStack stack, ItemStack ingredient)
func_82789_a(ItemStack arg0, ItemStack arg1)
public com.google.common.collect.Multimap<Attribute, AttributeModifier>
a(aqf arg0)
getDefaultAttributeModifiers(EquipmentSlot arg0)
method_7844(class_1304 arg0)
m_xljmpsqi(C_yuycoehb arg0)
getAttributeModifiers(EquipmentSlot slot)
func_111205_h(EquipmentSlotType arg0)
public boolean
j(bmb arg0)
useOnRelease(ItemStack arg0)
method_7838(class_1799 arg0)
m_wanuqhiu(C_sddaxwyk arg0)
isUsedOnRelease(ItemStack stack)
func_219970_i(ItemStack arg0)
public ItemStack
r()
getDefaultInstance()
method_7854()
m_lthgnjiq()
getDefaultStack()
func_190903_i()
createItemStack()
public boolean
a(ael<blx> arg0)
is(Tag<Item> arg0)
method_7855(class_3494<class_1792> arg0)
m_mtflutuy(C_mokekhxv<C_vorddnax> arg0)
isIn(Tag<Item> tag)
func_206844_a(ITag<Item> arg0)
public boolean
s()
isEdible()
method_19263()
m_wfgwurwk()
isFood()
func_219971_r()
isFood()
public FoodProperties
t()
getFoodProperties()
method_19264()
m_xzfkfodv()
getFoodComponent()
func_219967_s()
getFoodInfo()
public SoundEvent
ae_()
getDrinkingSound()
method_21831()
m_vptgdmsr()
getDrinkSound()
func_225520_U__()
public SoundEvent
ad_()
getEatingSound()
method_21830()
m_ivemyxsp()
getEatSound()
func_225519_S__()
public boolean
u()
isFireResistant()
method_24358()
m_acnunvod()
isFireproof()
func_234687_u_()
public boolean
a(apk arg0)
canBeHurtBy(DamageSource arg0)
method_24357(class_1282 arg0)
m_obcnhrty(C_sbxfkpyv arg0)
damage(DamageSource source)
func_234685_a_(DamageSource arg0)
public Component
l()
getDescription()
method_7848()
m_bdsymcbv()
getName()
func_200296_o()
public void
a(bmb arg0, brx arg1, List<nr> arg2, bnl arg3)
appendHoverText(ItemStack arg0, Level arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1937 arg1, List<class_2561> arg2, class_1836 arg3)
m_vlpdhsgt(C_sddaxwyk arg0, C_cdctfzbn arg1, List<C_rdaqiwdt> arg2, C_taebrtdw arg3)
appendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context)
func_77624_a(ItemStack arg0, World arg1, List<ITextComponent> arg2, ITooltipFlag arg3)