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 ccu
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> Lcdp;<init>(Lcdp$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 Lcdp;i(Lcdt;)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