Package net.minecraft.item
Class ItemStack
java.lang.Object
net.minecraft.item.ItemStack
- Mappings:
Namespace Name official adzintermediary net/minecraft/class_1071named net/minecraft/item/ItemStack
-
Field Summary
FieldsModifier and TypeFieldDescriptionintprivate intintprivate Itemprivate ItemFrameEntityprivate Blockprivate booleanprivate Blockprivate booleanstatic final DecimalFormatprivate NbtCompound -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEnchantment(Enchantment enchantment, int level) booleancanDestroy(Block block) booleancanPlaceOn(Block block) copy()static ItemStackbooleanvoiddamage(int amount, LivingEntity entity) booleanstatic booleanprivate booleanstatic booleanstatic booleanequalsIgnoreDamage(ItemStack left, ItemStack right) booleanequalsIgnoreNbt(ItemStack stack) static booleanequalsIgnoreNbt(ItemStack left, ItemStack right) static ItemStackfromNbt(NbtCompound nbt) intgetItem()intintintintgetMeta()getName()getNbt()intgetTooltip(PlayerEntity player, boolean advanced) booleanbooleanbooleanbooleanhasNbt()booleanvoidinventoryTick(World world, Entity entity, int slot, boolean selected) booleanbooleanbooleanisEmpty()booleanbooleanbooleanvoidmethod_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) static voidmethod_13311(class_2934 class_2934) booleanmethod_6329(PlayerEntity player, LivingEntity entity, Hand hand) voidonCraft(World world, PlayerEntity player, int amount) voidonEntityHit(LivingEntity entity, PlayerEntity attacker) voidputSubNbt(String key, NbtElement nbt) voidsetCustomName(String name) voidsetDamage(int damage) voidsetInItemFrame(ItemFrameEntity itemFrame) voidDeprecated.voidsetNbt(NbtCompound nbt) voidsetRepairCost(int cost) split(int amount) toNbt(NbtCompound nbt) toString()use(PlayerEntity player, World world, BlockPos pos, Hand hand, Direction direction, float x, float y, float z) voidwriteNbt(NbtCompound nbt)
-
Field Details
-
MODIFIER_FORMAT
- Mappings:
Namespace Name Mixin selector official aLadz;a: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
public int count- Mappings:
Namespace Name Mixin selector official bLadz;b:Iintermediary field_4376Lnet/minecraft/class_1071;field_4376:Inamed countLnet/minecraft/item/ItemStack;count:I
-
field_4377
public int field_4377- Mappings:
Namespace Name Mixin selector official cLadz;c:Iintermediary field_4377Lnet/minecraft/class_1071;field_4377:Inamed field_4377Lnet/minecraft/item/ItemStack;field_4377:I
-
item
- Mappings:
Namespace Name Mixin selector official dLadz;d:Ladx;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 eLadz;e:Ldr;intermediary field_4379Lnet/minecraft/class_1071;field_4379:Lnet/minecraft/class_322;named nbtLnet/minecraft/item/ItemStack;nbt:Lnet/minecraft/nbt/NbtCompound;
-
damage
private int damage- Mappings:
Namespace Name Mixin selector official fLadz;f:Iintermediary field_4380Lnet/minecraft/class_1071;field_4380:Inamed damageLnet/minecraft/item/ItemStack;damage:I
-
itemFrame
- Mappings:
Namespace Name Mixin selector official gLadz;g:Lxz;intermediary field_5446Lnet/minecraft/class_1071;field_5446:Lnet/minecraft/class_1397;named itemFrameLnet/minecraft/item/ItemStack;itemFrame:Lnet/minecraft/entity/decoration/ItemFrameEntity;
-
lastDestroyedBlock
- Mappings:
Namespace Name Mixin selector official hLadz;h:Lakf;intermediary field_12184Lnet/minecraft/class_1071;field_12184:Lnet/minecraft/class_197;named lastDestroyedBlockLnet/minecraft/item/ItemStack;lastDestroyedBlock:Lnet/minecraft/block/Block;
-
lastDestroyResult
private boolean lastDestroyResult- Mappings:
Namespace Name Mixin selector official iLadz;i:Zintermediary field_12185Lnet/minecraft/class_1071;field_12185:Znamed lastDestroyResultLnet/minecraft/item/ItemStack;lastDestroyResult:Z
-
lastPlacedOn
- Mappings:
Namespace Name Mixin selector official jLadz;j:Lakf;intermediary field_12186Lnet/minecraft/class_1071;field_12186:Lnet/minecraft/class_197;named lastPlacedOnLnet/minecraft/item/ItemStack;lastPlacedOn:Lnet/minecraft/block/Block;
-
lastPlaceOnResult
private boolean lastPlaceOnResult- Mappings:
Namespace Name Mixin selector official kLadz;k:Zintermediary field_12187Lnet/minecraft/class_1071;field_12187:Znamed lastPlaceOnResultLnet/minecraft/item/ItemStack;lastPlaceOnResult:Z
-
-
Constructor Details
-
ItemStack
- Mappings:
Namespace Name Mixin selector official <init>Ladz;<init>(Lakf;)Vintermediary <init>Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_197;)Vnamed <init>Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/block/Block;)V
-
ItemStack
- Mappings:
Namespace Name Mixin selector official <init>Ladz;<init>(Lakf;I)Vintermediary <init>Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_197;I)Vnamed <init>Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/block/Block;I)V
-
ItemStack
- Mappings:
Namespace Name Mixin selector official <init>Ladz;<init>(Lakf;II)Vintermediary <init>Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_197;II)Vnamed <init>Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/block/Block;II)V
-
ItemStack
- Mappings:
Namespace Name Mixin selector official <init>Ladz;<init>(Ladx;)Vintermediary <init>Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_1069;)Vnamed <init>Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/item/Item;)V
-
ItemStack
- Mappings:
Namespace Name Mixin selector official <init>Ladz;<init>(Ladx;I)Vintermediary <init>Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_1069;I)Vnamed <init>Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/item/Item;I)V
-
ItemStack
- Mappings:
Namespace Name Mixin selector official <init>Ladz;<init>(Ladx;II)Vintermediary <init>Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_1069;II)Vnamed <init>Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/item/Item;II)V
-
ItemStack
private ItemStack()
-
-
Method Details
-
fromNbt
- Mappings:
Namespace Name Mixin selector official aLadz;a(Ldr;)Ladz;intermediary method_3408Lnet/minecraft/class_1071;method_3408(Lnet/minecraft/class_322;)Lnet/minecraft/class_1071;named fromNbtLnet/minecraft/item/ItemStack;fromNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/item/ItemStack;
-
method_13311
- Mappings:
Namespace Name Mixin selector official aLadz;a(Lpd;)Vintermediary method_13311Lnet/minecraft/class_1071;method_13311(Lnet/minecraft/class_2934;)Vnamed method_13311Lnet/minecraft/item/ItemStack;method_13311(Lnet/minecraft/class_2934;)V
-
split
- Mappings:
Namespace Name Mixin selector official aLadz;a(I)Ladz;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 bLadz;b()Ladx;intermediary method_3421Lnet/minecraft/class_1071;method_3421()Lnet/minecraft/class_1069;named getItemLnet/minecraft/item/ItemStack;getItem()Lnet/minecraft/item/Item;
-
use
public ActionResult use(PlayerEntity player, World world, BlockPos pos, Hand hand, Direction direction, float x, float y, float z) - Mappings:
Namespace Name Mixin selector official aLadz;a(Lzs;Laid;Lcm;Lqr;Lct;FFF)Lqt;intermediary method_11394Lnet/minecraft/class_1071;method_11394(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Lnet/minecraft/class_2962;named useLnet/minecraft/item/ItemStack;use(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Lnet/minecraft/util/ActionResult;
-
method_11391
- Mappings:
Namespace Name Mixin selector official aLadz;a(Lars;)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 aLadz;a(Laid;Lzs;Lqr;)Lqu;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 aLadz;a(Laid;Lsf;)Ladz;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 bLadz;b(Ldr;)Ldr;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;
-
writeNbt
- Mappings:
Namespace Name Mixin selector official cLadz;c(Ldr;)Vintermediary method_3430Lnet/minecraft/class_1071;method_3430(Lnet/minecraft/class_322;)Vnamed writeNbtLnet/minecraft/item/ItemStack;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getMaxCount
public int getMaxCount()- Mappings:
Namespace Name Mixin selector official cLadz;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 dLadz;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 eLadz;e()Zintermediary method_3436Lnet/minecraft/class_1071;method_3436()Znamed isDamageableLnet/minecraft/item/ItemStack;isDamageable()Z
-
isUnbreakable
public boolean isUnbreakable()- Mappings:
Namespace Name Mixin selector official fLadz;f()Zintermediary method_3437Lnet/minecraft/class_1071;method_3437()Znamed isUnbreakableLnet/minecraft/item/ItemStack;isUnbreakable()Z
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official gLadz;g()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 hLadz;h()Iintermediary method_3439Lnet/minecraft/class_1071;method_3439()Inamed getDamageLnet/minecraft/item/ItemStack;getDamage()I
-
getMeta
public int getMeta()- Mappings:
Namespace Name Mixin selector official iLadz;i()Iintermediary method_3440Lnet/minecraft/class_1071;method_3440()Inamed getMetaLnet/minecraft/item/ItemStack;getMeta()I
-
setDamage
public void setDamage(int damage) - Mappings:
Namespace Name Mixin selector official bLadz;b(I)Vintermediary method_3422Lnet/minecraft/class_1071;method_3422(I)Vnamed setDamageLnet/minecraft/item/ItemStack;setDamage(I)V
-
getMaxDamage
public int getMaxDamage()- Mappings:
Namespace Name Mixin selector official jLadz;j()Iintermediary method_3441Lnet/minecraft/class_1071;method_3441()Inamed getMaxDamageLnet/minecraft/item/ItemStack;getMaxDamage()I
-
damage
- Mappings:
Namespace Name Mixin selector official aLadz;a(ILjava/util/Random;)Zintermediary method_5464Lnet/minecraft/class_1071;method_5464(ILjava/util/Random;)Znamed damageLnet/minecraft/item/ItemStack;damage(ILjava/util/Random;)Z
-
damage
- Mappings:
Namespace Name Mixin selector official aLadz;a(ILsf;)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 aLadz;a(Lsf;Lzs;)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 aLadz;a(Laid;Lars;Lcm;Lzs;)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 bLadz;b(Lars;)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 aLadz;a(Lzs;Lsf;Lqr;)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 kLadz;k()Ladz;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 aLadz;a(Ladz;Ladz;)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 bLadz;b(Ladz;Ladz;)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 eLadz;e(Ladz;)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 cLadz;c(Ladz;Ladz;)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 dLadz;d(Ladz;Ladz;)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 aLadz;a(Ladz;)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 bLadz;b(Ladz;)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 aLadz;a()Ljava/lang/String;intermediary method_3404Lnet/minecraft/class_1071;method_3404()Ljava/lang/String;named getTranslationKeyLnet/minecraft/item/ItemStack;getTranslationKey()Ljava/lang/String;
-
copyOf
- Mappings:
Namespace Name Mixin selector official cLadz;c(Ladz;)Ladz;intermediary method_3425Lnet/minecraft/class_1071;method_3425(Lnet/minecraft/class_1071;)Lnet/minecraft/class_1071;named copyOfLnet/minecraft/item/ItemStack;copyOf(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-
toString
-
inventoryTick
- Mappings:
Namespace Name Mixin selector official aLadz;a(Laid;Lrw;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 aLadz;a(Laid;Lzs;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 lLadz;l()Iintermediary method_3443Lnet/minecraft/class_1071;method_3443()Inamed getMaxUseTimeLnet/minecraft/item/ItemStack;getMaxUseTime()I
-
getUseAction
- Mappings:
Namespace Name Mixin selector official mLadz;m()Lafj;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 aLadz;a(Laid;Lsf;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 nLadz;n()Zintermediary method_3445Lnet/minecraft/class_1071;method_3445()Znamed hasNbtLnet/minecraft/item/ItemStack;hasNbt()Z
-
getNbt
- Mappings:
Namespace Name Mixin selector official oLadz;o()Ldr;intermediary method_3446Lnet/minecraft/class_1071;method_3446()Lnet/minecraft/class_322;named getNbtLnet/minecraft/item/ItemStack;getNbt()Lnet/minecraft/nbt/NbtCompound;
-
getSubNbt
- Mappings:
Namespace Name Mixin selector official aLadz;a(Ljava/lang/String;Z)Ldr;intermediary method_11307Lnet/minecraft/class_1071;method_11307(Ljava/lang/String;Z)Lnet/minecraft/class_322;named getSubNbtLnet/minecraft/item/ItemStack;getSubNbt(Ljava/lang/String;Z)Lnet/minecraft/nbt/NbtCompound;
-
getEnchantments
- Mappings:
Namespace Name Mixin selector official pLadz;p()Ldx;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 dLadz;d(Ldr;)Vintermediary method_3433Lnet/minecraft/class_1071;method_3433(Lnet/minecraft/class_322;)Vnamed setNbtLnet/minecraft/item/ItemStack;setNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getName
- Mappings:
Namespace Name Mixin selector official qLadz;q()Ljava/lang/String;intermediary method_4623Lnet/minecraft/class_1071;method_4623()Ljava/lang/String;named getNameLnet/minecraft/item/ItemStack;getName()Ljava/lang/String;
-
setCustomName
- Mappings:
Namespace Name Mixin selector official cLadz;c(Ljava/lang/String;)Ladz;intermediary method_6373Lnet/minecraft/class_1071;method_6373(Ljava/lang/String;)Lnet/minecraft/class_1071;named setCustomNameLnet/minecraft/item/ItemStack;setCustomName(Ljava/lang/String;)Lnet/minecraft/item/ItemStack;
-
removeCustomName
public void removeCustomName()- Mappings:
Namespace Name Mixin selector official rLadz;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 sLadz;s()Zintermediary method_4624Lnet/minecraft/class_1071;method_4624()Znamed hasCustomNameLnet/minecraft/item/ItemStack;hasCustomName()Z
-
getTooltip
- Mappings:
Namespace Name Mixin selector official aLadz;a(Lzs;Z)Ljava/util/List;intermediary method_4620Lnet/minecraft/class_1071;method_4620(Lnet/minecraft/class_988;Z)Ljava/util/List;named getTooltipLnet/minecraft/item/ItemStack;getTooltip(Lnet/minecraft/entity/player/PlayerEntity;Z)Ljava/util/List;
-
hasEnchantmentGlint
- Mappings:
Namespace Name Mixin selector official tLadz;t()Zintermediary method_3449Lnet/minecraft/class_1071;method_3449()Znamed hasEnchantmentGlintLnet/minecraft/item/ItemStack;hasEnchantmentGlint()Z
-
getRarity
- Mappings:
Namespace Name Mixin selector official uLadz;u()Laen;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 vLadz;v()Zintermediary method_3451Lnet/minecraft/class_1071;method_3451()Znamed isEnchantableLnet/minecraft/item/ItemStack;isEnchantable()Z
-
addEnchantment
- Mappings:
Namespace Name Mixin selector official aLadz;a(Lagv;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 wLadz;w()Zintermediary method_3452Lnet/minecraft/class_1071;method_3452()Znamed hasEnchantmentsLnet/minecraft/item/ItemStack;hasEnchantments()Z
-
putSubNbt
- Mappings:
Namespace Name Mixin selector official aLadz;a(Ljava/lang/String;Lef;)Vintermediary method_3409Lnet/minecraft/class_1071;method_3409(Ljava/lang/String;Lnet/minecraft/class_605;)Vnamed putSubNbtLnet/minecraft/item/ItemStack;putSubNbt(Ljava/lang/String;Lnet/minecraft/nbt/NbtElement;)V
-
hasSubTypes
public boolean hasSubTypes()- Mappings:
Namespace Name Mixin selector official xLadz;x()Zintermediary method_4625Lnet/minecraft/class_1071;method_4625()Znamed hasSubTypesLnet/minecraft/item/ItemStack;hasSubTypes()Z
-
isInItemFrame
public boolean isInItemFrame()- Mappings:
Namespace Name Mixin selector official yLadz;y()Zintermediary method_4626Lnet/minecraft/class_1071;method_4626()Znamed isInItemFrameLnet/minecraft/item/ItemStack;isInItemFrame()Z
-
setInItemFrame
- Mappings:
Namespace Name Mixin selector official aLadz;a(Lxz;)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 zLadz;z()Lxz;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 ALadz;A()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 cLadz;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 aLadz;a(Lsb;)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
- Mappings:
Namespace Name Mixin selector official aLadz;a(Ljava/lang/String;Lst;Lsb;)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
-
setItem
Deprecated.- Mappings:
Namespace Name Mixin selector official aLadz;a(Ladx;)Vintermediary method_6372Lnet/minecraft/class_1071;method_6372(Lnet/minecraft/class_1069;)Vnamed setItemLnet/minecraft/item/ItemStack;setItem(Lnet/minecraft/item/Item;)V
-
toHoverableText
- Mappings:
Namespace Name Mixin selector official BLadz;B()Ley;intermediary method_6371Lnet/minecraft/class_1071;method_6371()Lnet/minecraft/class_1982;named toHoverableTextLnet/minecraft/item/ItemStack;toHoverableText()Lnet/minecraft/text/Text;
-
canDestroy
- Mappings:
Namespace Name Mixin selector official aLadz;a(Lakf;)Zintermediary method_11309Lnet/minecraft/class_1071;method_11309(Lnet/minecraft/class_197;)Znamed canDestroyLnet/minecraft/item/ItemStack;canDestroy(Lnet/minecraft/block/Block;)Z
-
canPlaceOn
- Mappings:
Namespace Name Mixin selector official bLadz;b(Lakf;)Zintermediary method_11312Lnet/minecraft/class_1071;method_11312(Lnet/minecraft/class_197;)Znamed canPlaceOnLnet/minecraft/item/ItemStack;canPlaceOn(Lnet/minecraft/block/Block;)Z
-