Enum Class O2ItemType

java.lang.Object
java.lang.Enum<O2ItemType>
net.pottercraft.ollivanders2.item.O2ItemType
All Implemented Interfaces:
Serializable, Comparable<O2ItemType>, Constable

public enum O2ItemType extends Enum<O2ItemType>
All custom special items in Ollivanders2
  • Enum Constant Details

    • ACONITE

      public static final O2ItemType ACONITE
      potion ingredient
    • ARMADILLO_BILE

      public static final O2ItemType ARMADILLO_BILE
      potion ingredient
    • ASPHODEL

      public static final O2ItemType ASPHODEL
      potion ingredient
    • BASIC_BROOM

      public static final O2ItemType BASIC_BROOM
      unenchanted broomstick
    • BAT_SPLEEN

      public static final O2ItemType BAT_SPLEEN
      potion ingredient
    • BEZOAR

      public static final O2ItemType BEZOAR
      potion ingredient
    • BILLYWIG_STING_SLIME

      public static final O2ItemType BILLYWIG_STING_SLIME
      potion ingredient
    • BLOOD

      public static final O2ItemType BLOOD
      potion ingredient
    • BOOM_BERRY_JUICE

      public static final O2ItemType BOOM_BERRY_JUICE
      potion ingredient
    • BOOMSLANG_SKIN

      public static final O2ItemType BOOMSLANG_SKIN
      potion ingredient
    • BONE

      public static final O2ItemType BONE
      potion ingredient
    • BROOMSTICK

      public static final O2ItemType BROOMSTICK
      enchanted broomstick
    • BURSTING_MUSHROOM

      public static final O2ItemType BURSTING_MUSHROOM
      potion ingredient
    • CHIZPURFLE_FANGS

      public static final O2ItemType CHIZPURFLE_FANGS
      potion ingredient
    • CHOPPED_MALLOW_LEAVES

      public static final O2ItemType CHOPPED_MALLOW_LEAVES
      potion ingredient
    • CRUSHED_CATS_EYE_OPAL

      public static final O2ItemType CRUSHED_CATS_EYE_OPAL
      potion ingredient
    • CRUSHED_FIRE_SEEDS

      public static final O2ItemType CRUSHED_FIRE_SEEDS
      potion ingredient
    • CRUSHED_GURDYROOT

      public static final O2ItemType CRUSHED_GURDYROOT
      potion ingredient
    • DAISY_ROOTS

      public static final O2ItemType DAISY_ROOTS
      potion ingredient
    • DEATHS_HEAD_MOTH_CHRYSALIS

      public static final O2ItemType DEATHS_HEAD_MOTH_CHRYSALIS
      potion ingredient
    • DEW_DROP

      public static final O2ItemType DEW_DROP
      potion ingredient
    • DITTANY

      public static final O2ItemType DITTANY
      potion ingredient
    • DOXY_VENOM

      public static final O2ItemType DOXY_VENOM
      potion ingredient
    • DRAGON_BLOOD

      public static final O2ItemType DRAGON_BLOOD
      potion ingredient
    • DRAGON_HEARTSTRING

      public static final O2ItemType DRAGON_HEARTSTRING
      Wand core
    • DRAGONFLY_THORAXES

      public static final O2ItemType DRAGONFLY_THORAXES
      potion ingredient
    • DRIED_NETTLES

      public static final O2ItemType DRIED_NETTLES
      potion ingredient
    • EGG

      public static final O2ItemType EGG
      divination object
    • ELDER_WAND

      public static final O2ItemType ELDER_WAND
      the elder wand
    • FAIRY_WING

      public static final O2ItemType FAIRY_WING
      potion ingredient
    • FLOBBERWORM_MUCUS

      public static final O2ItemType FLOBBERWORM_MUCUS
      potion ingredient
    • FLUXWEED

      public static final O2ItemType FLUXWEED
      potion ingredient
    • FLOO_POWDER

      public static final O2ItemType FLOO_POWDER
      floo powder
    • FULGURITE

      public static final O2ItemType FULGURITE
      potion ingredient
    • GALANTHUS_NIVALIS

      public static final O2ItemType GALANTHUS_NIVALIS
      potion ingredient
    • GALLEON

      public static final O2ItemType GALLEON
      wizard money
    • GINGER_ROOT

      public static final O2ItemType GINGER_ROOT
      potion ingredient
    • GROUND_DRAGON_HORN

      public static final O2ItemType GROUND_DRAGON_HORN
      potion ingredient
    • GROUND_PORCUPINE_QUILLS

      public static final O2ItemType GROUND_PORCUPINE_QUILLS
      potion ingredient
    • GROUND_SCARAB_BEETLE

      public static final O2ItemType GROUND_SCARAB_BEETLE
      potion ingredient
    • GROUND_SNAKE_FANGS

      public static final O2ItemType GROUND_SNAKE_FANGS
      potion ingredient
    • GUNPOWDER

      public static final O2ItemType GUNPOWDER
      legacy wand core
    • HONEYWATER

      public static final O2ItemType HONEYWATER
      potion ingredient
    • HORKLUMP_JUICE

      public static final O2ItemType HORKLUMP_JUICE
      potion ingredient
    • HORNED_SLUG_MUCUS

      public static final O2ItemType HORNED_SLUG_MUCUS
      potion ingredient
    • HORN_OF_BICORN

      public static final O2ItemType HORN_OF_BICORN
      potion ingredient
    • INFUSION_OF_COWBANE

      public static final O2ItemType INFUSION_OF_COWBANE
      potion ingredient
    • INFUSION_OF_WORMWOOD

      public static final O2ItemType INFUSION_OF_WORMWOOD
      potion ingredient
    • INVISIBILITY_CLOAK

      public static final O2ItemType INVISIBILITY_CLOAK
      an invisibility cloak
    • JOBBERKNOLL_FEATHER

      public static final O2ItemType JOBBERKNOLL_FEATHER
      potion ingredient
    • KELPIE_HAIR

      public static final O2ItemType KELPIE_HAIR
      wand core
    • KNOTGRASS

      public static final O2ItemType KNOTGRASS
      potion ingredient
    • KNUT

      public static final O2ItemType KNUT
      wizard money
    • LACEWING_FLIES

      public static final O2ItemType LACEWING_FLIES
      potion ingredient
    • LAVENDER_SPRIG

      public static final O2ItemType LAVENDER_SPRIG
      potion ingredient
    • LEECH_JUICE

      public static final O2ItemType LEECH_JUICE
      potion ingredient
    • LEECHES

      public static final O2ItemType LEECHES
      potion ingredient
    • LETHE_RIVER_WATER

      public static final O2ItemType LETHE_RIVER_WATER
      potion ingredient
    • LIONFISH_SPINES

      public static final O2ItemType LIONFISH_SPINES
      potion ingredient
    • MANDRAKE_LEAF

      public static final O2ItemType MANDRAKE_LEAF
      potion ingredient
    • MERCURY

      public static final O2ItemType MERCURY
      potion ingredient
    • MINT_SPRIG

      public static final O2ItemType MINT_SPRIG
      potion ingredient
    • MISTLETOE_BERRIES

      public static final O2ItemType MISTLETOE_BERRIES
      potion ingredient
    • MOONCALF_MILK

      public static final O2ItemType MOONCALF_MILK
      potion ingredient
    • MOONDEW_DROP

      public static final O2ItemType MOONDEW_DROP
      potion ingredient
    • PEWTER_CAULDRON

      public static final O2ItemType PEWTER_CAULDRON
      cauldron for making potions
    • PHOENIX_FEATHER

      public static final O2ItemType PHOENIX_FEATHER
      wand core
    • PLAYING_CARDS

      public static final O2ItemType PLAYING_CARDS
      divination object
    • POISONOUS_POTATO

      public static final O2ItemType POISONOUS_POTATO
      potion ingredient
    • POWDERED_ASHPODEL_ROOT

      public static final O2ItemType POWDERED_ASHPODEL_ROOT
      potion ingredient
    • POWDERED_GRIFFIN_CLAW

      public static final O2ItemType POWDERED_GRIFFIN_CLAW
      potion ingredient
    • POWDERED_SAGE

      public static final O2ItemType POWDERED_SAGE
      potion ingredient
    • PUFFERFISH_EYE

      public static final O2ItemType PUFFERFISH_EYE
      potion ingredient
    • RAT_SPLEEN

      public static final O2ItemType RAT_SPLEEN
      potion ingredient
    • ROTTEN_FLESH

      public static final O2ItemType ROTTEN_FLESH
      potion ingredient
    • RUNESPOOR_EGG

      public static final O2ItemType RUNESPOOR_EGG
      potion ingredient
    • SALAMANDER_BLOOD

      public static final O2ItemType SALAMANDER_BLOOD
      potion ingredient
    • SALAMANDER_FIRE

      public static final O2ItemType SALAMANDER_FIRE
      potion ingredient
    • SHRIVELIG

      public static final O2ItemType SHRIVELIG
      potion ingredient
    • SICKLE

      public static final O2ItemType SICKLE
      wizard money
    • SLICED_CATERPILLARS

      public static final O2ItemType SLICED_CATERPILLARS
      potion ingredient
    • SLOTH_BRAIN

      public static final O2ItemType SLOTH_BRAIN
      potion ingredient
    • SLOTH_BRAIN_MUCUS

      public static final O2ItemType SLOTH_BRAIN_MUCUS
      potion ingredient
    • SOPOPHORUS_BEAN_JUICE

      public static final O2ItemType SOPOPHORUS_BEAN_JUICE
      potion ingredient
    • SPIDER_EYE

      public static final O2ItemType SPIDER_EYE
      potion ingredient
    • STANDARD_POTION_INGREDIENT

      public static final O2ItemType STANDARD_POTION_INGREDIENT
      potion ingredient
    • TAROT_CARDS

      public static final O2ItemType TAROT_CARDS
      divination object
    • TEA_LEAVES

      public static final O2ItemType TEA_LEAVES
      divination object
    • UNICORN_HAIR

      public static final O2ItemType UNICORN_HAIR
      potion ingredient, wand core
    • UNICORN_HORN

      public static final O2ItemType UNICORN_HORN
      potion ingredient
    • VALERIAN_SPRIGS

      public static final O2ItemType VALERIAN_SPRIGS
      potion ingredient
    • VALERIAN_ROOT

      public static final O2ItemType VALERIAN_ROOT
      potion ingredient
    • VEELA_HAIR

      public static final O2ItemType VEELA_HAIR
      wand core
    • WAND

      public static final O2ItemType WAND
      unenchanted wand
    • WARTCAP_POWDER

      public static final O2ItemType WARTCAP_POWDER
      potion ingredient
    • WOLFSBANE

      public static final O2ItemType WOLFSBANE
      potion ingredient
  • Method Details

    • values

      public static O2ItemType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static O2ItemType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      @NotNull public @NotNull String getName()
      get the name of this item
      Returns:
      the name of this item
    • getLore

      @NotNull public @NotNull String getLore()
      get the lore for this item
      Returns:
      the lore for this item or its name if there is no lore
    • getMaterial

      @NotNull public @NotNull org.bukkit.Material getMaterial()
      get the material for this item
      Returns:
      the material type for this item
    • getItemEnchantment

      @Nullable public @Nullable ItemEnchantmentType getItemEnchantment()
      get the enchantment on this item
      Returns:
      the enchantment for this item if there is one, null otherwise
    • setMaterial

      public void setMaterial(@NotNull @NotNull org.bukkit.Material m)
      Set the material for this item
      Parameters:
      m - the material type
    • getTypeByName

      @Nullable public static @Nullable O2ItemType getTypeByName(@NotNull @NotNull String itemName)
      Get the item type by name
      Parameters:
      itemName - the name of the item
      Returns:
      the type if found, null otherwise
    • isItemThisType

      public boolean isItemThisType(@NotNull @NotNull org.bukkit.entity.Item item)
      Is the specified ItemStack this item type
      Parameters:
      item - the item to check
      Returns:
      true if it is this type, false otherwise
    • isItemThisType

      public boolean isItemThisType(@NotNull @NotNull org.bukkit.inventory.ItemStack itemStack)
      Is the specified ItemStack this item type
      Parameters:
      itemStack - the item stack to check
      Returns:
      true if it is this type, false otherwise
    • getItem

      @Nullable public @Nullable org.bukkit.inventory.ItemStack getItem(int amount)
      Get an ItemStack of this item type
      Parameters:
      amount - the amount of items in the stack
      Returns:
      an ItemStack of this item