Class EnchantedGoldenAppleItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.EnchantedGoldenAppleItem
All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class EnchantedGoldenAppleItem extends Item
Mappings:
Namespace Name
official cew
intermediary net/minecraft/class_1775
named net/minecraft/item/EnchantedGoldenAppleItem
  • Constructor Details

    • EnchantedGoldenAppleItem

      public EnchantedGoldenAppleItem(Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcfu;<init>(Lcfu$a;)V
      intermediary <init> Lnet/minecraft/class_1792;<init>(Lnet/minecraft/class_1792$class_1793;)V
      named <init> Lnet/minecraft/item/Item;<init>(Lnet/minecraft/item/Item$Settings;)V
  • Method Details

    • hasGlint

      public boolean hasGlint(ItemStack stack)
      Checks if the glint effect should be applied when the item is rendered.

      By default, returns true if the item has enchantments.

      Overrides:
      hasGlint in class Item
      Mappings:
      Namespace Name Mixin selector
      official i Lcfu;i(Lcfz;)Z
      intermediary method_7886 Lnet/minecraft/class_1792;method_7886(Lnet/minecraft/class_1799;)Z
      named hasGlint Lnet/minecraft/item/Item;hasGlint(Lnet/minecraft/item/ItemStack;)Z