Class ItemGoldenApple


public class ItemGoldenApple extends ItemFood
  • Constructor Details

    • ItemGoldenApple

      public ItemGoldenApple()
  • Method Details

    • eat

      public boolean eat(GlowPlayer player, org.bukkit.inventory.ItemStack item)
      Description copied from class: ItemFood
      Player attempts to eat this food.
      Overrides:
      eat in class ItemFood
      Parameters:
      player - the eating player
      item - the item stack eaten from
      Returns:
      whether food was eaten successfully