Class ItemStack

java.lang.Object
net.minecraft.item.ItemStack

public final class ItemStack extends Object
Mappings:
Namespace Name
official abo
intermediary net/minecraft/class_1071
named net/minecraft/item/ItemStack
  • Field Details

    • MODIFIER_FORMAT

      public static final DecimalFormat MODIFIER_FORMAT
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a:Ljava/text/DecimalFormat;
      intermediary field_6949 Lnet/minecraft/class_1071;field_6949:Ljava/text/DecimalFormat;
      named MODIFIER_FORMAT Lnet/minecraft/item/ItemStack;MODIFIER_FORMAT:Ljava/text/DecimalFormat;
    • count

      public int count
      Mappings:
      Namespace Name Mixin selector
      official b Labo;b:I
      intermediary field_4376 Lnet/minecraft/class_1071;field_4376:I
      named count Lnet/minecraft/item/ItemStack;count:I
    • field_4377

      public int field_4377
      Mappings:
      Namespace Name Mixin selector
      official c Labo;c:I
      intermediary field_4377 Lnet/minecraft/class_1071;field_4377:I
      named field_4377 Lnet/minecraft/item/ItemStack;field_4377:I
    • item

      private Item item
      Mappings:
      Namespace Name Mixin selector
      official e Labo;e:Labm;
      intermediary field_6974 Lnet/minecraft/class_1071;field_6974:Lnet/minecraft/class_1069;
      named item Lnet/minecraft/item/ItemStack;item:Lnet/minecraft/item/Item;
    • nbt

      public NbtCompound nbt
      Mappings:
      Namespace Name Mixin selector
      official d Labo;d:Ldg;
      intermediary field_4379 Lnet/minecraft/class_1071;field_4379:Lnet/minecraft/class_322;
      named nbt Lnet/minecraft/item/ItemStack;nbt:Lnet/minecraft/nbt/NbtCompound;
    • damage

      private int damage
      Mappings:
      Namespace Name Mixin selector
      official f Labo;f:I
      intermediary field_4380 Lnet/minecraft/class_1071;field_4380:I
      named damage Lnet/minecraft/item/ItemStack;damage:I
    • itemFrame

      private ItemFrameEntity itemFrame
      Mappings:
      Namespace Name Mixin selector
      official g Labo;g:Lre;
      intermediary field_5446 Lnet/minecraft/class_1071;field_5446:Lnet/minecraft/class_1397;
      named itemFrame Lnet/minecraft/item/ItemStack;itemFrame:Lnet/minecraft/entity/decoration/ItemFrameEntity;
  • Constructor Details

    • ItemStack

      public ItemStack(Block block)
      Mappings:
      Namespace Name Mixin selector
      official <init> Labo;<init>(Laht;)V
      intermediary <init> Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_197;)V
      named <init> Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/block/Block;)V
    • ItemStack

      public ItemStack(Block block, int count)
      Mappings:
      Namespace Name Mixin selector
      official <init> Labo;<init>(Laht;I)V
      intermediary <init> Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_197;I)V
      named <init> Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/block/Block;I)V
    • ItemStack

      public ItemStack(Block block, int count, int damage)
      Mappings:
      Namespace Name Mixin selector
      official <init> Labo;<init>(Laht;II)V
      intermediary <init> Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_197;II)V
      named <init> Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/block/Block;II)V
    • ItemStack

      public ItemStack(Item item)
      Mappings:
      Namespace Name Mixin selector
      official <init> Labo;<init>(Labm;)V
      intermediary <init> Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_1069;)V
      named <init> Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/item/Item;)V
    • ItemStack

      public ItemStack(Item item, int count)
      Mappings:
      Namespace Name Mixin selector
      official <init> Labo;<init>(Labm;I)V
      intermediary <init> Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_1069;I)V
      named <init> Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/item/Item;I)V
    • ItemStack

      public ItemStack(Item item, int count, int damage)
      Mappings:
      Namespace Name Mixin selector
      official <init> Labo;<init>(Labm;II)V
      intermediary <init> Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_1069;II)V
      named <init> Lnet/minecraft/item/ItemStack;<init>(Lnet/minecraft/item/Item;II)V
    • ItemStack

      private ItemStack()
  • Method Details

    • fromNbt

      public static ItemStack fromNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Ldg;)Labo;
      intermediary method_3408 Lnet/minecraft/class_1071;method_3408(Lnet/minecraft/class_322;)Lnet/minecraft/class_1071;
      named fromNbt Lnet/minecraft/item/ItemStack;fromNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/item/ItemStack;
    • split

      public ItemStack split(int amount)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(I)Labo;
      intermediary method_3405 Lnet/minecraft/class_1071;method_3405(I)Lnet/minecraft/class_1071;
      named split Lnet/minecraft/item/ItemStack;split(I)Lnet/minecraft/item/ItemStack;
    • getItem

      public Item getItem()
      Mappings:
      Namespace Name Mixin selector
      official b Labo;b()Labm;
      intermediary method_3421 Lnet/minecraft/class_1071;method_3421()Lnet/minecraft/class_1069;
      named getItem Lnet/minecraft/item/ItemStack;getItem()Lnet/minecraft/item/Item;
    • method_5465

      @Environment(CLIENT) public Texture method_5465()
      Mappings:
      Namespace Name Mixin selector
      official c Labo;c()Lpr;
      intermediary method_5465 Lnet/minecraft/class_1071;method_5465()Lnet/minecraft/class_1557;
      named method_5465 Lnet/minecraft/item/ItemStack;method_5465()Lnet/minecraft/client/Texture;
    • method_3429

      @Environment(CLIENT) public int method_3429()
      Mappings:
      Namespace Name Mixin selector
      official d Labo;d()I
      intermediary method_3429 Lnet/minecraft/class_1071;method_3429()I
      named method_3429 Lnet/minecraft/item/ItemStack;method_3429()I
    • method_3413

      public boolean method_3413(PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Lxk;Lafm;IIIIFFF)Z
      intermediary method_3413 Lnet/minecraft/class_1071;method_3413(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;IIIIFFF)Z
      named method_3413 Lnet/minecraft/item/ItemStack;method_3413(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;IIIIFFF)Z
    • getMiningSpeedMultiplier

      public float getMiningSpeedMultiplier(Block block)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Laht;)F
      intermediary method_3407 Lnet/minecraft/class_1071;method_3407(Lnet/minecraft/class_197;)F
      named getMiningSpeedMultiplier Lnet/minecraft/item/ItemStack;getMiningSpeedMultiplier(Lnet/minecraft/block/Block;)F
    • onStartUse

      public ItemStack onStartUse(World world, PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Lafm;Lxk;)Labo;
      intermediary method_3419 Lnet/minecraft/class_1071;method_3419(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)Lnet/minecraft/class_1071;
      named onStartUse Lnet/minecraft/item/ItemStack;onStartUse(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
    • onFinishUse

      public ItemStack onFinishUse(World world, PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official b Labo;b(Lafm;Lxk;)Labo;
      intermediary method_3427 Lnet/minecraft/class_1071;method_3427(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)Lnet/minecraft/class_1071;
      named onFinishUse Lnet/minecraft/item/ItemStack;onFinishUse(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
    • toNbt

      public NbtCompound toNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official b Labo;b(Ldg;)Ldg;
      intermediary method_3424 Lnet/minecraft/class_1071;method_3424(Lnet/minecraft/class_322;)Lnet/minecraft/class_322;
      named toNbt Lnet/minecraft/item/ItemStack;toNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • writeNbt

      public void writeNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official c Labo;c(Ldg;)V
      intermediary method_3430 Lnet/minecraft/class_1071;method_3430(Lnet/minecraft/class_322;)V
      named writeNbt Lnet/minecraft/item/ItemStack;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • getMaxCount

      public int getMaxCount()
      Mappings:
      Namespace Name Mixin selector
      official e Labo;e()I
      intermediary method_3432 Lnet/minecraft/class_1071;method_3432()I
      named getMaxCount Lnet/minecraft/item/ItemStack;getMaxCount()I
    • isDamaged

      public boolean isDamaged()
      Mappings:
      Namespace Name Mixin selector
      official f Labo;f()Z
      intermediary method_3435 Lnet/minecraft/class_1071;method_3435()Z
      named isDamaged Lnet/minecraft/item/ItemStack;isDamaged()Z
    • isDamageable

      public boolean isDamageable()
      Mappings:
      Namespace Name Mixin selector
      official g Labo;g()Z
      intermediary method_3436 Lnet/minecraft/class_1071;method_3436()Z
      named isDamageable Lnet/minecraft/item/ItemStack;isDamageable()Z
    • isUnbreakable

      public boolean isUnbreakable()
      Mappings:
      Namespace Name Mixin selector
      official h Labo;h()Z
      intermediary method_3437 Lnet/minecraft/class_1071;method_3437()Z
      named isUnbreakable Lnet/minecraft/item/ItemStack;isUnbreakable()Z
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      official i Labo;i()Z
      intermediary method_3438 Lnet/minecraft/class_1071;method_3438()Z
      named isEmpty Lnet/minecraft/item/ItemStack;isEmpty()Z
    • getDamage

      public int getDamage()
      Mappings:
      Namespace Name Mixin selector
      official j Labo;j()I
      intermediary method_3439 Lnet/minecraft/class_1071;method_3439()I
      named getDamage Lnet/minecraft/item/ItemStack;getDamage()I
    • getMeta

      public int getMeta()
      Mappings:
      Namespace Name Mixin selector
      official k Labo;k()I
      intermediary method_3440 Lnet/minecraft/class_1071;method_3440()I
      named getMeta Lnet/minecraft/item/ItemStack;getMeta()I
    • setDamage

      public void setDamage(int damage)
      Mappings:
      Namespace Name Mixin selector
      official b Labo;b(I)V
      intermediary method_3422 Lnet/minecraft/class_1071;method_3422(I)V
      named setDamage Lnet/minecraft/item/ItemStack;setDamage(I)V
    • getMaxDamage

      public int getMaxDamage()
      Mappings:
      Namespace Name Mixin selector
      official l Labo;l()I
      intermediary method_3441 Lnet/minecraft/class_1071;method_3441()I
      named getMaxDamage Lnet/minecraft/item/ItemStack;getMaxDamage()I
    • damage

      public boolean damage(int amount, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(ILjava/util/Random;)Z
      intermediary method_5464 Lnet/minecraft/class_1071;method_5464(ILjava/util/Random;)Z
      named damage Lnet/minecraft/item/ItemStack;damage(ILjava/util/Random;)Z
    • damage

      public void damage(int amount, LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(ILrg;)V
      intermediary method_6328 Lnet/minecraft/class_1071;method_6328(ILnet/minecraft/class_1699;)V
      named damage Lnet/minecraft/item/ItemStack;damage(ILnet/minecraft/entity/LivingEntity;)V
    • onEntityHit

      public void onEntityHit(LivingEntity entity, PlayerEntity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Lrg;Lxk;)V
      intermediary method_3412 Lnet/minecraft/class_1071;method_3412(Lnet/minecraft/class_1699;Lnet/minecraft/class_988;)V
      named onEntityHit Lnet/minecraft/item/ItemStack;onEntityHit(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/player/PlayerEntity;)V
    • method_3417

      public void method_3417(World world, Block block, int int2, int int3, int int4, PlayerEntity playerEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Lafm;Laht;IIILxk;)V
      intermediary method_3417 Lnet/minecraft/class_1071;method_3417(Lnet/minecraft/class_1150;Lnet/minecraft/class_197;IIILnet/minecraft/class_988;)V
      named method_3417 Lnet/minecraft/item/ItemStack;method_3417(Lnet/minecraft/world/World;Lnet/minecraft/block/Block;IIILnet/minecraft/entity/player/PlayerEntity;)V
    • isEffectiveOn

      public boolean isEffectiveOn(Block block)
      Mappings:
      Namespace Name Mixin selector
      official b Labo;b(Laht;)Z
      intermediary method_3423 Lnet/minecraft/class_1071;method_3423(Lnet/minecraft/class_197;)Z
      named isEffectiveOn Lnet/minecraft/item/ItemStack;isEffectiveOn(Lnet/minecraft/block/Block;)Z
    • canUseOnEntity

      public boolean canUseOnEntity(PlayerEntity player, LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Lxk;Lrg;)Z
      intermediary method_6329 Lnet/minecraft/class_1071;method_6329(Lnet/minecraft/class_988;Lnet/minecraft/class_1699;)Z
      named canUseOnEntity Lnet/minecraft/item/ItemStack;canUseOnEntity(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/LivingEntity;)Z
    • copy

      public ItemStack copy()
      Mappings:
      Namespace Name Mixin selector
      official m Labo;m()Labo;
      intermediary method_3442 Lnet/minecraft/class_1071;method_3442()Lnet/minecraft/class_1071;
      named copy Lnet/minecraft/item/ItemStack;copy()Lnet/minecraft/item/ItemStack;
    • equalsIgnoreDamage

      public static boolean equalsIgnoreDamage(ItemStack left, ItemStack right)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Labo;Labo;)Z
      intermediary method_3415 Lnet/minecraft/class_1071;method_3415(Lnet/minecraft/class_1071;Lnet/minecraft/class_1071;)Z
      named equalsIgnoreDamage Lnet/minecraft/item/ItemStack;equalsIgnoreDamage(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
    • equalsAll

      public static boolean equalsAll(ItemStack left, ItemStack right)
      Mappings:
      Namespace Name Mixin selector
      official b Labo;b(Labo;Labo;)Z
      intermediary method_3426 Lnet/minecraft/class_1071;method_3426(Lnet/minecraft/class_1071;Lnet/minecraft/class_1071;)Z
      named equalsAll Lnet/minecraft/item/ItemStack;equalsAll(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
    • equalsAll

      private boolean equalsAll(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official d Labo;d(Labo;)Z
      intermediary method_3434 Lnet/minecraft/class_1071;method_3434(Lnet/minecraft/class_1071;)Z
      named equalsAll Lnet/minecraft/item/ItemStack;equalsAll(Lnet/minecraft/item/ItemStack;)Z
    • equalsIgnoreNbt

      public boolean equalsIgnoreNbt(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Labo;)Z
      intermediary method_3414 Lnet/minecraft/class_1071;method_3414(Lnet/minecraft/class_1071;)Z
      named equalsIgnoreNbt Lnet/minecraft/item/ItemStack;equalsIgnoreNbt(Lnet/minecraft/item/ItemStack;)Z
    • getTranslationKey

      public String getTranslationKey()
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a()Ljava/lang/String;
      intermediary method_3404 Lnet/minecraft/class_1071;method_3404()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/item/ItemStack;getTranslationKey()Ljava/lang/String;
    • copyOf

      public static ItemStack copyOf(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official b Labo;b(Labo;)Labo;
      intermediary method_3425 Lnet/minecraft/class_1071;method_3425(Lnet/minecraft/class_1071;)Lnet/minecraft/class_1071;
      named copyOf Lnet/minecraft/item/ItemStack;copyOf(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Labo;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_1071;toString()Ljava/lang/String;
      named toString Lnet/minecraft/item/ItemStack;toString()Ljava/lang/String;
    • inventoryTick

      public void inventoryTick(World world, Entity entity, int slot, boolean selected)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Lafm;Lqm;IZ)V
      intermediary method_3418 Lnet/minecraft/class_1071;method_3418(Lnet/minecraft/class_1150;Lnet/minecraft/class_864;IZ)V
      named inventoryTick Lnet/minecraft/item/ItemStack;inventoryTick(Lnet/minecraft/world/World;Lnet/minecraft/entity/Entity;IZ)V
    • onCraft

      public void onCraft(World world, PlayerEntity player, int amount)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Lafm;Lxk;I)V
      intermediary method_3420 Lnet/minecraft/class_1071;method_3420(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;I)V
      named onCraft Lnet/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 n Labo;n()I
      intermediary method_3443 Lnet/minecraft/class_1071;method_3443()I
      named getMaxUseTime Lnet/minecraft/item/ItemStack;getMaxUseTime()I
    • getUseAction

      public UseAction getUseAction()
      Mappings:
      Namespace Name Mixin selector
      official o Labo;o()Lact;
      intermediary method_3444 Lnet/minecraft/class_1071;method_3444()Lnet/minecraft/class_1099;
      named getUseAction Lnet/minecraft/item/ItemStack;getUseAction()Lnet/minecraft/util/UseAction;
    • onUseStopped

      public void onUseStopped(World world, PlayerEntity player, int timeLeft)
      Mappings:
      Namespace Name Mixin selector
      official b Labo;b(Lafm;Lxk;I)V
      intermediary method_3428 Lnet/minecraft/class_1071;method_3428(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;I)V
      named onUseStopped Lnet/minecraft/item/ItemStack;onUseStopped(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;I)V
    • hasNbt

      public boolean hasNbt()
      Mappings:
      Namespace Name Mixin selector
      official p Labo;p()Z
      intermediary method_3445 Lnet/minecraft/class_1071;method_3445()Z
      named hasNbt Lnet/minecraft/item/ItemStack;hasNbt()Z
    • getNbt

      public NbtCompound getNbt()
      Mappings:
      Namespace Name Mixin selector
      official q Labo;q()Ldg;
      intermediary method_3446 Lnet/minecraft/class_1071;method_3446()Lnet/minecraft/class_322;
      named getNbt Lnet/minecraft/item/ItemStack;getNbt()Lnet/minecraft/nbt/NbtCompound;
    • getEnchantments

      public NbtList getEnchantments()
      Mappings:
      Namespace Name Mixin selector
      official r Labo;r()Ldp;
      intermediary method_3447 Lnet/minecraft/class_1071;method_3447()Lnet/minecraft/class_474;
      named getEnchantments Lnet/minecraft/item/ItemStack;getEnchantments()Lnet/minecraft/nbt/NbtList;
    • setNbt

      public void setNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official d Labo;d(Ldg;)V
      intermediary method_3433 Lnet/minecraft/class_1071;method_3433(Lnet/minecraft/class_322;)V
      named setNbt Lnet/minecraft/item/ItemStack;setNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official s Labo;s()Ljava/lang/String;
      intermediary method_4623 Lnet/minecraft/class_1071;method_4623()Ljava/lang/String;
      named getName Lnet/minecraft/item/ItemStack;getName()Ljava/lang/String;
    • setCustomName

      public ItemStack setCustomName(String name)
      Mappings:
      Namespace Name Mixin selector
      official c Labo;c(Ljava/lang/String;)Labo;
      intermediary method_6373 Lnet/minecraft/class_1071;method_6373(Ljava/lang/String;)Lnet/minecraft/class_1071;
      named setCustomName Lnet/minecraft/item/ItemStack;setCustomName(Ljava/lang/String;)Lnet/minecraft/item/ItemStack;
    • removeCustomName

      public void removeCustomName()
      Mappings:
      Namespace Name Mixin selector
      official t Labo;t()V
      intermediary method_6330 Lnet/minecraft/class_1071;method_6330()V
      named removeCustomName Lnet/minecraft/item/ItemStack;removeCustomName()V
    • hasCustomName

      public boolean hasCustomName()
      Mappings:
      Namespace Name Mixin selector
      official u Labo;u()Z
      intermediary method_4624 Lnet/minecraft/class_1071;method_4624()Z
      named hasCustomName Lnet/minecraft/item/ItemStack;hasCustomName()Z
    • getTooltip

      @Environment(CLIENT) public List getTooltip(PlayerEntity player, boolean advanced)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Lxk;Z)Ljava/util/List;
      intermediary method_4620 Lnet/minecraft/class_1071;method_4620(Lnet/minecraft/class_988;Z)Ljava/util/List;
      named getTooltip Lnet/minecraft/item/ItemStack;getTooltip(Lnet/minecraft/entity/player/PlayerEntity;Z)Ljava/util/List;
    • hasEnchantmentGlint

      @Environment(CLIENT) public boolean hasEnchantmentGlint()
      Mappings:
      Namespace Name Mixin selector
      official v Labo;v()Z
      intermediary method_3449 Lnet/minecraft/class_1071;method_3449()Z
      named hasEnchantmentGlint Lnet/minecraft/item/ItemStack;hasEnchantmentGlint()Z
    • getRarity

      public Rarity getRarity()
      Mappings:
      Namespace Name Mixin selector
      official w Labo;w()Lacb;
      intermediary method_3450 Lnet/minecraft/class_1071;method_3450()Lnet/minecraft/class_1081;
      named getRarity Lnet/minecraft/item/ItemStack;getRarity()Lnet/minecraft/util/Rarity;
    • isEnchantable

      public boolean isEnchantable()
      Mappings:
      Namespace Name Mixin selector
      official x Labo;x()Z
      intermediary method_3451 Lnet/minecraft/class_1071;method_3451()Z
      named isEnchantable Lnet/minecraft/item/ItemStack;isEnchantable()Z
    • addEnchantment

      public void addEnchantment(Enchantment enchantment, int level)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Laee;I)V
      intermediary method_3416 Lnet/minecraft/class_1071;method_3416(Lnet/minecraft/class_1127;I)V
      named addEnchantment Lnet/minecraft/item/ItemStack;addEnchantment(Lnet/minecraft/enchantment/Enchantment;I)V
    • hasEnchantments

      public boolean hasEnchantments()
      Mappings:
      Namespace Name Mixin selector
      official y Labo;y()Z
      intermediary method_3452 Lnet/minecraft/class_1071;method_3452()Z
      named hasEnchantments Lnet/minecraft/item/ItemStack;hasEnchantments()Z
    • putSubNbt

      public void putSubNbt(String key, NbtElement nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Ljava/lang/String;Ldu;)V
      intermediary method_3409 Lnet/minecraft/class_1071;method_3409(Ljava/lang/String;Lnet/minecraft/class_605;)V
      named putSubNbt Lnet/minecraft/item/ItemStack;putSubNbt(Ljava/lang/String;Lnet/minecraft/nbt/NbtElement;)V
    • hasSubTypes

      public boolean hasSubTypes()
      Mappings:
      Namespace Name Mixin selector
      official z Labo;z()Z
      intermediary method_4625 Lnet/minecraft/class_1071;method_4625()Z
      named hasSubTypes Lnet/minecraft/item/ItemStack;hasSubTypes()Z
    • isInItemFrame

      public boolean isInItemFrame()
      Mappings:
      Namespace Name Mixin selector
      official A Labo;A()Z
      intermediary method_4626 Lnet/minecraft/class_1071;method_4626()Z
      named isInItemFrame Lnet/minecraft/item/ItemStack;isInItemFrame()Z
    • setInItemFrame

      public void setInItemFrame(ItemFrameEntity itemFrame)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Lre;)V
      intermediary method_4619 Lnet/minecraft/class_1071;method_4619(Lnet/minecraft/class_1397;)V
      named setInItemFrame Lnet/minecraft/item/ItemStack;setInItemFrame(Lnet/minecraft/entity/decoration/ItemFrameEntity;)V
    • getItemFrame

      public ItemFrameEntity getItemFrame()
      Mappings:
      Namespace Name Mixin selector
      official B Labo;B()Lre;
      intermediary method_4627 Lnet/minecraft/class_1071;method_4627()Lnet/minecraft/class_1397;
      named getItemFrame Lnet/minecraft/item/ItemStack;getItemFrame()Lnet/minecraft/entity/decoration/ItemFrameEntity;
    • getRepairCost

      public int getRepairCost()
      Mappings:
      Namespace Name Mixin selector
      official C Labo;C()I
      intermediary method_4618 Lnet/minecraft/class_1071;method_4618()I
      named getRepairCost Lnet/minecraft/item/ItemStack;getRepairCost()I
    • setRepairCost

      public void setRepairCost(int cost)
      Mappings:
      Namespace Name Mixin selector
      official c Labo;c(I)V
      intermediary method_4621 Lnet/minecraft/class_1071;method_4621(I)V
      named setRepairCost Lnet/minecraft/item/ItemStack;setRepairCost(I)V
    • getAttributes

      public Multimap getAttributes()
      Mappings:
      Namespace Name Mixin selector
      official D Labo;D()Lcom/google/common/collect/Multimap;
      intermediary method_6327 Lnet/minecraft/class_1071;method_6327()Lcom/google/common/collect/Multimap;
      named getAttributes Lnet/minecraft/item/ItemStack;getAttributes()Lcom/google/common/collect/Multimap;
    • setItem

      public void setItem(Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a(Labm;)V
      intermediary method_6372 Lnet/minecraft/class_1071;method_6372(Lnet/minecraft/class_1069;)V
      named setItem Lnet/minecraft/item/ItemStack;setItem(Lnet/minecraft/item/Item;)V
    • toHoverableText

      public Text toHoverableText()
      Mappings:
      Namespace Name Mixin selector
      official E Labo;E()Lez;
      intermediary method_6371 Lnet/minecraft/class_1071;method_6371()Lnet/minecraft/class_1982;
      named toHoverableText Lnet/minecraft/item/ItemStack;toHoverableText()Lnet/minecraft/text/Text;