Package net.minecraft.item
Class ItemStack
java.lang.Object
net.minecraft.item.ItemStack
- Mappings:
Namespace Name official bpxintermediary net/minecraft/class_1799named net/minecraft/item/ItemStack
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Stringprivate static Stringstatic com.mojang.serialization.Codec<ItemStack>static Stringprivate intprivate intstatic Stringstatic Stringprivate booleanstatic ItemStackstatic Stringprivate static intprivate static Stringprivate Entitystatic Stringprivate ItemDeprecated.private CachedBlockPositionprivate booleanprivate CachedBlockPositionprivate booleanprivate static Loggerstatic Stringprivate static Stylestatic Stringstatic DecimalFormatstatic Stringprivate static Stringprivate NbtCompoundprivate static String -
Constructor Summary
ConstructorsModifierConstructorDescriptionItemStack(ItemConvertible item)ItemStack(ItemConvertible item, int count)privateItemStack(ItemConvertible item, int count, Optional<NbtCompound> tag)privateItemStack(NbtCompound tag) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttributeModifier(EntityAttribute attribute, EntityAttributeModifier modifier, @Nullable EquipmentSlot slot)voidaddEnchantment(Enchantment enchantment, int level)voidaddHideFlag(ItemStack.TooltipSection tooltipSection)static voidappendEnchantments(List<Text> tooltip, NbtList enchantments)private static booleanareBlocksEqual(CachedBlockPosition first, @Nullable CachedBlockPosition second)static booleanstatic booleanareItemsEqual(ItemStack left, ItemStack right)static booleanareItemsEqualIgnoreDamage(ItemStack left, ItemStack right)static booleanareTagsEqual(ItemStack left, ItemStack right)static booleancanCombine(ItemStack stack, ItemStack otherStack)booleancanDestroy(TagManager tagManager, CachedBlockPosition pos)booleancanPlaceOn(TagManager tagManager, CachedBlockPosition pos)copy()booleandamage(int amount, Random random, @Nullable ServerPlayerEntity player)<T extends LivingEntity>
voidvoiddecrement(int amount)finishUsing(World world, LivingEntity user)static ItemStackfromNbt(NbtCompound nbt)intintgetCount()intgetFrame()private intgetItem()intintintintintfloatgetMiningSpeedMultiplier(BlockState state)getName()getOrCreateSubTag(String key)intgetTag()getTooltip(@Nullable PlayerEntity player, TooltipContext context)booleanbooleanbooleanhasGlint()booleanhasTag()voidincrement(int amount)voidinventoryTick(World world, Entity entity, int slot, boolean selected)booleanbooleanbooleanisEmpty()booleanprivate booleanbooleanisFood()booleanbooleanbooleanbooleanisItemEqual(ItemStack stack)booleanisItemEqualIgnoreDamage(ItemStack stack)booleanprivate static booleanisSectionVisible(int flags, ItemStack.TooltipSection tooltipSection)Determines whether the given tooltip section will be visible according to the given flags.booleanbooleanisSuitableFor(BlockState state)Determines whether this item can be used as a suitable tool for mining the specified block.booleanbooleanonClicked(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player, CommandItemSlot cursorSlot)voidonCraft(World world, PlayerEntity player, int amount)voidonItemEntityDestroyed(ItemEntity entity)booleanonStackClicked(Slot slot, ClickType clickType, PlayerEntity player)voidonStoppedUsing(World world, LivingEntity user, int remainingUseTicks)private static Collection<Text>parseBlockTag(String tag)voidpostHit(LivingEntity target, PlayerEntity attacker)voidpostMine(World world, BlockState state, BlockPos pos, PlayerEntity miner)voidputSubTag(String key, NbtElement tag)voidvoidremoveSubTag(String key)voidsetCooldown(int cooldown)voidsetCount(int count)setCustomName(@Nullable Text name)voidsetDamage(int damage)voidvoidsetRepairCost(int repairCost)voidsetTag(@Nullable NbtCompound tag)split(int amount)toString()private voidvoidusageTick(World world, LivingEntity user, int remainingUseTicks)use(World world, PlayerEntity user, Hand hand)useOnBlock(ItemUsageContext context)useOnEntity(PlayerEntity user, LivingEntity entity, Hand hand)writeNbt(NbtCompound nbt)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLbpx;a:Lcom/mojang/serialization/Codec;intermediary field_24671Lnet/minecraft/class_1799;field_24671:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/item/ItemStack;CODEC:Lcom/mojang/serialization/Codec;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official lLbpx;l:Lorg/apache/logging/log4j/Logger;intermediary field_8033Lnet/minecraft/class_1799;field_8033:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/item/ItemStack;LOGGER:Lorg/apache/logging/log4j/Logger;
-
EMPTY
- Mappings:
Namespace Name Mixin selector official bLbpx;b:Lbpx;intermediary field_8037Lnet/minecraft/class_1799;field_8037:Lnet/minecraft/class_1799;named EMPTYLnet/minecraft/item/ItemStack;EMPTY:Lnet/minecraft/item/ItemStack;
-
MODIFIER_FORMAT
- Mappings:
Namespace Name Mixin selector official cLbpx;c:Ljava/text/DecimalFormat;intermediary field_8029Lnet/minecraft/class_1799;field_8029:Ljava/text/DecimalFormat;named MODIFIER_FORMATLnet/minecraft/item/ItemStack;MODIFIER_FORMAT:Ljava/text/DecimalFormat;
-
ENCHANTMENTS_KEY
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official dLbpx;d:Ljava/lang/String;intermediary field_30890Lnet/minecraft/class_1799;field_30890:Ljava/lang/String;named ENCHANTMENTS_KEYLnet/minecraft/item/ItemStack;ENCHANTMENTS_KEY:Ljava/lang/String;
-
ID_KEY
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official eLbpx;e:Ljava/lang/String;intermediary field_30891Lnet/minecraft/class_1799;field_30891:Ljava/lang/String;named ID_KEYLnet/minecraft/item/ItemStack;ID_KEY:Ljava/lang/String;
-
LVL_KEY
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official fLbpx;f:Ljava/lang/String;intermediary field_30892Lnet/minecraft/class_1799;field_30892:Ljava/lang/String;named LVL_KEYLnet/minecraft/item/ItemStack;LVL_KEY:Ljava/lang/String;
-
DISPLAY_KEY
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official gLbpx;g:Ljava/lang/String;intermediary field_30893Lnet/minecraft/class_1799;field_30893:Ljava/lang/String;named DISPLAY_KEYLnet/minecraft/item/ItemStack;DISPLAY_KEY:Ljava/lang/String;
-
NAME_KEY
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official hLbpx;h:Ljava/lang/String;intermediary field_30894Lnet/minecraft/class_1799;field_30894:Ljava/lang/String;named NAME_KEYLnet/minecraft/item/ItemStack;NAME_KEY:Ljava/lang/String;
-
LORE_KEY
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official iLbpx;i:Ljava/lang/String;intermediary field_30895Lnet/minecraft/class_1799;field_30895:Ljava/lang/String;named LORE_KEYLnet/minecraft/item/ItemStack;LORE_KEY:Ljava/lang/String;
-
DAMAGE_KEY
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official jLbpx;j:Ljava/lang/String;intermediary field_30896Lnet/minecraft/class_1799;field_30896:Ljava/lang/String;named DAMAGE_KEYLnet/minecraft/item/ItemStack;DAMAGE_KEY:Ljava/lang/String;
-
COLOR_KEY
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official kLbpx;k:Ljava/lang/String;intermediary field_30897Lnet/minecraft/class_1799;field_30897:Ljava/lang/String;named COLOR_KEYLnet/minecraft/item/ItemStack;COLOR_KEY:Ljava/lang/String;
-
UNBREAKABLE_KEY
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official mLbpx;m:Ljava/lang/String;intermediary field_30898Lnet/minecraft/class_1799;field_30898:Ljava/lang/String;named UNBREAKABLE_KEYLnet/minecraft/item/ItemStack;UNBREAKABLE_KEY:Ljava/lang/String;
-
REPAIR_COST_KEY
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official nLbpx;n:Ljava/lang/String;intermediary field_30899Lnet/minecraft/class_1799;field_30899:Ljava/lang/String;named REPAIR_COST_KEYLnet/minecraft/item/ItemStack;REPAIR_COST_KEY:Ljava/lang/String;
-
CAN_DESTROY_KEY
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official oLbpx;o:Ljava/lang/String;intermediary field_30900Lnet/minecraft/class_1799;field_30900:Ljava/lang/String;named CAN_DESTROY_KEYLnet/minecraft/item/ItemStack;CAN_DESTROY_KEY:Ljava/lang/String;
-
CAN_PLACE_ON_KEY
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official pLbpx;p:Ljava/lang/String;intermediary field_30901Lnet/minecraft/class_1799;field_30901:Ljava/lang/String;named CAN_PLACE_ON_KEYLnet/minecraft/item/ItemStack;CAN_PLACE_ON_KEY:Ljava/lang/String;
-
HIDE_FLAGS_KEY
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official qLbpx;q:Ljava/lang/String;intermediary field_30902Lnet/minecraft/class_1799;field_30902:Ljava/lang/String;named HIDE_FLAGS_KEYLnet/minecraft/item/ItemStack;HIDE_FLAGS_KEY:Ljava/lang/String;
-
field_30903
private static final int field_30903- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official rLbpx;r:Iintermediary field_30903Lnet/minecraft/class_1799;field_30903:Inamed field_30903Lnet/minecraft/item/ItemStack;field_30903:I
-
LORE_STYLE
- Mappings:
Namespace Name Mixin selector official sLbpx;s:Lox;intermediary field_24092Lnet/minecraft/class_1799;field_24092:Lnet/minecraft/class_2583;named LORE_STYLELnet/minecraft/item/ItemStack;LORE_STYLE:Lnet/minecraft/text/Style;
-
count
private int count- Mappings:
Namespace Name Mixin selector official tLbpx;t:Iintermediary field_8031Lnet/minecraft/class_1799;field_8031:Inamed countLnet/minecraft/item/ItemStack;count:I
-
cooldown
private int cooldown- Mappings:
Namespace Name Mixin selector official uLbpx;u:Iintermediary field_8030Lnet/minecraft/class_1799;field_8030:Inamed cooldownLnet/minecraft/item/ItemStack;cooldown:I
-
item
Deprecated.- Mappings:
Namespace Name Mixin selector official vLbpx;v:Lbpt;intermediary field_8038Lnet/minecraft/class_1799;field_8038:Lnet/minecraft/class_1792;named itemLnet/minecraft/item/ItemStack;item:Lnet/minecraft/item/Item;
-
tag
- Mappings:
Namespace Name Mixin selector official wLbpx;w:Lmv;intermediary field_8040Lnet/minecraft/class_1799;field_8040:Lnet/minecraft/class_2487;named tagLnet/minecraft/item/ItemStack;tag:Lnet/minecraft/nbt/NbtCompound;
-
empty
private boolean empty- Mappings:
Namespace Name Mixin selector official xLbpx;x:Zintermediary field_8036Lnet/minecraft/class_1799;field_8036:Znamed emptyLnet/minecraft/item/ItemStack;empty:Z
-
holder
- Mappings:
Namespace Name Mixin selector official yLbpx;y:Laso;intermediary field_24093Lnet/minecraft/class_1799;field_24093:Lnet/minecraft/class_1297;named holderLnet/minecraft/item/ItemStack;holder:Lnet/minecraft/entity/Entity;
-
lastDestroyPos
- Mappings:
Namespace Name Mixin selector official zLbpx;z:Lckb;intermediary field_8039Lnet/minecraft/class_1799;field_8039:Lnet/minecraft/class_2694;named lastDestroyPosLnet/minecraft/item/ItemStack;lastDestroyPos:Lnet/minecraft/block/pattern/CachedBlockPosition;
-
lastDestroyResult
private boolean lastDestroyResult- Mappings:
Namespace Name Mixin selector official ALbpx;A:Zintermediary field_8035Lnet/minecraft/class_1799;field_8035:Znamed lastDestroyResultLnet/minecraft/item/ItemStack;lastDestroyResult:Z
-
lastPlaceOnPos
- Mappings:
Namespace Name Mixin selector official BLbpx;B:Lckb;intermediary field_8032Lnet/minecraft/class_1799;field_8032:Lnet/minecraft/class_2694;named lastPlaceOnPosLnet/minecraft/item/ItemStack;lastPlaceOnPos:Lnet/minecraft/block/pattern/CachedBlockPosition;
-
lastPlaceOnResult
private boolean lastPlaceOnResult- Mappings:
Namespace Name Mixin selector official CLbpx;C:Zintermediary field_8034Lnet/minecraft/class_1799;field_8034:Znamed lastPlaceOnResultLnet/minecraft/item/ItemStack;lastPlaceOnResult:Z
-
-
Constructor Details
-
ItemStack
- Mappings:
Namespace Name Mixin selector official <init>Lbpx;<init>(Lbvw;)Vintermediary <init>Lnet/minecraft/class_1799;<init>(Lnet/minecraft/class_1935;)Vnamed <init>Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/item/ItemConvertible;)V
-
ItemStack
- Mappings:
Namespace Name Mixin selector official <init>Lbpx;<init>(Lbvw;ILjava/util/Optional;)Vintermediary <init>Lnet/minecraft/class_1799;<init>(Lnet/minecraft/class_1935;ILjava/util/Optional;)Vnamed <init>Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/item/ItemConvertible;ILjava/util/Optional;)V
-
ItemStack
- Mappings:
Namespace Name Mixin selector official <init>Lbpx;<init>(Lbvw;I)Vintermediary <init>Lnet/minecraft/class_1799;<init>(Lnet/minecraft/class_1935;I)Vnamed <init>Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/item/ItemConvertible;I)V
-
ItemStack
- Mappings:
Namespace Name Mixin selector official <init>Lbpx;<init>(Lmv;)Vintermediary <init>Lnet/minecraft/class_1799;<init>(Lnet/minecraft/class_2487;)Vnamed <init>Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/nbt/NbtCompound;)V
-
-
Method Details
-
getTooltipData
- Mappings:
Namespace Name Mixin selector official aLbpx;a()Ljava/util/Optional;intermediary method_32347Lnet/minecraft/class_1799;method_32347()Ljava/util/Optional;named getTooltipDataLnet/minecraft/item/ItemStack;getTooltipData()Ljava/util/Optional;
-
updateEmptyState
private void updateEmptyState()- Mappings:
Namespace Name Mixin selector official NLbpx;N()Vintermediary method_7957Lnet/minecraft/class_1799;method_7957()Vnamed updateEmptyStateLnet/minecraft/item/ItemStack;updateEmptyState()V
-
fromNbt
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lmv;)Lbpx;intermediary method_7915Lnet/minecraft/class_1799;method_7915(Lnet/minecraft/class_2487;)Lnet/minecraft/class_1799;named fromNbtLnet/minecraft/item/ItemStack;fromNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/item/ItemStack;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official bLbpx;b()Zintermediary method_7960Lnet/minecraft/class_1799;method_7960()Znamed isEmptyLnet/minecraft/item/ItemStack;isEmpty()Z
-
split
- Mappings:
Namespace Name Mixin selector official aLbpx;a(I)Lbpx;intermediary method_7971Lnet/minecraft/class_1799;method_7971(I)Lnet/minecraft/class_1799;named splitLnet/minecraft/item/ItemStack;split(I)Lnet/minecraft/item/ItemStack;
-
getItem
- Mappings:
Namespace Name Mixin selector official cLbpx;c()Lbpt;intermediary method_7909Lnet/minecraft/class_1799;method_7909()Lnet/minecraft/class_1792;named getItemLnet/minecraft/item/ItemStack;getItem()Lnet/minecraft/item/Item;
-
isIn
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lafs;)Zintermediary method_31573Lnet/minecraft/class_1799;method_31573(Lnet/minecraft/class_3494;)Znamed isInLnet/minecraft/item/ItemStack;isIn(Lnet/minecraft/tag/Tag;)Z
-
isOf
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbpt;)Zintermediary method_31574Lnet/minecraft/class_1799;method_31574(Lnet/minecraft/class_1792;)Znamed isOfLnet/minecraft/item/ItemStack;isOf(Lnet/minecraft/item/Item;)Z
-
useOnBlock
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbrz;)Larj;intermediary method_7981Lnet/minecraft/class_1799;method_7981(Lnet/minecraft/class_1838;)Lnet/minecraft/class_1269;named useOnBlockLnet/minecraft/item/ItemStack;useOnBlock(Lnet/minecraft/item/ItemUsageContext;)Lnet/minecraft/util/ActionResult;
-
getMiningSpeedMultiplier
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lcjx;)Fintermediary method_7924Lnet/minecraft/class_1799;method_7924(Lnet/minecraft/class_2680;)Fnamed getMiningSpeedMultiplierLnet/minecraft/item/ItemStack;getMiningSpeedMultiplier(Lnet/minecraft/block/BlockState;)F
-
use
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbvx;Lbjl;Lari;)Lark;intermediary method_7913Lnet/minecraft/class_1799;method_7913(Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1271;named useLnet/minecraft/item/ItemStack;use(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/TypedActionResult;
-
finishUsing
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbvx;Latb;)Lbpx;intermediary method_7910Lnet/minecraft/class_1799;method_7910(Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;)Lnet/minecraft/class_1799;named finishUsingLnet/minecraft/item/ItemStack;finishUsing(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/item/ItemStack;
-
writeNbt
- Mappings:
Namespace Name Mixin selector official bLbpx;b(Lmv;)Lmv;intermediary method_7953Lnet/minecraft/class_1799;method_7953(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named writeNbtLnet/minecraft/item/ItemStack;writeNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
getMaxCount
public int getMaxCount()- Mappings:
Namespace Name Mixin selector official dLbpx;d()Iintermediary method_7914Lnet/minecraft/class_1799;method_7914()Inamed getMaxCountLnet/minecraft/item/ItemStack;getMaxCount()I
-
isStackable
public boolean isStackable()- Mappings:
Namespace Name Mixin selector official eLbpx;e()Zintermediary method_7946Lnet/minecraft/class_1799;method_7946()Znamed isStackableLnet/minecraft/item/ItemStack;isStackable()Z
-
isDamageable
public boolean isDamageable()- Mappings:
Namespace Name Mixin selector official fLbpx;f()Zintermediary method_7963Lnet/minecraft/class_1799;method_7963()Znamed isDamageableLnet/minecraft/item/ItemStack;isDamageable()Z
-
isDamaged
public boolean isDamaged()- Mappings:
Namespace Name Mixin selector official gLbpx;g()Zintermediary method_7986Lnet/minecraft/class_1799;method_7986()Znamed isDamagedLnet/minecraft/item/ItemStack;isDamaged()Z
-
getDamage
public int getDamage()- Mappings:
Namespace Name Mixin selector official hLbpx;h()Iintermediary method_7919Lnet/minecraft/class_1799;method_7919()Inamed getDamageLnet/minecraft/item/ItemStack;getDamage()I
-
setDamage
public void setDamage(int damage)- Mappings:
Namespace Name Mixin selector official bLbpx;b(I)Vintermediary method_7974Lnet/minecraft/class_1799;method_7974(I)Vnamed setDamageLnet/minecraft/item/ItemStack;setDamage(I)V
-
getMaxDamage
public int getMaxDamage()- Mappings:
Namespace Name Mixin selector official iLbpx;i()Iintermediary method_7936Lnet/minecraft/class_1799;method_7936()Inamed getMaxDamageLnet/minecraft/item/ItemStack;getMaxDamage()I
-
damage
- Mappings:
Namespace Name Mixin selector official aLbpx;a(ILjava/util/Random;Labk;)Zintermediary method_7970Lnet/minecraft/class_1799;method_7970(ILjava/util/Random;Lnet/minecraft/class_3222;)Znamed damageLnet/minecraft/item/ItemStack;damage(ILjava/util/Random;Lnet/minecraft/server/network/ServerPlayerEntity;)Z
-
damage
- Mappings:
Namespace Name Mixin selector official aLbpx;a(ILatb;Ljava/util/function/Consumer;)Vintermediary method_7956Lnet/minecraft/class_1799;method_7956(ILnet/minecraft/class_1309;Ljava/util/function/Consumer;)Vnamed damageLnet/minecraft/item/ItemStack;damage(ILnet/minecraft/entity/LivingEntity;Ljava/util/function/Consumer;)V
-
isItemBarVisible
public boolean isItemBarVisible()- Mappings:
Namespace Name Mixin selector official jLbpx;j()Zintermediary method_31578Lnet/minecraft/class_1799;method_31578()Znamed isItemBarVisibleLnet/minecraft/item/ItemStack;isItemBarVisible()Z
-
getItemBarStep
public int getItemBarStep()- Mappings:
Namespace Name Mixin selector official kLbpx;k()Iintermediary method_31579Lnet/minecraft/class_1799;method_31579()Inamed getItemBarStepLnet/minecraft/item/ItemStack;getItemBarStep()I
-
getItemBarColor
public int getItemBarColor()- Mappings:
Namespace Name Mixin selector official lLbpx;l()Iintermediary method_31580Lnet/minecraft/class_1799;method_31580()Inamed getItemBarColorLnet/minecraft/item/ItemStack;getItemBarColor()I
-
onStackClicked
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbni;Lblz;Lbjl;)Zintermediary method_31575Lnet/minecraft/class_1799;method_31575(Lnet/minecraft/class_1735;Lnet/minecraft/class_5536;Lnet/minecraft/class_1657;)Znamed onStackClickedLnet/minecraft/item/ItemStack;onStackClicked(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/util/ClickType;Lnet/minecraft/entity/player/PlayerEntity;)Z
-
onClicked
public boolean onClicked(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player, CommandItemSlot cursorSlot)- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbpx;Lbni;Lblz;Lbjl;Lats;)Zintermediary method_31576Lnet/minecraft/class_1799;method_31576(Lnet/minecraft/class_1799;Lnet/minecraft/class_1735;Lnet/minecraft/class_5536;Lnet/minecraft/class_1657;Lnet/minecraft/class_5630;)Znamed onClickedLnet/minecraft/item/ItemStack;onClicked(Lnet/minecraft/item/ItemStack;Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/util/ClickType;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/inventory/CommandItemSlot;)Z
-
postHit
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Latb;Lbjl;)Vintermediary method_7979Lnet/minecraft/class_1799;method_7979(Lnet/minecraft/class_1309;Lnet/minecraft/class_1657;)Vnamed postHitLnet/minecraft/item/ItemStack;postHit(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/player/PlayerEntity;)V
-
postMine
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbvx;Lcjx;Lgb;Lbjl;)Vintermediary method_7952Lnet/minecraft/class_1799;method_7952(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;)Vnamed postMineLnet/minecraft/item/ItemStack;postMine(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)V
-
isSuitableFor
Determines whether this item can be used as a suitable tool for mining the specified block.Depending on block implementation, when combined together, the correct item and block may achieve a better mining speed and yield drops that would not be obtained when mining otherwise.
- Returns:
- values consistent with calls to
Item.isSuitableFor(net.minecraft.block.BlockState) - See Also:
Item.isSuitableFor(BlockState)- Mappings:
Namespace Name Mixin selector official bLbpx;b(Lcjx;)Zintermediary method_7951Lnet/minecraft/class_1799;method_7951(Lnet/minecraft/class_2680;)Znamed isSuitableForLnet/minecraft/item/ItemStack;isSuitableFor(Lnet/minecraft/block/BlockState;)Z
-
useOnEntity
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbjl;Latb;Lari;)Larj;intermediary method_7920Lnet/minecraft/class_1799;method_7920(Lnet/minecraft/class_1657;Lnet/minecraft/class_1309;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;named useOnEntityLnet/minecraft/item/ItemStack;useOnEntity(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
copy
- Mappings:
Namespace Name Mixin selector official mLbpx;m()Lbpx;intermediary method_7972Lnet/minecraft/class_1799;method_7972()Lnet/minecraft/class_1799;named copyLnet/minecraft/item/ItemStack;copy()Lnet/minecraft/item/ItemStack;
-
areTagsEqual
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbpx;Lbpx;)Zintermediary method_7975Lnet/minecraft/class_1799;method_7975(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Znamed areTagsEqualLnet/minecraft/item/ItemStack;areTagsEqual(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
areEqual
- Mappings:
Namespace Name Mixin selector official bLbpx;b(Lbpx;Lbpx;)Zintermediary method_7973Lnet/minecraft/class_1799;method_7973(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Znamed areEqualLnet/minecraft/item/ItemStack;areEqual(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
isEqual
- Mappings:
Namespace Name Mixin selector official cLbpx;c(Lbpx;)Zintermediary method_7968Lnet/minecraft/class_1799;method_7968(Lnet/minecraft/class_1799;)Znamed isEqualLnet/minecraft/item/ItemStack;isEqual(Lnet/minecraft/item/ItemStack;)Z
-
areItemsEqualIgnoreDamage
- Mappings:
Namespace Name Mixin selector official cLbpx;c(Lbpx;Lbpx;)Zintermediary method_7984Lnet/minecraft/class_1799;method_7984(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Znamed areItemsEqualIgnoreDamageLnet/minecraft/item/ItemStack;areItemsEqualIgnoreDamage(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
areItemsEqual
- Mappings:
Namespace Name Mixin selector official dLbpx;d(Lbpx;Lbpx;)Zintermediary method_7987Lnet/minecraft/class_1799;method_7987(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Znamed areItemsEqualLnet/minecraft/item/ItemStack;areItemsEqual(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
isItemEqualIgnoreDamage
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbpx;)Zintermediary method_7962Lnet/minecraft/class_1799;method_7962(Lnet/minecraft/class_1799;)Znamed isItemEqualIgnoreDamageLnet/minecraft/item/ItemStack;isItemEqualIgnoreDamage(Lnet/minecraft/item/ItemStack;)Z
-
isItemEqual
- Mappings:
Namespace Name Mixin selector official bLbpx;b(Lbpx;)Zintermediary method_7929Lnet/minecraft/class_1799;method_7929(Lnet/minecraft/class_1799;)Znamed isItemEqualLnet/minecraft/item/ItemStack;isItemEqual(Lnet/minecraft/item/ItemStack;)Z
-
canCombine
- Mappings:
Namespace Name Mixin selector official eLbpx;e(Lbpx;Lbpx;)Zintermediary method_31577Lnet/minecraft/class_1799;method_31577(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Znamed canCombineLnet/minecraft/item/ItemStack;canCombine(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official nLbpx;n()Ljava/lang/String;intermediary method_7922Lnet/minecraft/class_1799;method_7922()Ljava/lang/String;named getTranslationKeyLnet/minecraft/item/ItemStack;getTranslationKey()Ljava/lang/String;
-
toString
-
inventoryTick
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbvx;Laso;IZ)Vintermediary method_7917Lnet/minecraft/class_1799;method_7917(Lnet/minecraft/class_1937;Lnet/minecraft/class_1297;IZ)Vnamed inventoryTickLnet/minecraft/item/ItemStack;inventoryTick(Lnet/minecraft/world/World;Lnet/minecraft/entity/Entity;IZ)V
-
onCraft
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbvx;Lbjl;I)Vintermediary method_7982Lnet/minecraft/class_1799;method_7982(Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;I)Vnamed onCraftLnet/minecraft/item/ItemStack;onCraft(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;I)V
-
getMaxUseTime
public int getMaxUseTime()- Mappings:
Namespace Name Mixin selector official oLbpx;o()Iintermediary method_7935Lnet/minecraft/class_1799;method_7935()Inamed getMaxUseTimeLnet/minecraft/item/ItemStack;getMaxUseTime()I
-
getUseAction
- Mappings:
Namespace Name Mixin selector official pLbpx;p()Lbrm;intermediary method_7976Lnet/minecraft/class_1799;method_7976()Lnet/minecraft/class_1839;named getUseActionLnet/minecraft/item/ItemStack;getUseAction()Lnet/minecraft/util/UseAction;
-
onStoppedUsing
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbvx;Latb;I)Vintermediary method_7930Lnet/minecraft/class_1799;method_7930(Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;I)Vnamed onStoppedUsingLnet/minecraft/item/ItemStack;onStoppedUsing(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;I)V
-
isUsedOnRelease
public boolean isUsedOnRelease()- Mappings:
Namespace Name Mixin selector official qLbpx;q()Zintermediary method_7967Lnet/minecraft/class_1799;method_7967()Znamed isUsedOnReleaseLnet/minecraft/item/ItemStack;isUsedOnRelease()Z
-
hasTag
public boolean hasTag()- Mappings:
Namespace Name Mixin selector official rLbpx;r()Zintermediary method_7985Lnet/minecraft/class_1799;method_7985()Znamed hasTagLnet/minecraft/item/ItemStack;hasTag()Z
-
getTag
- Mappings:
Namespace Name Mixin selector official sLbpx;s()Lmv;intermediary method_7969Lnet/minecraft/class_1799;method_7969()Lnet/minecraft/class_2487;named getTagLnet/minecraft/item/ItemStack;getTag()Lnet/minecraft/nbt/NbtCompound;
-
getOrCreateTag
- Mappings:
Namespace Name Mixin selector official tLbpx;t()Lmv;intermediary method_7948Lnet/minecraft/class_1799;method_7948()Lnet/minecraft/class_2487;named getOrCreateTagLnet/minecraft/item/ItemStack;getOrCreateTag()Lnet/minecraft/nbt/NbtCompound;
-
getOrCreateSubTag
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Ljava/lang/String;)Lmv;intermediary method_7911Lnet/minecraft/class_1799;method_7911(Ljava/lang/String;)Lnet/minecraft/class_2487;named getOrCreateSubTagLnet/minecraft/item/ItemStack;getOrCreateSubTag(Ljava/lang/String;)Lnet/minecraft/nbt/NbtCompound;
-
getSubTag
- Mappings:
Namespace Name Mixin selector official bLbpx;b(Ljava/lang/String;)Lmv;intermediary method_7941Lnet/minecraft/class_1799;method_7941(Ljava/lang/String;)Lnet/minecraft/class_2487;named getSubTagLnet/minecraft/item/ItemStack;getSubTag(Ljava/lang/String;)Lnet/minecraft/nbt/NbtCompound;
-
removeSubTag
- Mappings:
Namespace Name Mixin selector official cLbpx;c(Ljava/lang/String;)Vintermediary method_7983Lnet/minecraft/class_1799;method_7983(Ljava/lang/String;)Vnamed removeSubTagLnet/minecraft/item/ItemStack;removeSubTag(Ljava/lang/String;)V
-
getEnchantments
- Mappings:
Namespace Name Mixin selector official uLbpx;u()Lnb;intermediary method_7921Lnet/minecraft/class_1799;method_7921()Lnet/minecraft/class_2499;named getEnchantmentsLnet/minecraft/item/ItemStack;getEnchantments()Lnet/minecraft/nbt/NbtList;
-
setTag
- Mappings:
Namespace Name Mixin selector official cLbpx;c(Lmv;)Vintermediary method_7980Lnet/minecraft/class_1799;method_7980(Lnet/minecraft/class_2487;)Vnamed setTagLnet/minecraft/item/ItemStack;setTag(Lnet/minecraft/nbt/NbtCompound;)V
-
getName
- Mappings:
Namespace Name Mixin selector official vLbpx;v()Lon;intermediary method_7964Lnet/minecraft/class_1799;method_7964()Lnet/minecraft/class_2561;named getNameLnet/minecraft/item/ItemStack;getName()Lnet/minecraft/text/Text;
-
setCustomName
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lon;)Lbpx;intermediary method_7977Lnet/minecraft/class_1799;method_7977(Lnet/minecraft/class_2561;)Lnet/minecraft/class_1799;named setCustomNameLnet/minecraft/item/ItemStack;setCustomName(Lnet/minecraft/text/Text;)Lnet/minecraft/item/ItemStack;
-
removeCustomName
public void removeCustomName()- Mappings:
Namespace Name Mixin selector official wLbpx;w()Vintermediary method_7925Lnet/minecraft/class_1799;method_7925()Vnamed removeCustomNameLnet/minecraft/item/ItemStack;removeCustomName()V
-
hasCustomName
public boolean hasCustomName()- Mappings:
Namespace Name Mixin selector official xLbpx;x()Zintermediary method_7938Lnet/minecraft/class_1799;method_7938()Znamed hasCustomNameLnet/minecraft/item/ItemStack;hasCustomName()Z
-
getTooltip
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbjl;Lbrk;)Ljava/util/List;intermediary method_7950Lnet/minecraft/class_1799;method_7950(Lnet/minecraft/class_1657;Lnet/minecraft/class_1836;)Ljava/util/List;named getTooltipLnet/minecraft/item/ItemStack;getTooltip(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/client/item/TooltipContext;)Ljava/util/List;
-
isSectionVisible
Determines whether the given tooltip section will be visible according to the given flags.- Mappings:
Namespace Name Mixin selector official aLbpx;a(ILbpx$a;)Zintermediary method_30267Lnet/minecraft/class_1799;method_30267(ILnet/minecraft/class_1799$class_5422;)Znamed isSectionVisibleLnet/minecraft/item/ItemStack;isSectionVisible(ILnet/minecraft/item/ItemStack$TooltipSection;)Z
-
getHideFlags
private int getHideFlags()- Mappings:
Namespace Name Mixin selector official OLbpx;O()Iintermediary method_30266Lnet/minecraft/class_1799;method_30266()Inamed getHideFlagsLnet/minecraft/item/ItemStack;getHideFlags()I
-
addHideFlag
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbpx$a;)Vintermediary method_30268Lnet/minecraft/class_1799;method_30268(Lnet/minecraft/class_1799$class_5422;)Vnamed addHideFlagLnet/minecraft/item/ItemStack;addHideFlag(Lnet/minecraft/item/ItemStack$TooltipSection;)V
-
appendEnchantments
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Ljava/util/List;Lnb;)Vintermediary method_17870Lnet/minecraft/class_1799;method_17870(Ljava/util/List;Lnet/minecraft/class_2499;)Vnamed appendEnchantmentsLnet/minecraft/item/ItemStack;appendEnchantments(Ljava/util/List;Lnet/minecraft/nbt/NbtList;)V
-
parseBlockTag
- Mappings:
Namespace Name Mixin selector official dLbpx;d(Ljava/lang/String;)Ljava/util/Collection;intermediary method_7937Lnet/minecraft/class_1799;method_7937(Ljava/lang/String;)Ljava/util/Collection;named parseBlockTagLnet/minecraft/item/ItemStack;parseBlockTag(Ljava/lang/String;)Ljava/util/Collection;
-
hasGlint
public boolean hasGlint()- Mappings:
Namespace Name Mixin selector official yLbpx;y()Zintermediary method_7958Lnet/minecraft/class_1799;method_7958()Znamed hasGlintLnet/minecraft/item/ItemStack;hasGlint()Z
-
getRarity
- Mappings:
Namespace Name Mixin selector official zLbpx;z()Lbqm;intermediary method_7932Lnet/minecraft/class_1799;method_7932()Lnet/minecraft/class_1814;named getRarityLnet/minecraft/item/ItemStack;getRarity()Lnet/minecraft/util/Rarity;
-
isEnchantable
public boolean isEnchantable()- Mappings:
Namespace Name Mixin selector official ALbpx;A()Zintermediary method_7923Lnet/minecraft/class_1799;method_7923()Znamed isEnchantableLnet/minecraft/item/ItemStack;isEnchantable()Z
-
addEnchantment
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbtr;I)Vintermediary method_7978Lnet/minecraft/class_1799;method_7978(Lnet/minecraft/class_1887;I)Vnamed addEnchantmentLnet/minecraft/item/ItemStack;addEnchantment(Lnet/minecraft/enchantment/Enchantment;I)V
-
hasEnchantments
public boolean hasEnchantments()- Mappings:
Namespace Name Mixin selector official BLbpx;B()Zintermediary method_7942Lnet/minecraft/class_1799;method_7942()Znamed hasEnchantmentsLnet/minecraft/item/ItemStack;hasEnchantments()Z
-
putSubTag
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Ljava/lang/String;Lnn;)Vintermediary method_7959Lnet/minecraft/class_1799;method_7959(Ljava/lang/String;Lnet/minecraft/class_2520;)Vnamed putSubTagLnet/minecraft/item/ItemStack;putSubTag(Ljava/lang/String;Lnet/minecraft/nbt/NbtElement;)V
-
isInFrame
public boolean isInFrame()- Mappings:
Namespace Name Mixin selector official CLbpx;C()Zintermediary method_7961Lnet/minecraft/class_1799;method_7961()Znamed isInFrameLnet/minecraft/item/ItemStack;isInFrame()Z
-
setHolder
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Laso;)Vintermediary method_27320Lnet/minecraft/class_1799;method_27320(Lnet/minecraft/class_1297;)Vnamed setHolderLnet/minecraft/item/ItemStack;setHolder(Lnet/minecraft/entity/Entity;)V
-
getFrame
- Mappings:
Namespace Name Mixin selector official DLbpx;D()Lbge;intermediary method_7945Lnet/minecraft/class_1799;method_7945()Lnet/minecraft/class_1533;named getFrameLnet/minecraft/item/ItemStack;getFrame()Lnet/minecraft/entity/decoration/ItemFrameEntity;
-
getHolder
- Mappings:
Namespace Name Mixin selector official ELbpx;E()Laso;intermediary method_27319Lnet/minecraft/class_1799;method_27319()Lnet/minecraft/class_1297;named getHolderLnet/minecraft/item/ItemStack;getHolder()Lnet/minecraft/entity/Entity;
-
getRepairCost
public int getRepairCost()- Mappings:
Namespace Name Mixin selector official FLbpx;F()Iintermediary method_7928Lnet/minecraft/class_1799;method_7928()Inamed getRepairCostLnet/minecraft/item/ItemStack;getRepairCost()I
-
setRepairCost
public void setRepairCost(int repairCost)- Mappings:
Namespace Name Mixin selector official cLbpx;c(I)Vintermediary method_7927Lnet/minecraft/class_1799;method_7927(I)Vnamed setRepairCostLnet/minecraft/item/ItemStack;setRepairCost(I)V
-
getAttributeModifiers
public Multimap<EntityAttribute,EntityAttributeModifier> getAttributeModifiers(EquipmentSlot slot)- Mappings:
Namespace Name Mixin selector official aLbpx;a(Last;)Lcom/google/common/collect/Multimap;intermediary method_7926Lnet/minecraft/class_1799;method_7926(Lnet/minecraft/class_1304;)Lcom/google/common/collect/Multimap;named getAttributeModifiersLnet/minecraft/item/ItemStack;getAttributeModifiers(Lnet/minecraft/entity/EquipmentSlot;)Lcom/google/common/collect/Multimap;
-
addAttributeModifier
public void addAttributeModifier(EntityAttribute attribute, EntityAttributeModifier modifier, @Nullable @Nullable EquipmentSlot slot)- Mappings:
Namespace Name Mixin selector official aLbpx;a(Latx;Laua;Last;)Vintermediary method_7916Lnet/minecraft/class_1799;method_7916(Lnet/minecraft/class_1320;Lnet/minecraft/class_1322;Lnet/minecraft/class_1304;)Vnamed addAttributeModifierLnet/minecraft/item/ItemStack;addAttributeModifier(Lnet/minecraft/entity/attribute/EntityAttribute;Lnet/minecraft/entity/attribute/EntityAttributeModifier;Lnet/minecraft/entity/EquipmentSlot;)V
-
toHoverableText
- Mappings:
Namespace Name Mixin selector official GLbpx;G()Lon;intermediary method_7954Lnet/minecraft/class_1799;method_7954()Lnet/minecraft/class_2561;named toHoverableTextLnet/minecraft/item/ItemStack;toHoverableText()Lnet/minecraft/text/Text;
-
areBlocksEqual
private static boolean areBlocksEqual(CachedBlockPosition first, @Nullable @Nullable CachedBlockPosition second)- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lckb;Lckb;)Zintermediary method_7918Lnet/minecraft/class_1799;method_7918(Lnet/minecraft/class_2694;Lnet/minecraft/class_2694;)Znamed areBlocksEqualLnet/minecraft/item/ItemStack;areBlocksEqual(Lnet/minecraft/block/pattern/CachedBlockPosition;Lnet/minecraft/block/pattern/CachedBlockPosition;)Z
-
canDestroy
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lafu;Lckb;)Zintermediary method_7940Lnet/minecraft/class_1799;method_7940(Lnet/minecraft/class_5415;Lnet/minecraft/class_2694;)Znamed canDestroyLnet/minecraft/item/ItemStack;canDestroy(Lnet/minecraft/tag/TagManager;Lnet/minecraft/block/pattern/CachedBlockPosition;)Z
-
canPlaceOn
- Mappings:
Namespace Name Mixin selector official bLbpx;b(Lafu;Lckb;)Zintermediary method_7944Lnet/minecraft/class_1799;method_7944(Lnet/minecraft/class_5415;Lnet/minecraft/class_2694;)Znamed canPlaceOnLnet/minecraft/item/ItemStack;canPlaceOn(Lnet/minecraft/tag/TagManager;Lnet/minecraft/block/pattern/CachedBlockPosition;)Z
-
getCooldown
public int getCooldown()- Mappings:
Namespace Name Mixin selector official HLbpx;H()Iintermediary method_7965Lnet/minecraft/class_1799;method_7965()Inamed getCooldownLnet/minecraft/item/ItemStack;getCooldown()I
-
setCooldown
public void setCooldown(int cooldown)- Mappings:
Namespace Name Mixin selector official dLbpx;d(I)Vintermediary method_7912Lnet/minecraft/class_1799;method_7912(I)Vnamed setCooldownLnet/minecraft/item/ItemStack;setCooldown(I)V
-
getCount
public int getCount()- Mappings:
Namespace Name Mixin selector official ILbpx;I()Iintermediary method_7947Lnet/minecraft/class_1799;method_7947()Inamed getCountLnet/minecraft/item/ItemStack;getCount()I
-
setCount
public void setCount(int count)- Mappings:
Namespace Name Mixin selector official eLbpx;e(I)Vintermediary method_7939Lnet/minecraft/class_1799;method_7939(I)Vnamed setCountLnet/minecraft/item/ItemStack;setCount(I)V
-
increment
public void increment(int amount)- Mappings:
Namespace Name Mixin selector official fLbpx;f(I)Vintermediary method_7933Lnet/minecraft/class_1799;method_7933(I)Vnamed incrementLnet/minecraft/item/ItemStack;increment(I)V
-
decrement
public void decrement(int amount)- Mappings:
Namespace Name Mixin selector official gLbpx;g(I)Vintermediary method_7934Lnet/minecraft/class_1799;method_7934(I)Vnamed decrementLnet/minecraft/item/ItemStack;decrement(I)V
-
usageTick
- Mappings:
Namespace Name Mixin selector official bLbpx;b(Lbvx;Latb;I)Vintermediary method_7949Lnet/minecraft/class_1799;method_7949(Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;I)Vnamed usageTickLnet/minecraft/item/ItemStack;usageTick(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;I)V
-
onItemEntityDestroyed
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbgk;)Vintermediary method_33262Lnet/minecraft/class_1799;method_33262(Lnet/minecraft/class_1542;)Vnamed onItemEntityDestroyedLnet/minecraft/item/ItemStack;onItemEntityDestroyed(Lnet/minecraft/entity/ItemEntity;)V
-
isFood
public boolean isFood()- Mappings:
Namespace Name Mixin selector official JLbpx;J()Zintermediary method_19267Lnet/minecraft/class_1799;method_19267()Znamed isFoodLnet/minecraft/item/ItemStack;isFood()Z
-
getDrinkSound
- Mappings:
Namespace Name Mixin selector official KLbpx;K()Laev;intermediary method_21832Lnet/minecraft/class_1799;method_21832()Lnet/minecraft/class_3414;named getDrinkSoundLnet/minecraft/item/ItemStack;getDrinkSound()Lnet/minecraft/sound/SoundEvent;
-
getEatSound
- Mappings:
Namespace Name Mixin selector official LLbpx;L()Laev;intermediary method_21833Lnet/minecraft/class_1799;method_21833()Lnet/minecraft/class_3414;named getEatSoundLnet/minecraft/item/ItemStack;getEatSound()Lnet/minecraft/sound/SoundEvent;
-
getEquipSound
- Mappings:
Namespace Name Mixin selector official MLbpx;M()Laev;intermediary method_31572Lnet/minecraft/class_1799;method_31572()Lnet/minecraft/class_3414;named getEquipSoundLnet/minecraft/item/ItemStack;getEquipSound()Lnet/minecraft/sound/SoundEvent;
-