Package net.minecraft.item
Class ItemStack
java.lang.Object
net.minecraft.item.ItemStack
- Mappings:
Namespace Name official ateintermediary net/minecraft/class_1071named net/minecraft/item/ItemStack
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate booleanstatic final ItemStackprivate static final Loggerprivate RayTraceResultprivate RayTraceResultprivate intprivate final ItemDeprecated.private ItemFrameEntityprivate booleanprivate booleanstatic final DecimalFormatprivate NbtCompound -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEnchantment(Enchantment enchantment, int level) copy()voiddamage(int amount, LivingEntity entity) voiddecrement(int amount) booleanstatic booleanprivate booleanstatic booleanstatic booleanequalsIgnoreDamage(ItemStack left, ItemStack right) booleanequalsIgnoreNbt(ItemStack stack) static booleanequalsIgnoreNbt(ItemStack left, ItemStack right) intgetCount()intgetItem()intintintgetNbt()intbooleanbooleanbooleanbooleanhasNbt()voidincrement(int amount) voidinventoryTick(World world, Entity entity, int slot, boolean selected) booleanbooleanbooleanisEmpty()booleanisEmpty_()booleanbooleanvoidmethod_11306(World world, BlockState blockState, BlockPos blockPos, PlayerEntity playerEntity) method_11388(World world, LivingEntity entity) voidmethod_11389(World world, LivingEntity livingEntity, int int2) method_11390(World world, PlayerEntity player, Hand hand) floatmethod_11391(BlockState state) voidmethod_11392(String attributeName, AttributeModifier modifier, EquipmentSlot slot) method_11393(EquipmentSlot slot) booleanmethod_11396(BlockState state) intmethod_13655(String string) voidmethod_13656(int int2) method_13657(String string) method_14235(PlayerEntity playerEntity, TooltipContext tooltipContext) private static DecimalFormatmethod_16097(ItemUsageContext itemUsageContext) private static booleanmethod_16098(RayTraceResult rayTraceResult, RayTraceResult rayTraceResult2) static ItemStackmethod_16099(NbtCompound nbtCompound) method_16101(Text text) voidmethod_16102(String string, class_4373 class_4373) booleanmethod_16103(class_4488 class_4488, RayTraceResult rayTraceResult) voidmethod_16104(int int2) booleanmethod_16106(class_4488 class_4488, RayTraceResult rayTraceResult) voidmethod_16107(String string) private static Collection<Text>method_16108(String string) booleanmethod_5464(int int2, Random rand, ServerPlayerEntity player) booleanmethod_6329(PlayerEntity player, LivingEntity entity, Hand hand) voidonCraft(World world, PlayerEntity player, int amount) voidonEntityHit(LivingEntity entity, PlayerEntity attacker) voidvoidsetCount(int count) voidsetInItemFrame(ItemFrameEntity itemFrame) voidsetNbt(NbtCompound nbt) voidsetRepairCost(int cost) split(int amount) toNbt(NbtCompound nbt) toString()private void
-
Field Details
-
field_17201
- Mappings:
Namespace Name Mixin selector official cLate;c:Lorg/apache/logging/log4j/Logger;intermediary field_17201Lnet/minecraft/class_1071;field_17201:Lorg/apache/logging/log4j/Logger;named field_17201Lnet/minecraft/item/ItemStack;field_17201:Lorg/apache/logging/log4j/Logger;
-
EMPTY
- Mappings:
Namespace Name Mixin selector official aLate;a:Late;intermediary field_15108Lnet/minecraft/class_1071;field_15108:Lnet/minecraft/class_1071;named EMPTYLnet/minecraft/item/ItemStack;EMPTY:Lnet/minecraft/item/ItemStack;
-
MODIFIER_FORMAT
- Mappings:
Namespace Name Mixin selector official bLate;b:Ljava/text/DecimalFormat;intermediary field_6949Lnet/minecraft/class_1071;field_6949:Ljava/text/DecimalFormat;named MODIFIER_FORMATLnet/minecraft/item/ItemStack;MODIFIER_FORMAT:Ljava/text/DecimalFormat;
-
count
private int count- Mappings:
Namespace Name Mixin selector official dLate;d:Iintermediary field_4376Lnet/minecraft/class_1071;field_4376:Inamed countLnet/minecraft/item/ItemStack;count:I
-
field_4377
private int field_4377- Mappings:
Namespace Name Mixin selector official eLate;e:Iintermediary field_4377Lnet/minecraft/class_1071;field_4377:Inamed field_4377Lnet/minecraft/item/ItemStack;field_4377:I
-
item
Deprecated.- Mappings:
Namespace Name Mixin selector official fLate;f:Lata;intermediary field_6974Lnet/minecraft/class_1071;field_6974:Lnet/minecraft/class_1069;named itemLnet/minecraft/item/ItemStack;item:Lnet/minecraft/item/Item;
-
nbt
- Mappings:
Namespace Name Mixin selector official gLate;g:Lgy;intermediary field_4379Lnet/minecraft/class_1071;field_4379:Lnet/minecraft/class_322;named nbtLnet/minecraft/item/ItemStack;nbt:Lnet/minecraft/nbt/NbtCompound;
-
empty
private boolean empty- Mappings:
Namespace Name Mixin selector official hLate;h:Zintermediary field_15109Lnet/minecraft/class_1071;field_15109:Znamed emptyLnet/minecraft/item/ItemStack;empty:Z
-
itemFrame
- Mappings:
Namespace Name Mixin selector official iLate;i:Lamb;intermediary field_5446Lnet/minecraft/class_1071;field_5446:Lnet/minecraft/class_1397;named itemFrameLnet/minecraft/item/ItemStack;itemFrame:Lnet/minecraft/entity/decoration/ItemFrameEntity;
-
field_17202
- Mappings:
Namespace Name Mixin selector official jLate;j:Lblh;intermediary field_17202Lnet/minecraft/class_1071;field_17202:Lnet/minecraft/class_2235;named field_17202Lnet/minecraft/item/ItemStack;field_17202:Lnet/minecraft/world/RayTraceResult;
-
lastDestroyResult
private boolean lastDestroyResult- Mappings:
Namespace Name Mixin selector official kLate;k:Zintermediary field_12185Lnet/minecraft/class_1071;field_12185:Znamed lastDestroyResultLnet/minecraft/item/ItemStack;lastDestroyResult:Z
-
field_17203
- Mappings:
Namespace Name Mixin selector official lLate;l:Lblh;intermediary field_17203Lnet/minecraft/class_1071;field_17203:Lnet/minecraft/class_2235;named field_17203Lnet/minecraft/item/ItemStack;field_17203:Lnet/minecraft/world/RayTraceResult;
-
lastPlaceOnResult
private boolean lastPlaceOnResult- Mappings:
Namespace Name Mixin selector official mLate;m:Zintermediary field_12187Lnet/minecraft/class_1071;field_12187:Znamed lastPlaceOnResultLnet/minecraft/item/ItemStack;lastPlaceOnResult:Z
-
-
Constructor Details
-
ItemStack
-
ItemStack
-
ItemStack
- Mappings:
Namespace Name Mixin selector official <init>Late;<init>(Lgy;)Vintermediary <init>Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_322;)Vnamed <init>Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/nbt/NbtCompound;)V
-
-
Method Details
-
method_16096
- Mappings:
Namespace Name Mixin selector official DLate;D()Ljava/text/DecimalFormat;intermediary method_16096Lnet/minecraft/class_1071;method_16096()Ljava/text/DecimalFormat;named method_16096Lnet/minecraft/item/ItemStack;method_16096()Ljava/text/DecimalFormat;
-
updateStackStatus
private void updateStackStatus()- Mappings:
Namespace Name Mixin selector official ELate;E()Vintermediary method_13653Lnet/minecraft/class_1071;method_13653()Vnamed updateStackStatusLnet/minecraft/item/ItemStack;updateStackStatus()V
-
method_16099
- Mappings:
Namespace Name Mixin selector official aLate;a(Lgy;)Late;intermediary method_16099Lnet/minecraft/class_1071;method_16099(Lnet/minecraft/class_322;)Lnet/minecraft/class_1071;named method_16099Lnet/minecraft/item/ItemStack;method_16099(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/item/ItemStack;
-
isEmpty_
public boolean isEmpty_()- Mappings:
Namespace Name Mixin selector official aLate;a()Zintermediary method_13654Lnet/minecraft/class_1071;method_13654()Znamed isEmpty_Lnet/minecraft/item/ItemStack;isEmpty_()Z
-
split
- Mappings:
Namespace Name Mixin selector official aLate;a(I)Late;intermediary method_3405Lnet/minecraft/class_1071;method_3405(I)Lnet/minecraft/class_1071;named splitLnet/minecraft/item/ItemStack;split(I)Lnet/minecraft/item/ItemStack;
-
getItem
- Mappings:
Namespace Name Mixin selector official bLate;b()Lata;intermediary method_3421Lnet/minecraft/class_1071;method_3421()Lnet/minecraft/class_1069;named getItemLnet/minecraft/item/ItemStack;getItem()Lnet/minecraft/item/Item;
-
method_16097
- Mappings:
Namespace Name Mixin selector official aLate;a(Laup;)Ladm;intermediary method_16097Lnet/minecraft/class_1071;method_16097(Lnet/minecraft/class_3565;)Lnet/minecraft/class_2962;named method_16097Lnet/minecraft/item/ItemStack;method_16097(Lnet/minecraft/item/ItemUsageContext;)Lnet/minecraft/util/ActionResult;
-
method_11391
- Mappings:
Namespace Name Mixin selector official aLate;a(Lblc;)Fintermediary method_11391Lnet/minecraft/class_1071;method_11391(Lnet/minecraft/class_2232;)Fnamed method_11391Lnet/minecraft/item/ItemStack;method_11391(Lnet/minecraft/block/BlockState;)F
-
method_11390
- Mappings:
Namespace Name Mixin selector official aLate;a(Laxy;Laog;Ladk;)Ladn;intermediary method_11390Lnet/minecraft/class_1071;method_11390(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Lnet/minecraft/class_2963;named method_11390Lnet/minecraft/item/ItemStack;method_11390(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/TypedActionResult;
-
method_11388
- Mappings:
Namespace Name Mixin selector official aLate;a(Laxy;Lafa;)Late;intermediary method_11388Lnet/minecraft/class_1071;method_11388(Lnet/minecraft/class_1150;Lnet/minecraft/class_1699;)Lnet/minecraft/class_1071;named method_11388Lnet/minecraft/item/ItemStack;method_11388(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/item/ItemStack;
-
toNbt
- Mappings:
Namespace Name Mixin selector official bLate;b(Lgy;)Lgy;intermediary method_3424Lnet/minecraft/class_1071;method_3424(Lnet/minecraft/class_322;)Lnet/minecraft/class_322;named toNbtLnet/minecraft/item/ItemStack;toNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
getMaxCount
public int getMaxCount()- Mappings:
Namespace Name Mixin selector official cLate;c()Iintermediary method_3432Lnet/minecraft/class_1071;method_3432()Inamed getMaxCountLnet/minecraft/item/ItemStack;getMaxCount()I
-
isDamaged
public boolean isDamaged()- Mappings:
Namespace Name Mixin selector official dLate;d()Zintermediary method_3435Lnet/minecraft/class_1071;method_3435()Znamed isDamagedLnet/minecraft/item/ItemStack;isDamaged()Z
-
isDamageable
public boolean isDamageable()- Mappings:
Namespace Name Mixin selector official eLate;e()Zintermediary method_3436Lnet/minecraft/class_1071;method_3436()Znamed isDamageableLnet/minecraft/item/ItemStack;isDamageable()Z
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official fLate;f()Zintermediary method_3438Lnet/minecraft/class_1071;method_3438()Znamed isEmptyLnet/minecraft/item/ItemStack;isEmpty()Z
-
getDamage
public int getDamage()- Mappings:
Namespace Name Mixin selector official gLate;g()Iintermediary method_3439Lnet/minecraft/class_1071;method_3439()Inamed getDamageLnet/minecraft/item/ItemStack;getDamage()I
-
method_16104
public void method_16104(int int2) - Mappings:
Namespace Name Mixin selector official bLate;b(I)Vintermediary method_16104Lnet/minecraft/class_1071;method_16104(I)Vnamed method_16104Lnet/minecraft/item/ItemStack;method_16104(I)V
-
getMaxDamage
public int getMaxDamage()- Mappings:
Namespace Name Mixin selector official hLate;h()Iintermediary method_3441Lnet/minecraft/class_1071;method_3441()Inamed getMaxDamageLnet/minecraft/item/ItemStack;getMaxDamage()I
-
method_5464
- Mappings:
Namespace Name Mixin selector official aLate;a(ILjava/util/Random;Ltf;)Zintermediary method_5464Lnet/minecraft/class_1071;method_5464(ILjava/util/Random;Lnet/minecraft/class_798;)Znamed method_5464Lnet/minecraft/item/ItemStack;method_5464(ILjava/util/Random;Lnet/minecraft/entity/player/ServerPlayerEntity;)Z
-
damage
- Mappings:
Namespace Name Mixin selector official aLate;a(ILafa;)Vintermediary method_6328Lnet/minecraft/class_1071;method_6328(ILnet/minecraft/class_1699;)Vnamed damageLnet/minecraft/item/ItemStack;damage(ILnet/minecraft/entity/LivingEntity;)V
-
onEntityHit
- Mappings:
Namespace Name Mixin selector official aLate;a(Lafa;Laog;)Vintermediary method_3412Lnet/minecraft/class_1071;method_3412(Lnet/minecraft/class_1699;Lnet/minecraft/class_988;)Vnamed onEntityHitLnet/minecraft/item/ItemStack;onEntityHit(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/player/PlayerEntity;)V
-
method_11306
public void method_11306(World world, BlockState blockState, BlockPos blockPos, PlayerEntity playerEntity) - Mappings:
Namespace Name Mixin selector official aLate;a(Laxy;Lblc;Lel;Laog;)Vintermediary method_11306Lnet/minecraft/class_1071;method_11306(Lnet/minecraft/class_1150;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;)Vnamed method_11306Lnet/minecraft/item/ItemStack;method_11306(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)V
-
method_11396
- Mappings:
Namespace Name Mixin selector official bLate;b(Lblc;)Zintermediary method_11396Lnet/minecraft/class_1071;method_11396(Lnet/minecraft/class_2232;)Znamed method_11396Lnet/minecraft/item/ItemStack;method_11396(Lnet/minecraft/block/BlockState;)Z
-
method_6329
- Mappings:
Namespace Name Mixin selector official aLate;a(Laog;Lafa;Ladk;)Zintermediary method_6329Lnet/minecraft/class_1071;method_6329(Lnet/minecraft/class_988;Lnet/minecraft/class_1699;Lnet/minecraft/class_2961;)Znamed method_6329Lnet/minecraft/item/ItemStack;method_6329(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/Hand;)Z
-
copy
- Mappings:
Namespace Name Mixin selector official iLate;i()Late;intermediary method_3442Lnet/minecraft/class_1071;method_3442()Lnet/minecraft/class_1071;named copyLnet/minecraft/item/ItemStack;copy()Lnet/minecraft/item/ItemStack;
-
equalsIgnoreDamage
- Mappings:
Namespace Name Mixin selector official aLate;a(Late;Late;)Zintermediary method_3415Lnet/minecraft/class_1071;method_3415(Lnet/minecraft/class_1071;Lnet/minecraft/class_1071;)Znamed equalsIgnoreDamageLnet/minecraft/item/ItemStack;equalsIgnoreDamage(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
equalsAll
- Mappings:
Namespace Name Mixin selector official bLate;b(Late;Late;)Zintermediary method_3426Lnet/minecraft/class_1071;method_3426(Lnet/minecraft/class_1071;Lnet/minecraft/class_1071;)Znamed equalsAllLnet/minecraft/item/ItemStack;equalsAll(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
equalsAll
- Mappings:
Namespace Name Mixin selector official cLate;c(Late;)Zintermediary method_3434Lnet/minecraft/class_1071;method_3434(Lnet/minecraft/class_1071;)Znamed equalsAllLnet/minecraft/item/ItemStack;equalsAll(Lnet/minecraft/item/ItemStack;)Z
-
equalsIgnoreNbt
- Mappings:
Namespace Name Mixin selector official cLate;c(Late;Late;)Zintermediary method_11311Lnet/minecraft/class_1071;method_11311(Lnet/minecraft/class_1071;Lnet/minecraft/class_1071;)Znamed equalsIgnoreNbtLnet/minecraft/item/ItemStack;equalsIgnoreNbt(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
equals
- Mappings:
Namespace Name Mixin selector official dLate;d(Late;Late;)Zintermediary method_11397Lnet/minecraft/class_1071;method_11397(Lnet/minecraft/class_1071;Lnet/minecraft/class_1071;)Znamed equalsLnet/minecraft/item/ItemStack;equals(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
equalsIgnoreNbt
- Mappings:
Namespace Name Mixin selector official aLate;a(Late;)Zintermediary method_3414Lnet/minecraft/class_1071;method_3414(Lnet/minecraft/class_1071;)Znamed equalsIgnoreNbtLnet/minecraft/item/ItemStack;equalsIgnoreNbt(Lnet/minecraft/item/ItemStack;)Z
-
equals
- Mappings:
Namespace Name Mixin selector official bLate;b(Late;)Zintermediary method_11395Lnet/minecraft/class_1071;method_11395(Lnet/minecraft/class_1071;)Znamed equalsLnet/minecraft/item/ItemStack;equals(Lnet/minecraft/item/ItemStack;)Z
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official jLate;j()Ljava/lang/String;intermediary method_3404Lnet/minecraft/class_1071;method_3404()Ljava/lang/String;named getTranslationKeyLnet/minecraft/item/ItemStack;getTranslationKey()Ljava/lang/String;
-
toString
-
inventoryTick
- Mappings:
Namespace Name Mixin selector official aLate;a(Laxy;Laer;IZ)Vintermediary method_3418Lnet/minecraft/class_1071;method_3418(Lnet/minecraft/class_1150;Lnet/minecraft/class_864;IZ)Vnamed inventoryTickLnet/minecraft/item/ItemStack;inventoryTick(Lnet/minecraft/world/World;Lnet/minecraft/entity/Entity;IZ)V
-
onCraft
- Mappings:
Namespace Name Mixin selector official aLate;a(Laxy;Laog;I)Vintermediary method_3420Lnet/minecraft/class_1071;method_3420(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;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 kLate;k()Iintermediary method_3443Lnet/minecraft/class_1071;method_3443()Inamed getMaxUseTimeLnet/minecraft/item/ItemStack;getMaxUseTime()I
-
getUseAction
- Mappings:
Namespace Name Mixin selector official lLate;l()Lauo;intermediary method_3444Lnet/minecraft/class_1071;method_3444()Lnet/minecraft/class_1099;named getUseActionLnet/minecraft/item/ItemStack;getUseAction()Lnet/minecraft/util/UseAction;
-
method_11389
- Mappings:
Namespace Name Mixin selector official aLate;a(Laxy;Lafa;I)Vintermediary method_11389Lnet/minecraft/class_1071;method_11389(Lnet/minecraft/class_1150;Lnet/minecraft/class_1699;I)Vnamed method_11389Lnet/minecraft/item/ItemStack;method_11389(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;I)V
-
hasNbt
public boolean hasNbt()- Mappings:
Namespace Name Mixin selector official mLate;m()Zintermediary method_3445Lnet/minecraft/class_1071;method_3445()Znamed hasNbtLnet/minecraft/item/ItemStack;hasNbt()Z
-
getNbt
- Mappings:
Namespace Name Mixin selector official nLate;n()Lgy;intermediary method_3446Lnet/minecraft/class_1071;method_3446()Lnet/minecraft/class_322;named getNbtLnet/minecraft/item/ItemStack;getNbt()Lnet/minecraft/nbt/NbtCompound;
-
method_16109
- Mappings:
Namespace Name Mixin selector official oLate;o()Lgy;intermediary method_16109Lnet/minecraft/class_1071;method_16109()Lnet/minecraft/class_322;named method_16109Lnet/minecraft/item/ItemStack;method_16109()Lnet/minecraft/nbt/NbtCompound;
-
method_13655
- Mappings:
Namespace Name Mixin selector official aLate;a(Ljava/lang/String;)Lgy;intermediary method_13655Lnet/minecraft/class_1071;method_13655(Ljava/lang/String;)Lnet/minecraft/class_322;named method_13655Lnet/minecraft/item/ItemStack;method_13655(Ljava/lang/String;)Lnet/minecraft/nbt/NbtCompound;
-
method_13657
- Mappings:
Namespace Name Mixin selector official bLate;b(Ljava/lang/String;)Lgy;intermediary method_13657Lnet/minecraft/class_1071;method_13657(Ljava/lang/String;)Lnet/minecraft/class_322;named method_13657Lnet/minecraft/item/ItemStack;method_13657(Ljava/lang/String;)Lnet/minecraft/nbt/NbtCompound;
-
method_16107
- Mappings:
Namespace Name Mixin selector official cLate;c(Ljava/lang/String;)Vintermediary method_16107Lnet/minecraft/class_1071;method_16107(Ljava/lang/String;)Vnamed method_16107Lnet/minecraft/item/ItemStack;method_16107(Ljava/lang/String;)V
-
getEnchantments
- Mappings:
Namespace Name Mixin selector official pLate;p()Lhe;intermediary method_3447Lnet/minecraft/class_1071;method_3447()Lnet/minecraft/class_474;named getEnchantmentsLnet/minecraft/item/ItemStack;getEnchantments()Lnet/minecraft/nbt/NbtList;
-
setNbt
- Mappings:
Namespace Name Mixin selector official cLate;c(Lgy;)Vintermediary method_3433Lnet/minecraft/class_1071;method_3433(Lnet/minecraft/class_322;)Vnamed setNbtLnet/minecraft/item/ItemStack;setNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_16110
- Mappings:
Namespace Name Mixin selector official qLate;q()Lij;intermediary method_16110Lnet/minecraft/class_1071;method_16110()Lnet/minecraft/class_1982;named method_16110Lnet/minecraft/item/ItemStack;method_16110()Lnet/minecraft/text/Text;
-
method_16101
- Mappings:
Namespace Name Mixin selector official aLate;a(Lij;)Late;intermediary method_16101Lnet/minecraft/class_1071;method_16101(Lnet/minecraft/class_1982;)Lnet/minecraft/class_1071;named method_16101Lnet/minecraft/item/ItemStack;method_16101(Lnet/minecraft/text/Text;)Lnet/minecraft/item/ItemStack;
-
removeCustomName
public void removeCustomName()- Mappings:
Namespace Name Mixin selector official rLate;r()Vintermediary method_6330Lnet/minecraft/class_1071;method_6330()Vnamed removeCustomNameLnet/minecraft/item/ItemStack;removeCustomName()V
-
hasCustomName
public boolean hasCustomName()- Mappings:
Namespace Name Mixin selector official sLate;s()Zintermediary method_4624Lnet/minecraft/class_1071;method_4624()Znamed hasCustomNameLnet/minecraft/item/ItemStack;hasCustomName()Z
-
method_14235
@Environment(CLIENT) public List<Text> method_14235(@Nullable PlayerEntity playerEntity, TooltipContext tooltipContext) - Mappings:
Namespace Name Mixin selector official aLate;a(Laog;Laum;)Ljava/util/List;intermediary method_14235Lnet/minecraft/class_1071;method_14235(Lnet/minecraft/class_988;Lnet/minecraft/class_3191;)Ljava/util/List;named method_14235Lnet/minecraft/item/ItemStack;method_14235(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/client/TooltipContext;)Ljava/util/List;
-
method_16108
- Mappings:
Namespace Name Mixin selector official dLate;d(Ljava/lang/String;)Ljava/util/Collection;intermediary method_16108Lnet/minecraft/class_1071;method_16108(Ljava/lang/String;)Ljava/util/Collection;named method_16108Lnet/minecraft/item/ItemStack;method_16108(Ljava/lang/String;)Ljava/util/Collection;
-
hasEnchantmentGlint
- Mappings:
Namespace Name Mixin selector official tLate;t()Zintermediary method_3449Lnet/minecraft/class_1071;method_3449()Znamed hasEnchantmentGlintLnet/minecraft/item/ItemStack;hasEnchantmentGlint()Z
-
getRarity
- Mappings:
Namespace Name Mixin selector official uLate;u()Latq;intermediary method_3450Lnet/minecraft/class_1071;method_3450()Lnet/minecraft/class_1081;named getRarityLnet/minecraft/item/ItemStack;getRarity()Lnet/minecraft/util/Rarity;
-
isEnchantable
public boolean isEnchantable()- Mappings:
Namespace Name Mixin selector official vLate;v()Zintermediary method_3451Lnet/minecraft/class_1071;method_3451()Znamed isEnchantableLnet/minecraft/item/ItemStack;isEnchantable()Z
-
addEnchantment
- Mappings:
Namespace Name Mixin selector official aLate;a(Lawe;I)Vintermediary method_3416Lnet/minecraft/class_1071;method_3416(Lnet/minecraft/class_1127;I)Vnamed addEnchantmentLnet/minecraft/item/ItemStack;addEnchantment(Lnet/minecraft/enchantment/Enchantment;I)V
-
hasEnchantments
public boolean hasEnchantments()- Mappings:
Namespace Name Mixin selector official wLate;w()Zintermediary method_3452Lnet/minecraft/class_1071;method_3452()Znamed hasEnchantmentsLnet/minecraft/item/ItemStack;hasEnchantments()Z
-
method_16102
- Mappings:
Namespace Name Mixin selector official aLate;a(Ljava/lang/String;Lho;)Vintermediary method_16102Lnet/minecraft/class_1071;method_16102(Ljava/lang/String;Lnet/minecraft/class_4373;)Vnamed method_16102Lnet/minecraft/item/ItemStack;method_16102(Ljava/lang/String;Lnet/minecraft/class_4373;)V
-
isInItemFrame
public boolean isInItemFrame()- Mappings:
Namespace Name Mixin selector official xLate;x()Zintermediary method_4626Lnet/minecraft/class_1071;method_4626()Znamed isInItemFrameLnet/minecraft/item/ItemStack;isInItemFrame()Z
-
setInItemFrame
- Mappings:
Namespace Name Mixin selector official aLate;a(Lamb;)Vintermediary method_4619Lnet/minecraft/class_1071;method_4619(Lnet/minecraft/class_1397;)Vnamed setInItemFrameLnet/minecraft/item/ItemStack;setInItemFrame(Lnet/minecraft/entity/decoration/ItemFrameEntity;)V
-
getItemFrame
- Mappings:
Namespace Name Mixin selector official yLate;y()Lamb;intermediary method_4627Lnet/minecraft/class_1071;method_4627()Lnet/minecraft/class_1397;named getItemFrameLnet/minecraft/item/ItemStack;getItemFrame()Lnet/minecraft/entity/decoration/ItemFrameEntity;
-
getRepairCost
public int getRepairCost()- Mappings:
Namespace Name Mixin selector official zLate;z()Iintermediary method_4618Lnet/minecraft/class_1071;method_4618()Inamed getRepairCostLnet/minecraft/item/ItemStack;getRepairCost()I
-
setRepairCost
public void setRepairCost(int cost) - Mappings:
Namespace Name Mixin selector official cLate;c(I)Vintermediary method_4621Lnet/minecraft/class_1071;method_4621(I)Vnamed setRepairCostLnet/minecraft/item/ItemStack;setRepairCost(I)V
-
method_11393
- Mappings:
Namespace Name Mixin selector official aLate;a(Laew;)Lcom/google/common/collect/Multimap;intermediary method_11393Lnet/minecraft/class_1071;method_11393(Lnet/minecraft/class_2968;)Lcom/google/common/collect/Multimap;named method_11393Lnet/minecraft/item/ItemStack;method_11393(Lnet/minecraft/entity/EquipmentSlot;)Lcom/google/common/collect/Multimap;
-
method_11392
public void method_11392(String attributeName, AttributeModifier modifier, @Nullable EquipmentSlot slot) - Mappings:
Namespace Name Mixin selector official aLate;a(Ljava/lang/String;Lafo;Laew;)Vintermediary method_11392Lnet/minecraft/class_1071;method_11392(Ljava/lang/String;Lnet/minecraft/class_1704;Lnet/minecraft/class_2968;)Vnamed method_11392Lnet/minecraft/item/ItemStack;method_11392(Ljava/lang/String;Lnet/minecraft/entity/attribute/AttributeModifier;Lnet/minecraft/entity/EquipmentSlot;)V
-
toHoverableText
- Mappings:
Namespace Name Mixin selector official ALate;A()Lij;intermediary method_6371Lnet/minecraft/class_1071;method_6371()Lnet/minecraft/class_1982;named toHoverableTextLnet/minecraft/item/ItemStack;toHoverableText()Lnet/minecraft/text/Text;
-
method_16098
private static boolean method_16098(RayTraceResult rayTraceResult, @Nullable RayTraceResult rayTraceResult2) - Mappings:
Namespace Name Mixin selector official aLate;a(Lblh;Lblh;)Zintermediary method_16098Lnet/minecraft/class_1071;method_16098(Lnet/minecraft/class_2235;Lnet/minecraft/class_2235;)Znamed method_16098Lnet/minecraft/item/ItemStack;method_16098(Lnet/minecraft/world/RayTraceResult;Lnet/minecraft/world/RayTraceResult;)Z
-
method_16103
- Mappings:
Namespace Name Mixin selector official aLate;a(Lxb;Lblh;)Zintermediary method_16103Lnet/minecraft/class_1071;method_16103(Lnet/minecraft/class_4488;Lnet/minecraft/class_2235;)Znamed method_16103Lnet/minecraft/item/ItemStack;method_16103(Lnet/minecraft/class_4488;Lnet/minecraft/world/RayTraceResult;)Z
-
method_16106
- Mappings:
Namespace Name Mixin selector official bLate;b(Lxb;Lblh;)Zintermediary method_16106Lnet/minecraft/class_1071;method_16106(Lnet/minecraft/class_4488;Lnet/minecraft/class_2235;)Znamed method_16106Lnet/minecraft/item/ItemStack;method_16106(Lnet/minecraft/class_4488;Lnet/minecraft/world/RayTraceResult;)Z
-
method_13651
public int method_13651()- Mappings:
Namespace Name Mixin selector official BLate;B()Iintermediary method_13651Lnet/minecraft/class_1071;method_13651()Inamed method_13651Lnet/minecraft/item/ItemStack;method_13651()I
-
method_13656
public void method_13656(int int2) - Mappings:
Namespace Name Mixin selector official dLate;d(I)Vintermediary method_13656Lnet/minecraft/class_1071;method_13656(I)Vnamed method_13656Lnet/minecraft/item/ItemStack;method_13656(I)V
-
getCount
public int getCount()- Mappings:
Namespace Name Mixin selector official CLate;C()Iintermediary method_13652Lnet/minecraft/class_1071;method_13652()Inamed getCountLnet/minecraft/item/ItemStack;getCount()I
-
setCount
public void setCount(int count) - Mappings:
Namespace Name Mixin selector official eLate;e(I)Vintermediary method_13658Lnet/minecraft/class_1071;method_13658(I)Vnamed setCountLnet/minecraft/item/ItemStack;setCount(I)V
-
increment
public void increment(int amount) - Mappings:
Namespace Name Mixin selector official fLate;f(I)Vintermediary method_13660Lnet/minecraft/class_1071;method_13660(I)Vnamed incrementLnet/minecraft/item/ItemStack;increment(I)V
-
decrement
public void decrement(int amount) - Mappings:
Namespace Name Mixin selector official gLate;g(I)Vintermediary method_13662Lnet/minecraft/class_1071;method_13662(I)Vnamed decrementLnet/minecraft/item/ItemStack;decrement(I)V
-