Class ExperienceBottleItem

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

public class ExperienceBottleItem extends Item
Mappings:
Namespace Name
official asn
intermediary net/minecraft/class_1060
named net/minecraft/item/ExperienceBottleItem
  • Constructor Details

    • ExperienceBottleItem

      public ExperienceBottleItem(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

    • 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_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;