Package net.minecraft

Class class_3564

java.lang.Object
net.minecraft.item.Item
net.minecraft.class_3564
All Implemented Interfaces:
Itemable

public class class_3564 extends Item
Mappings:
Namespace Name
official aun
intermediary net/minecraft/class_3564
named net/minecraft/class_3564
  • Constructor Details

    • class_3564

      public class_3564(Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lata;<init>(Lata$a;)V
      intermediary <init> Lnet/minecraft/class_1069;<init>(Lnet/minecraft/class_1069$class_3555;)V
      named <init> Lnet/minecraft/item/Item;<init>(Lnet/minecraft/item/Item$Settings;)V
  • Method Details

    • beforeBlockBreak

      public boolean beforeBlockBreak(BlockState state, World world, BlockPos pos, PlayerEntity player)
      Overrides:
      beforeBlockBreak in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lata;a(Lblc;Laxy;Lel;Laog;)Z
      intermediary method_16073 Lnet/minecraft/class_1069;method_16073(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;)Z
      named beforeBlockBreak Lnet/minecraft/item/Item;beforeBlockBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)Z
    • getUseAction

      public UseAction getUseAction(ItemStack stack)
      Returns the UseAction for an item when the item is used. Used by food, potions, bows, etc.
      Overrides:
      getUseAction in class Item
      Parameters:
      stack - The ItemStack that was used
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lata;d(Late;)Lauo;
      intermediary method_3366 Lnet/minecraft/class_1069;method_3366(Lnet/minecraft/class_1071;)Lnet/minecraft/class_1099;
      named getUseAction Lnet/minecraft/item/Item;getUseAction(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/util/UseAction;
    • getMaxUseTime

      public int getMaxUseTime(ItemStack stack)
      Overrides:
      getMaxUseTime in class Item
      Mappings:
      Namespace Name Mixin selector
      official c Lata;c(Late;)I
      intermediary method_3350 Lnet/minecraft/class_1069;method_3350(Lnet/minecraft/class_1071;)I
      named getMaxUseTime Lnet/minecraft/item/Item;getMaxUseTime(Lnet/minecraft/item/ItemStack;)I
    • hasEnchantmentGlint

      @Environment(CLIENT) public boolean hasEnchantmentGlint(ItemStack stack)
      Returns whether the current item has an enchantment glint. Used by enchanted golden apples and enchanted items.
      Overrides:
      hasEnchantmentGlint in class Item
      See Also:
      • net.minecraft.item.GoldenAppleItem
      Mappings:
      Namespace Name Mixin selector
      official b Lata;b(Late;)Z
      intermediary method_3374 Lnet/minecraft/class_1069;method_3374(Lnet/minecraft/class_1071;)Z
      named hasEnchantmentGlint Lnet/minecraft/item/Item;hasEnchantmentGlint(Lnet/minecraft/item/ItemStack;)Z
    • method_3359

      public void method_3359(ItemStack stack, World world, LivingEntity entity, int int2)
      Overrides:
      method_3359 in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lata;a(Late;Laxy;Lafa;I)V
      intermediary method_3359 Lnet/minecraft/class_1069;method_3359(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_1699;I)V
      named method_3359 Lnet/minecraft/item/Item;method_3359(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;I)V
    • method_13649

      public TypedActionResult<ItemStack> method_13649(World world, PlayerEntity player, Hand hand)
      Overrides:
      method_13649 in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lata;a(Laxy;Laog;Ladk;)Ladn;
      intermediary method_13649 Lnet/minecraft/class_1069;method_13649(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Lnet/minecraft/class_2963;
      named method_13649 Lnet/minecraft/item/Item;method_13649(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/TypedActionResult;
    • onEntityHit

      public boolean onEntityHit(ItemStack stack, LivingEntity entity1, LivingEntity entity2)
      Overrides:
      onEntityHit in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lata;a(Late;Lafa;Lafa;)Z
      intermediary method_3354 Lnet/minecraft/class_1069;method_3354(Lnet/minecraft/class_1071;Lnet/minecraft/class_1699;Lnet/minecraft/class_1699;)Z
      named onEntityHit Lnet/minecraft/item/Item;onEntityHit(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
    • method_3356

      public boolean method_3356(ItemStack itemStack, World world, BlockState blockState, BlockPos blockPos, LivingEntity livingEntity)
      Overrides:
      method_3356 in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lata;a(Late;Laxy;Lblc;Lel;Lafa;)Z
      intermediary method_3356 Lnet/minecraft/class_1069;method_3356(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1699;)Z
      named method_3356 Lnet/minecraft/item/Item;method_3356(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/LivingEntity;)Z
    • method_6326

      public Multimap<String,AttributeModifier> method_6326(EquipmentSlot equipmentSlot)
      Overrides:
      method_6326 in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lata;a(Laew;)Lcom/google/common/collect/Multimap;
      intermediary method_6326 Lnet/minecraft/class_1069;method_6326(Lnet/minecraft/class_2968;)Lcom/google/common/collect/Multimap;
      named method_6326 Lnet/minecraft/item/Item;method_6326(Lnet/minecraft/entity/EquipmentSlot;)Lcom/google/common/collect/Multimap;
    • getEnchantability

      public int getEnchantability()
      Returns the enchantability of an Item. Used by tools and armor
      Overrides:
      getEnchantability in class Item
      Returns:
      Enchantability
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lata;c()I
      intermediary method_3362 Lnet/minecraft/class_1069;method_3362()I
      named getEnchantability Lnet/minecraft/item/Item;getEnchantability()I