net.minecraft.world.item

public final class ItemStack

implements DataComponentHolder

cxp
net.minecraft.world.item.ItemStack
net.minecraft.class_1799
net.minecraft.unmapped.C_sddaxwyk
net.minecraft.item.ItemStack
net.minecraft.item.ItemStack
net.minecraft.src.C_1391_
net.minecraft.world.item.ItemStack

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<ItemStack>
a
CODEC
field_24671
f_tqvryqzt
CODEC
CODEC
f_41582_
public static final com.mojang.serialization.Codec<ItemStack>
b
SINGLE_ITEM_CODEC
field_49747
f_aasxeeyb
UNCOUNTED_CODEC
f_302992_
public static final com.mojang.serialization.Codec<ItemStack>
c
STRICT_CODEC
field_51397
f_gwlvilfo
VALIDATED_CODEC
f_315780_
public static final com.mojang.serialization.Codec<ItemStack>
d
STRICT_SINGLE_ITEM_CODEC
field_51398
f_lpaemjik
VALIDATED_UNCOUNTED_CODEC
f_316270_
public static final com.mojang.serialization.Codec<ItemStack>
e
OPTIONAL_CODEC
field_49266
f_duuhtyre
OPTIONAL_CODEC
f_316315_
public static final com.mojang.serialization.Codec<ItemStack>
f
SIMPLE_ITEM_CODEC
field_49267
f_rrbqzuyq
REGISTRY_ENTRY_CODEC
SIMPLE_ITEM_CODEC
f_315943_
public static final StreamCodec<RegistryFriendlyByteBuf, ItemStack>
g
OPTIONAL_STREAM_CODEC
field_49268
f_iboyubuh
OPTIONAL_PACKET_CODEC
OPTIONAL_PACKET_CODEC
f_314979_
public static final StreamCodec<RegistryFriendlyByteBuf, ItemStack>
h
STREAM_CODEC
field_48349
f_bnghiwgu
PACKET_CODEC
PACKET_CODEC
f_315801_
public static final StreamCodec<RegistryFriendlyByteBuf, List<ItemStack>>
i
OPTIONAL_LIST_STREAM_CODEC
field_49269
f_eculldrq
OPTIONAL_LIST_PACKET_CODEC
f_315592_
private static final org.slf4j.Logger
k
LOGGER
field_8033
f_ohakxxel
LOGGER
LOGGER
f_41585_
public static final ItemStack
j
EMPTY
field_8037
f_lrxqoedj
EMPTY
EMPTY
f_41583_
private static final Component
l
DISABLED_ITEM_TOOLTIP
field_40211
f_ygsunlnh
DISABLED_TEXT
DISABLED
f_243862_
private int
m
count
field_8031
f_llcklqth
count
count
f_41587_
private int
n
popTime
field_8030
f_lxaedfnb
bobbingAnimationTime
cooldown
f_41588_
private final Item
o
item
field_8038
f_eqmyksbs
item
item
f_41589_
final PatchedDataComponentMap
p
components
field_49270
f_bgqyysyj
components
components
f_315342_
private Entity
q
entityRepresentation
field_24093
f_zbdizxtz
holder
holder
f_41592_

Constructor summary

ModifierConstructor
public (ItemLike item)
public (Holder<Item> entry)
public (Holder<Item> item, int count, DataComponentPatch changes)
public (Holder<Item> itemEntry, int count)
public (ItemLike item, int count)
private (ItemLike item, int count, PatchedDataComponentMap components)
private (Void v)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<ItemStack>
c(cxp arg0)
validateStrict(ItemStack arg0)
method_57372(class_1799 arg0)
m_olrjfwfo(C_sddaxwyk arg0)
validate(ItemStack stack)
validate(ItemStack stack)
m_323584_(C_1391_ p_332181_)
public static StreamCodec<RegistryFriendlyByteBuf, ItemStack>
a(zt<xg, cxp> arg0)
validatedStreamCodec(StreamCodec<RegistryFriendlyByteBuf, ItemStack> arg0)
method_59693(class_9139<class_9129, class_1799> arg0)
m_iewylrep(C_qsrmwluu<C_bngyzsts, C_sddaxwyk> arg0)
createExtraValidatingPacketCodec(PacketCodec<RegistryByteBuf, ItemStack> basePacketCodec)
m_iewylrep(PacketCodec<RegistryByteBuf, ItemStack> packetCodec)
m_319263_(C_313866_<C_313350_, C_1391_> p_332790_)
public Optional<TooltipComponent>
b()
getTooltipImage()
method_32347()
m_mwcbjbmu()
getTooltipData()
getTooltipData()
m_150921_()
public DataComponentMap
a()
getComponents()
method_57353()
m_eutadtlw()
getComponents()
getComponents()
m_318732_()
public void
c()
clearComponents()
method_61656()
m_fnjjwwan()
clearComponentChanges()
m_355971_()
public DataComponentMap
d()
getPrototype()
method_58658()
m_ejzzxfrl()
getDefaultComponents()
getItemComponents()
m_322741_()
public DataComponentPatch
e()
getComponentsPatch()
method_57380()
m_igidwirs()
getComponentChanges()
getComponentPatch()
m_324277_()
public static com.mojang.serialization.DataResult<Unit>
a(kq arg0)
validateComponents(DataComponentMap arg0)
method_59691(class_9323 arg0)
m_yaszceoi(C_kouhnfig arg0)
validateComponents(ComponentMap components)
validateComponents(DataComponentMap components)
m_320698_(C_313470_ p_336343_)
public static Optional<ItemStack>
a(js$a arg0, vu arg1)
parse(HolderLookup$Provider arg0, Tag arg1)
method_57360(class_7225$class_7874 arg0, class_2520 arg1)
m_izgziaft(C_vtbxyypo$C_etmlgbig arg0, C_oivssbvb arg1)
fromNbt(RegistryWrapper$WrapperLookup registries, NbtElement nbt)
fromNbtOptional(HolderLookup$Provider lookupProvider, NbtElement nbt)
m_323951_(C_213466_$C_254607_ p_332204_, C_4950_ p_336056_)
public static ItemStack
a(js$a arg0, ux arg1)
parseOptional(HolderLookup$Provider arg0, CompoundTag arg1)
method_57359(class_7225$class_7874 arg0, class_2487 arg1)
m_dyvmnknh(C_vtbxyypo$C_etmlgbig arg0, C_hhlwcnih arg1)
fromNbtOrEmpty(RegistryWrapper$WrapperLookup registries, NbtCompound nbt)
fromNbt(HolderLookup$Provider lookupProvider, NbtCompound nbt)
m_318937_(C_213466_$C_254607_ p_333870_, C_4917_ p_328391_)
public boolean
f()
isEmpty()
method_7960()
m_vprylruv()
isEmpty()
isEmpty()
m_41619_()
public boolean
a(cst arg0)
isItemEnabled(FeatureFlagSet arg0)
method_45435(class_7699 arg0)
m_eyzvudzj(C_czxxrbcp arg0)
isItemEnabled(FeatureSet enabledFeatures)
isEnabled(FeatureFlagBitSet enabledFeatures)
m_246617_(C_243488_ arg0)
public ItemStack
a(int arg0)
split(int arg0)
method_7971(int arg0)
m_cgmsskmm(int arg0)
split(int amount)
split(int amount)
m_41620_(int arg0)
public ItemStack
g()
copyAndClear()
method_51164()
m_ehlafaks()
copyAndEmpty()
copyAndClear()
m_278832_()
public Item
h()
getItem()
method_7909()
m_qxfxfsuy()
getItem()
getItem()
m_41720_()
public Holder<Item>
i()
getItemHolder()
method_41409()
m_pqebapbo()
getRegistryEntry()
getHolder()
m_220173_()
public boolean
a(ayk<cxl> arg0)
is(TagKey<Item> arg0)
method_31573(class_6862<class_1792> arg0)
m_xbbrlqhc(C_ednuhnnn<C_vorddnax> arg0)
isIn(TagKey<Item> tag)
isIn(TagKey<Item> tag)
m_204117_(C_203208_<C_1381_> arg0)
public boolean
a(cxl arg0)
is(Item arg0)
method_31574(class_1792 arg0)
m_ezqoxeyg(C_vorddnax arg0)
isOf(Item item)
isOf(Item item)
m_150930_(C_1381_ arg0)
public boolean
a(Predicate<jq<cxl>> arg0)
is(Predicate<Holder<Item>> arg0)
method_41407(Predicate<class_6880<class_1792>> arg0)
m_kshgvahz(Predicate<C_cjzoxshv<C_vorddnax>> arg0)
itemMatches(Predicate<RegistryEntry<Item>> predicate)
matches(Predicate<Holder<Item>> predicate)
m_220167_(Predicate<C_203228_<C_1381_>> arg0)
public boolean
a(jq<cxl> arg0)
is(Holder<Item> arg0)
method_41406(class_6880<class_1792> arg0)
m_sxworkis(C_cjzoxshv<C_vorddnax> arg0)
itemMatches(RegistryEntry<Item> itemEntry)
matches(Holder<Item> item)
m_220165_(C_203228_<C_1381_> arg0)
public boolean
a(ju<cxl> arg0)
is(HolderSet<Item> arg0)
method_53187(class_6885<class_1792> arg0)
m_gcouiubw(C_odfnijdo<C_vorddnax> arg0)
isIn(RegistryEntryList<Item> registryEntryList)
isIn(HolderSet<Item> set)
m_295139_(C_203233_<C_1381_> arg0)
public Stream<TagKey<Item>>
j()
getTags()
method_40133()
m_wnspogky()
streamTags()
streamTags()
m_204131_()
public InteractionResult
a(dbi arg0)
useOn(UseOnContext arg0)
method_7981(class_1838 arg0)
m_bqtrkfmc(C_yyklzime arg0)
useOnBlock(ItemUsageContext context)
useOnBlock(ItemUsageContext context)
m_41661_(C_1450_ arg0)
public float
a(dxv arg0)
getDestroySpeed(BlockState arg0)
method_7924(class_2680 arg0)
m_hawykozc(C_txtbiemp arg0)
getMiningSpeedMultiplier(BlockState state)
getMiningSpeedMultiplier(BlockState state)
m_41691_(C_2064_ arg0)
public InteractionResult
a(dhi arg0, cpx arg1, bti arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7913(class_1937 arg0, class_1657 arg1, class_1268 arg2)
m_gtdctvvz(C_cdctfzbn arg0, C_jzrpycqo arg1, C_laxmzoqs arg2)
use(World world, PlayerEntity user, Hand hand)
use(World world, PlayerEntity user, Hand hand)
m_41682_(C_1596_ p_41684_, C_1141_ p_41685_, C_470_ arg2)
public ItemStack
a(dhi arg0, bwg arg1)
finishUsingItem(Level arg0, LivingEntity arg1)
method_7910(class_1937 arg0, class_1309 arg1)
m_jqebbfhj(C_cdctfzbn arg0, C_usxaxydn arg1)
finishUsing(World world, LivingEntity user)
finishUsing(World world, LivingEntity user)
m_41671_(C_1596_ p_41673_, C_524_ arg1)
private ItemStack
a(bwg arg0, cxp arg1)
applyAfterUseComponentSideEffects(LivingEntity arg0, ItemStack arg1)
method_62837(class_1309 arg0, class_1799 arg1)
m_pjciqabm(C_usxaxydn arg0, C_sddaxwyk arg1)
applyRemainderAndCooldown(LivingEntity user, ItemStack stack)
m_pjciqabm(LivingEntity entity, ItemStack stack)
m_352032_(C_524_ p_361647_, C_1391_ arg1)
public Tag
b(js$a arg0, vu arg1)
save(HolderLookup$Provider arg0, Tag arg1)
method_57376(class_7225$class_7874 arg0, class_2520 arg1)
m_nyilezsd(C_vtbxyypo$C_etmlgbig arg0, C_oivssbvb arg1)
toNbt(RegistryWrapper$WrapperLookup registries, NbtElement prefix)
encode(HolderLookup$Provider provider, NbtElement nbt)
m_321167_(C_213466_$C_254607_ p_332574_, C_4950_ arg1)
public Tag
a(js$a arg0)
save(HolderLookup$Provider arg0)
method_57358(class_7225$class_7874 arg0)
m_fuopwkpz(C_vtbxyypo$C_etmlgbig arg0)
toNbt(RegistryWrapper$WrapperLookup registries)
encode(HolderLookup$Provider provider)
m_41739_(C_213466_$C_254607_ arg0)
public Tag
b(js$a arg0)
saveOptional(HolderLookup$Provider arg0)
method_57375(class_7225$class_7874 arg0)
m_fgqlptaw(C_vtbxyypo$C_etmlgbig arg0)
toNbtAllowEmpty(RegistryWrapper$WrapperLookup registries)
getEncoded(HolderLookup$Provider provider)
m_324153_(C_213466_$C_254607_ arg0)
public int
k()
getMaxStackSize()
method_7914()
m_rmdiknvo()
getMaxCount()
getMaxCount()
m_41741_()
public boolean
l()
isStackable()
method_7946()
m_sjztniec()
isStackable()
isStackable()
m_41753_()
public boolean
m()
isDamageableItem()
method_7963()
m_iculdxhv()
isDamageable()
isDamageable()
m_41763_()
public boolean
n()
isDamaged()
method_7986()
m_nosilizp()
isDamaged()
isDamaged()
m_41768_()
public int
o()
getDamageValue()
method_7919()
m_arqkxkec()
getDamage()
getDamage()
m_41773_()
public void
b(int arg0)
setDamageValue(int arg0)
method_7974(int arg0)
m_rghjmiwl(int arg0)
setDamage(int damage)
setDamage(int damage)
m_41721_(int arg0)
public int
p()
getMaxDamage()
method_7936()
m_fdjdvcpt()
getMaxDamage()
getMaxDamage()
m_41776_()
public boolean
q()
isBroken()
method_61657()
m_staooslz()
shouldBreak()
m_355414_()
public boolean
r()
nextDamageWillBreak()
method_63692()
m_abowndct()
willBreakNextUse()
m_356168_()
public void
a(int arg0, ash arg1, asi arg2, Consumer<cxl> arg3)
hurtAndBreak(int arg0, ServerLevel arg1, ServerPlayer arg2, Consumer<Item> arg3)
method_7956(int arg0, class_3218 arg1, class_3222 arg2, Consumer<class_1792> arg3)
m_hskgqwrk(int arg0, C_bdwnwhiu arg1, C_mxrobsgg arg2, Consumer<C_vorddnax> arg3)
damage(int amount, ServerWorld world, ServerPlayerEntity player, Consumer<Item> breakCallback)
damageEquipment(int damage, ServerWorld world, ServerPlayerEntity player, Consumer<Item> consumer)
m_220157_(int p_342197_, C_12_ p_220160_, C_13_ p_343361_, Consumer<C_1381_> arg3)
private int
a(int arg0, ash arg1, asi arg2)
processDurabilityChange(int arg0, ServerLevel arg1, ServerPlayer arg2)
method_61651(int arg0, class_3218 arg1, class_3222 arg2)
m_gbuhgijv(int arg0, C_bdwnwhiu arg1, C_mxrobsgg arg2)
calculateDamage(int baseDamage, ServerWorld world, ServerPlayerEntity player)
m_gbuhgijv(int arg0, ServerWorld world, ServerPlayerEntity player)
m_357062_(int p_364910_, C_12_ p_365570_, C_13_ arg2)
private void
a(int arg0, asi arg1, Consumer<cxl> arg2)
applyDamage(int arg0, ServerPlayer arg1, Consumer<Item> arg2)
method_61652(int arg0, class_3222 arg1, Consumer<class_1792> arg2)
m_zbrzqwly(int arg0, C_mxrobsgg arg1, Consumer<C_vorddnax> arg2)
onDurabilityChange(int damage, ServerPlayerEntity player, Consumer<Item> breakCallback)
m_zbrzqwly(int durability, ServerPlayerEntity player, Consumer<Item> arg2)
m_354054_(int p_367167_, C_13_ p_364849_, Consumer<C_1381_> arg2)
public void
a(int arg0, cpx arg1)
hurtWithoutBreaking(int arg0, Player arg1)
method_61653(int arg0, class_1657 arg1)
m_ffurchrl(int arg0, C_jzrpycqo arg1)
damage(int amount, PlayerEntity player)
m_ffurchrl(int arg0, PlayerEntity player)
m_357531_(int p_369700_, C_1141_ arg1)
public void
a(int arg0, bwg arg1, bvs arg2)
hurtAndBreak(int arg0, LivingEntity arg1, EquipmentSlot arg2)
method_7970(int arg0, class_1309 arg1, class_1304 arg2)
m_rcukuoag(int arg0, C_usxaxydn arg1, C_yuycoehb arg2)
damage(int amount, LivingEntity entity, EquipmentSlot slot)
damageEquipment(int damage, LivingEntity entity, EquipmentSlot slot)
m_41622_(int p_41624_, C_524_ p_335324_, C_516_ arg2)
public ItemStack
a(int arg0, dhh arg1, bwg arg2, bvs arg3)
hurtAndConvertOnBreak(int arg0, ItemLike arg1, LivingEntity arg2, EquipmentSlot arg3)
method_60986(int arg0, class_1935 arg1, class_1309 arg2, class_1304 arg3)
m_caefvdpe(int arg0, C_gmbqjnle arg1, C_usxaxydn arg2, C_yuycoehb arg3)
damage(int amount, ItemConvertible itemAfterBreaking, LivingEntity entity, EquipmentSlot slot)
damageEquipment(int damage, ItemConvertible item, LivingEntity entity, EquipmentSlot slot)
m_340236_(int p_344647_, C_1595_ p_342270_, C_524_ p_345347_, C_516_ arg3)
public boolean
s()
isBarVisible()
method_31578()
m_rvfytoek()
isItemBarVisible()
isItemBarVisible()
m_150947_()
public int
t()
getBarWidth()
method_31579()
m_pjqbesil()
getItemBarStep()
getItemBarStep()
m_150948_()
public int
u()
getBarColor()
method_31580()
m_sfmosozi()
getItemBarColor()
getItemBarColor()
m_150949_()
public boolean
a(cuz arg0, ctm arg1, cpx arg2)
overrideStackedOnOther(Slot arg0, ClickAction arg1, Player arg2)
method_31575(class_1735 arg0, class_5536 arg1, class_1657 arg2)
m_hmrpegvi(C_nhvqfffd arg0, C_qcuteihm arg1, C_jzrpycqo arg2)
onStackClicked(Slot slot, ClickType clickType, PlayerEntity player)
onClickedOnOther(Slot otherSlot, ClickType clickType, PlayerEntity player)
m_150926_(C_1305_ p_150928_, C_141163_ p_150929_, C_1141_ arg2)
public boolean
a(cxp arg0, cuz arg1, ctm arg2, cpx arg3, bwy arg4)
overrideOtherStackedOnMe(ItemStack arg0, Slot arg1, ClickAction arg2, Player arg3, SlotAccess arg4)
method_31576(class_1799 arg0, class_1735 arg1, class_5536 arg2, class_1657 arg3, class_5630 arg4)
m_uhghycli(C_sddaxwyk arg0, C_nhvqfffd arg1, C_qcuteihm arg2, C_jzrpycqo arg3, C_xkkpnyvk arg4)
onClicked(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference)
onClicked(ItemStack otherStack, Slot thisSlot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference)
m_150932_(C_1391_ p_150934_, C_1305_ p_150935_, C_141163_ p_150936_, C_1141_ p_150937_, C_141073_ arg4)
public boolean
a(bwg arg0, bwg arg1)
hurtEnemy(LivingEntity arg0, LivingEntity arg1)
method_7979(class_1309 arg0, class_1309 arg1)
m_poxxatoa(C_usxaxydn arg0, C_usxaxydn arg1)
postHit(LivingEntity target, LivingEntity user)
postHit(LivingEntity target, LivingEntity attacker)
m_41640_(C_524_ p_366644_, C_524_ arg1)
public void
b(bwg arg0, bwg arg1)
postHurtEnemy(LivingEntity arg0, LivingEntity arg1)
method_59979(class_1309 arg0, class_1309 arg1)
m_othdzzkw(C_usxaxydn arg0, C_usxaxydn arg1)
postDamageEntity(LivingEntity target, LivingEntity user)
postDamageEntity(LivingEntity target, LivingEntity attacker)
m_339261_(C_524_ p_363977_, C_524_ arg1)
public void
a(dhi arg0, dxv arg1, jh arg2, cpx arg3)
mineBlock(Level arg0, BlockState arg1, BlockPos arg2, Player arg3)
method_7952(class_1937 arg0, class_2680 arg1, class_2338 arg2, class_1657 arg3)
m_emygxjdg(C_cdctfzbn arg0, C_txtbiemp arg1, C_hynzadkk arg2, C_jzrpycqo arg3)
postMine(World world, BlockState state, BlockPos pos, PlayerEntity miner)
postMine(World world, BlockState state, BlockPos pos, PlayerEntity miner)
m_41686_(C_1596_ p_41688_, C_2064_ p_41689_, C_4675_ p_41690_, C_1141_ arg3)
public boolean
b(dxv arg0)
isCorrectToolForDrops(BlockState arg0)
method_7951(class_2680 arg0)
m_msofzvly(C_txtbiemp arg0)
isSuitableFor(BlockState state)
isCorrectForDrops(BlockState state)
m_41735_(C_2064_ arg0)
public InteractionResult
a(cpx arg0, bwg arg1, bti arg2)
interactLivingEntity(Player arg0, LivingEntity arg1, InteractionHand arg2)
method_7920(class_1657 arg0, class_1309 arg1, class_1268 arg2)
m_imaclehj(C_jzrpycqo arg0, C_usxaxydn arg1, C_laxmzoqs arg2)
useOnEntity(PlayerEntity user, LivingEntity entity, Hand hand)
useOnEntity(PlayerEntity user, LivingEntity entity, Hand hand)
m_41647_(C_1141_ p_41649_, C_524_ p_41650_, C_470_ arg2)
public ItemStack
v()
copy()
method_7972()
m_jowurkjh()
copy()
copy()
m_41777_()
public ItemStack
c(int arg0)
copyWithCount(int arg0)
method_46651(int arg0)
m_kguduvdp(int arg0)
copyWithCount(int count)
copyWithCount(int count)
m_255036_(int arg0)
public ItemStack
a(dhh arg0)
transmuteCopy(ItemLike arg0)
method_60503(class_1935 arg0)
m_cgmunnul(C_gmbqjnle arg0)
withItem(ItemConvertible item)
copyComponentsToNewStack(ItemConvertible item)
m_338455_(C_1595_ arg0)
public ItemStack
a(dhh arg0, int arg1)
transmuteCopy(ItemLike arg0, int arg1)
method_56701(class_1935 arg0, int arg1)
m_igbhhnoy(C_gmbqjnle arg0, int arg1)
copyComponentsToNewStack(ItemConvertible item, int count)
copyComponentsToNewStack(ItemConvertible item, int count)
m_319323_(C_1595_ p_334821_, int arg1)
private ItemStack
b(dhh arg0, int arg1)
transmuteCopyIgnoreEmpty(ItemLike arg0, int arg1)
method_56704(class_1935 arg0, int arg1)
m_zzjqqsgn(C_gmbqjnle arg0, int arg1)
copyComponentsToNewStackIgnoreEmpty(ItemConvertible item, int count)
copyComponentsToNewStackIgnoreEmpty(ItemConvertible item, int count)
m_320013_(C_1595_ p_333334_, int arg1)
public static boolean
a(cxp arg0, cxp arg1)
matches(ItemStack arg0, ItemStack arg1)
method_7973(class_1799 arg0, class_1799 arg1)
m_tgkzgfpm(C_sddaxwyk arg0, C_sddaxwyk arg1)
areEqual(ItemStack left, ItemStack right)
areEqual(ItemStack stack, ItemStack otherStack)
m_41728_(C_1391_ p_41729_, C_1391_ p_41730_)
public static boolean
a(List<cxp> arg0, List<cxp> arg1)
listMatches(List<ItemStack> arg0, List<ItemStack> arg1)
method_57362(List<class_1799> arg0, List<class_1799> arg1)
m_skenhwqy(List<C_sddaxwyk> arg0, List<C_sddaxwyk> arg1)
stacksEqual(List<ItemStack> left, List<ItemStack> right)
areEqual(List<ItemStack> left, List<ItemStack> right)
m_319597_(List<C_1391_> p_335471_, List<C_1391_> p_334624_)
public static boolean
b(cxp arg0, cxp arg1)
isSameItem(ItemStack arg0, ItemStack arg1)
method_7984(class_1799 arg0, class_1799 arg1)
m_mhrovmoq(C_sddaxwyk arg0, C_sddaxwyk arg1)
areItemsEqual(ItemStack left, ItemStack right)
itemsMatch(ItemStack stack1, ItemStack stack2)
m_41656_(C_1391_ p_287761_, C_1391_ p_287676_)
public static boolean
c(cxp arg0, cxp arg1)
isSameItemSameComponents(ItemStack arg0, ItemStack arg1)
method_31577(class_1799 arg0, class_1799 arg1)
m_xdahsubv(C_sddaxwyk arg0, C_sddaxwyk arg1)
areItemsAndComponentsEqual(ItemStack stack, ItemStack otherStack)
itemsAndComponentsMatch(ItemStack stack, ItemStack otherStack)
m_322370_(C_1391_ p_334397_, C_1391_ p_331609_)
public static com.mojang.serialization.MapCodec<ItemStack>
a(String arg0)
lenientOptionalFieldOf(String arg0)
method_56702(String arg0)
m_nphkgyhm(String arg0)
createOptionalCodec(String fieldName)
m_323240_(String p_336149_)
public static int
a(cxp arg0)
hashItemAndComponents(ItemStack arg0)
method_57355(class_1799 arg0)
m_tqkhmqrq(C_sddaxwyk arg0)
hashCode(ItemStack stack)
hashCode(ItemStack stack)
m_322198_(C_1391_ p_334004_)
public static int
a(List<cxp> arg0)
hashStackList(List<ItemStack> arg0)
method_57361(List<class_1799> arg0)
m_imgzslzn(List<C_sddaxwyk> arg0)
listHashCode(List<ItemStack> stacks)
listHashCode(List<ItemStack> stacks)
m_318747_(List<C_1391_> p_333449_)
public void
a(dhi arg0, bvk arg1, int arg2, boolean arg3)
inventoryTick(Level arg0, Entity arg1, int arg2, boolean arg3)
method_7917(class_1937 arg0, class_1297 arg1, int arg2, boolean arg3)
m_cwjcossc(C_cdctfzbn arg0, C_astfners arg1, int arg2, boolean arg3)
inventoryTick(World world, Entity entity, int slot, boolean selected)
inventoryTick(World world, Entity entity, int slot, boolean selected)
m_41666_(C_1596_ p_41668_, C_507_ p_41669_, int p_41670_, boolean arg3)
public void
a(dhi arg0, cpx arg1, int arg2)
onCraftedBy(Level arg0, Player arg1, int arg2)
method_7982(class_1937 arg0, class_1657 arg1, int arg2)
m_zpjrlkav(C_cdctfzbn arg0, C_jzrpycqo arg1, int arg2)
onCraftByPlayer(World world, PlayerEntity player, int amount)
onCraftByPlayer(World world, PlayerEntity player, int amount)
m_41678_(C_1596_ p_41680_, C_1141_ p_41681_, int arg2)
public void
a(dhi arg0)
onCraftedBySystem(Level arg0)
method_54466(class_1937 arg0)
m_umudukuf(C_cdctfzbn arg0)
onCraftByCrafter(World world)
onCraft(World world)
m_305085_(C_1596_ arg0)
public int
a(bwg arg0)
getUseDuration(LivingEntity arg0)
method_7935(class_1309 arg0)
m_fggiijyg(C_usxaxydn arg0)
getMaxUseTime(LivingEntity user)
getUseTicks(LivingEntity entity)
m_41779_(C_524_ arg0)
public ItemUseAnimation
w()
getUseAnimation()
method_7976()
m_dfvhukte()
getUseAction()
getUseAction()
m_41780_()
public void
a(dhi arg0, bwg arg1, int arg2)
releaseUsing(Level arg0, LivingEntity arg1, int arg2)
method_7930(class_1937 arg0, class_1309 arg1, int arg2)
m_wjnupjdh(C_cdctfzbn arg0, C_usxaxydn arg1, int arg2)
onStoppedUsing(World world, LivingEntity user, int remainingUseTicks)
onStoppedUsing(World world, LivingEntity user, int remainingUseTicks)
m_41674_(C_1596_ p_41676_, C_524_ p_41677_, int arg2)
public boolean
x()
useOnRelease()
method_7967()
m_biphgkrd()
isUsedOnRelease()
isUsedOnRelease()
m_41781_()
public <T> T
b(kt<? super T> arg0, T arg1)
set(DataComponentType<? super T> arg0, T arg1)
method_57379(class_9331<? super T> arg0, T arg1)
m_zakagwqa(C_pscqxfcs<? super T> arg0, T arg1)
set(ComponentType<? super T> type, T value)
set(DataComponentType<? super T> type, T value)
m_322496_(C_313543_<? super T> p_335655_, T arg1)
public <T, U> T
a(kt<T> arg0, T arg1, U arg2, BiFunction<T, U, T> arg3)
update(DataComponentType<T> arg0, T arg1, U arg2, BiFunction<T, U, T> arg3)
method_57367(class_9331<T> arg0, T arg1, U arg2, BiFunction<T, U, T> arg3)
m_iaantrnc(C_pscqxfcs<T> arg0, T arg1, U arg2, BiFunction<T, U, T> arg3)
apply(ComponentType<T> type, T defaultValue, U change, BiFunction<T, U, T> applier)
apply(DataComponentType<T> type, T defaultValue, U newValue, BiFunction<T, U, T> componentFactory)
m_324919_(C_313543_<T> p_327708_, T p_332086_, U p_329834_, BiFunction<T, U, T> arg3)
public <T> T
a(kt<T> arg0, T arg1, UnaryOperator<T> arg2)
update(DataComponentType<T> arg0, T arg1, UnaryOperator<T> arg2)
method_57368(class_9331<T> arg0, T arg1, UnaryOperator<T> arg2)
m_kamdhzie(C_pscqxfcs<T> arg0, T arg1, UnaryOperator<T> arg2)
apply(ComponentType<T> type, T defaultValue, UnaryOperator<T> applier)
apply(DataComponentType<T> type, T defaultValue, UnaryOperator<T> componentFactory)
m_322591_(C_313543_<T> p_329705_, T p_335114_, UnaryOperator<T> arg2)
public <T> T
c(kt<? extends T> arg0)
remove(DataComponentType<? extends T> arg0)
method_57381(class_9331<? extends T> arg0)
m_kdmqavat(C_pscqxfcs<? extends T> arg0)
remove(ComponentType<? extends T> type)
remove(DataComponentType<? extends T> type)
m_319322_(C_313543_<? extends T> arg0)
public void
a(kr arg0)
applyComponentsAndValidate(DataComponentPatch arg0)
method_59692(class_9326 arg0)
m_tdkbrlov(C_jqyoylib arg0)
applyChanges(ComponentChanges changes)
applyPatchAndValidate(DataComponentPatch patch)
m_320623_(C_313461_ arg0)
public void
b(kr arg0)
applyComponents(DataComponentPatch arg0)
method_57366(class_9326 arg0)
m_qxooancw(C_jqyoylib arg0)
applyUnvalidatedChanges(ComponentChanges changes)
applyPatch(DataComponentPatch patch)
m_319238_(C_313461_ arg0)
public void
b(kq arg0)
applyComponents(DataComponentMap arg0)
method_57365(class_9323 arg0)
m_vchnqfkp(C_kouhnfig arg0)
applyComponentsFrom(ComponentMap components)
applyComponents(DataComponentMap map)
m_323474_(C_313470_ arg0)
public Component
y()
getHoverName()
method_7964()
m_xvzvtufo()
getName()
getName()
m_41786_()
public Component
z()
getItemName()
method_63693()
m_ckupoleb()
getItemName()
m_357142_()
public Component
A()
getStyledHoverName()
method_63015()
m_lulbgdsa()
getFormattedName()
m_353917_()
private <T extends TooltipProvider> void
a(kt<T> arg0, cxl$b arg1, Consumer<xv> arg2, czh arg3)
addToTooltip(DataComponentType<T> arg0, Item$TooltipContext arg1, Consumer<Component> arg2, TooltipFlag arg3)
method_57369(class_9331<T> arg0, class_1792$class_9635 arg1, Consumer<class_2561> arg2, class_1836 arg3)
m_hdopgosb(C_pscqxfcs<T> arg0, C_vorddnax$C_rdhfmrgz arg1, Consumer<C_rdaqiwdt> arg2, C_taebrtdw arg3)
appendTooltip(ComponentType<T> componentType, Item$TooltipContext context, Consumer<Text> textConsumer, TooltipType type)
appendTooltip(DataComponentType<T> componentType, Item$TooltipContext context, Consumer<Text> tooltipConsumer, TooltipConfig config)
m_319928_(C_313543_<T> p_333562_, C_1381_$C_313602_ p_334534_, Consumer<C_4996_> p_333715_, C_1431_ arg3)
public List<Component>
a(cxl$b arg0, cpx arg1, czh arg2)
getTooltipLines(Item$TooltipContext arg0, Player arg1, TooltipFlag arg2)
method_7950(class_1792$class_9635 arg0, class_1657 arg1, class_1836 arg2)
m_ywdqmcbk(C_vorddnax$C_rdhfmrgz arg0, C_jzrpycqo arg1, C_taebrtdw arg2)
getTooltip(Item$TooltipContext context, PlayerEntity player, TooltipType type)
getTooltip(Item$TooltipContext context, PlayerEntity player, TooltipConfig config)
m_41651_(C_1381_$C_313602_ p_41652_, C_1141_ p_41653_, C_1431_ arg2)
private void
a(Consumer<xv> arg0, cpx arg1)
addAttributeTooltips(Consumer<Component> arg0, Player arg1)
method_57363(Consumer<class_2561> arg0, class_1657 arg1)
m_phvcusub(Consumer<C_rdaqiwdt> arg0, C_jzrpycqo arg1)
appendAttributeModifiersTooltip(Consumer<Text> textConsumer, PlayerEntity player)
appendModifierTooltips(Consumer<Text> textConsumer, PlayerEntity player)
m_322901_(Consumer<C_4996_> p_332769_, C_1141_ arg1)
private void
a(Consumer<xv> arg0, cpx arg1, jq<bxj> arg2, bxm arg3)
addModifierTooltip(Consumer<Component> arg0, Player arg1, Holder<Attribute> arg2, AttributeModifier arg3)
method_57364(Consumer<class_2561> arg0, class_1657 arg1, class_6880<class_1320> arg2, class_1322 arg3)
m_aedabdbt(Consumer<C_rdaqiwdt> arg0, C_jzrpycqo arg1, C_cjzoxshv<C_ppzfbbsy> arg2, C_hdbqsqsm arg3)
appendAttributeModifierTooltip(Consumer<Text> textConsumer, PlayerEntity player, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier)
appendModifierTooltip(Consumer<Text> textConsumer, PlayerEntity player, Holder<EntityAttribute> attribute, EntityAttributeModifier modifier)
m_322829_(Consumer<C_4996_> p_328442_, C_1141_ p_336373_, C_203228_<C_552_> p_332746_, C_555_ arg3)
public boolean
B()
hasFoil()
method_7958()
m_vncsdaoo()
hasGlint()
hasGlint()
m_41790_()
public Rarity
C()
getRarity()
method_7932()
m_yrbtnzbt()
getRarity()
getRarity()
m_41791_()
public boolean
D()
isEnchantable()
method_7923()
m_gwzgwsrv()
isEnchantable()
isEnchantable()
m_41792_()
public void
a(jq<ddz> arg0, int arg1)
enchant(Holder<Enchantment> arg0, int arg1)
method_7978(class_6880<class_1887> arg0, int arg1)
m_nisvbeaw(C_cjzoxshv<C_jxtrubuh> arg0, int arg1)
addEnchantment(RegistryEntry<Enchantment> enchantment, int level)
applyEnchantment(Holder<Enchantment> enchantment, int level)
m_41663_(C_203228_<C_1505_> p_41665_, int arg1)
public boolean
E()
isEnchanted()
method_7942()
m_zszkcovn()
hasEnchantments()
hasEnchantments()
m_41793_()
public ItemEnchantments
F()
getEnchantments()
method_58657()
m_wjqnxase()
getEnchantments()
getEnchantments()
m_319737_()
public boolean
G()
isFramed()
method_7961()
m_tcgbrtym()
isInFrame()
isInFrame()
m_41794_()
public void
a(bvk arg0)
setEntityRepresentation(Entity arg0)
method_27320(class_1297 arg0)
m_xqyyeqdc(C_astfners arg0)
setHolder(Entity holder)
setHolder(Entity holder)
m_41636_(C_507_ arg0)
public ItemFrame
H()
getFrame()
method_7945()
m_sqtvrdfj()
getFrame()
getFrame()
m_41795_()
public Entity
I()
getEntityRepresentation()
method_27319()
m_yawcimjo()
getHolder()
getEntityHolder()
m_41609_()
public void
a(bvt arg0, BiConsumer<jq<bxj>, bxm> arg1)
forEachModifier(EquipmentSlotGroup arg0, BiConsumer<Holder<Attribute>, AttributeModifier> arg1)
method_60617(class_9274 arg0, BiConsumer<class_6880<class_1320>, class_1322> arg1)
m_bhuguvni(C_qfoqahef arg0, BiConsumer<C_cjzoxshv<C_ppzfbbsy>, C_hdbqsqsm> arg1)
applyAttributeModifier(AttributeModifierSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer)
m_339103_(C_313414_ p_342345_, BiConsumer<C_203228_<C_552_>, C_555_> arg1)
public void
a(bvs arg0, BiConsumer<jq<bxj>, bxm> arg1)
forEachModifier(EquipmentSlot arg0, BiConsumer<Holder<Attribute>, AttributeModifier> arg1)
method_57354(class_1304 arg0, BiConsumer<class_6880<class_1320>, class_1322> arg1)
m_saymlnod(C_yuycoehb arg0, BiConsumer<C_cjzoxshv<C_ppzfbbsy>, C_hdbqsqsm> arg1)
applyAttributeModifiers(EquipmentSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer)
m_321237_(C_516_ p_334430_, BiConsumer<C_203228_<C_552_>, C_555_> arg1)
public Component
J()
getDisplayName()
method_7954()
m_ihhujymf()
toHoverableText()
toHoverableText()
m_41611_()
public boolean
a(dxz arg0)
canPlaceOnBlockInAdventureMode(BlockInWorld arg0)
method_57357(class_2694 arg0)
m_qiozuhii(C_gogfiawf arg0)
canPlaceOn(CachedBlockPosition pos)
canPlaceOnInAdventureMode(CachedBlockPosition pos)
m_321400_(C_2070_ arg0)
public boolean
b(dxz arg0)
canBreakBlockInAdventureMode(BlockInWorld arg0)
method_57373(class_2694 arg0)
m_cpmzxurz(C_gogfiawf arg0)
canBreak(CachedBlockPosition pos)
canBreakInAdventureMode(CachedBlockPosition pos)
m_323082_(C_2070_ arg0)
public int
K()
getPopTime()
method_7965()
m_pwfafzwz()
getBobbingAnimationTime()
getCooldown()
m_41612_()
public void
d(int arg0)
setPopTime(int arg0)
method_7912(int arg0)
m_utrmkjnp(int arg0)
setBobbingAnimationTime(int bobbingAnimationTime)
setCooldown(int cooldown)
m_41754_(int arg0)
public int
L()
getCount()
method_7947()
m_uglewown()
getCount()
getCount()
m_41613_()
public void
e(int arg0)
setCount(int arg0)
method_7939(int arg0)
m_bpcuczsh(int arg0)
setCount(int count)
setCount(int count)
m_41764_(int arg0)
public void
f(int arg0)
limitSize(int arg0)
method_58408(int arg0)
m_uzwjgkgy(int arg0)
capCount(int maxCount)
m_uzwjgkgy(int count)
m_324521_(int arg0)
public void
g(int arg0)
grow(int arg0)
method_7933(int arg0)
m_nivkbhlq(int arg0)
increment(int amount)
increment(int amount)
m_41769_(int arg0)
public void
h(int arg0)
shrink(int arg0)
method_7934(int arg0)
m_whunqrso(int arg0)
decrement(int amount)
decrement(int amount)
m_41774_(int arg0)
public void
a(int arg0, bwg arg1)
consume(int arg0, LivingEntity arg1)
method_57008(int arg0, class_1309 arg1)
m_tyuugrfg(int arg0, C_usxaxydn arg1)
decrementUnlessCreative(int amount, LivingEntity entity)
consume(int amount, LivingEntity entity)
m_321439_(int p_334302_, C_524_ arg1)
public ItemStack
b(int arg0, bwg arg1)
consumeAndReturn(int arg0, LivingEntity arg1)
method_60504(int arg0, class_1309 arg1)
m_tobuehwl(int arg0, C_usxaxydn arg1)
splitUnlessCreative(int amount, LivingEntity entity)
copyAndConsume(int amount, LivingEntity entity)
m_338460_(int p_344112_, C_524_ arg1)
public void
b(dhi arg0, bwg arg1, int arg2)
onUseTick(Level arg0, LivingEntity arg1, int arg2)
method_7949(class_1937 arg0, class_1309 arg1, int arg2)
m_iadyttua(C_cdctfzbn arg0, C_usxaxydn arg1, int arg2)
usageTick(World world, LivingEntity user, int remainingUseTicks)
usageTick(World world, LivingEntity user, int remainingUseTicks)
m_41731_(C_1596_ p_41733_, C_524_ p_41734_, int arg2)
public void
a(cmb arg0)
onDestroyed(ItemEntity arg0)
method_33262(class_1542 arg0)
m_oszmcroz(C_uqpzijng arg0)
onItemEntityDestroyed(ItemEntity entity)
onItemEntityDestroyed(ItemEntity entity)
m_150924_(C_976_ arg0)
public SoundEvent
M()
getBreakingSound()
method_57351()
m_kmktysli()
getBreakSound()
getBreakSound()
m_321057_()
public boolean
a(bua arg0)
canBeHurtBy(DamageSource arg0)
method_58407(class_1282 arg0)
m_yprgpdac(C_sbxfkpyv arg0)
takesDamageFrom(DamageSource source)
takesDamageFrom(DamageSource damageSource)
m_325012_(C_489_ arg0)
public boolean
b(cxp arg0)
isValidRepairItem(ItemStack arg0)
method_61655(class_1799 arg0)
m_dfjlwstf(C_sddaxwyk arg0)
canRepairWith(ItemStack ingredient)
m_dfjlwstf(ItemStack stack)
m_357103_(C_1391_ arg0)