Class EnchantedGoldenAppleItem

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

public class EnchantedGoldenAppleItem
extends Item
  • Constructor Details

    • EnchantedGoldenAppleItem

      public EnchantedGoldenAppleItem​(Item.Settings settings)
  • 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