Enum Class SpellType

java.lang.Object
java.lang.Enum<SpellType>
com.binaris.wizardry.api.content.spell.SpellType
All Implemented Interfaces:
Serializable, Comparable<SpellType>, Constable

public enum SpellType extends Enum<SpellType>
  • Enum Constant Details

    • ATTACK

      public static final SpellType ATTACK
    • DEFENCE

      public static final SpellType DEFENCE
    • UTILITY

      public static final SpellType UTILITY
    • MINION

      public static final SpellType MINION
    • BUFF

      public static final SpellType BUFF
    • CONSTRUCT

      public static final SpellType CONSTRUCT
    • PROJECTILE

      public static final SpellType PROJECTILE
    • ALTERATION

      public static final SpellType ALTERATION
  • Method Details

    • values

      public static SpellType[] 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 SpellType 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
    • fromName

      public static SpellType fromName(String name)
    • fromLocation

      @Nullable public static @Nullable SpellType fromLocation(net.minecraft.resources.ResourceLocation location)
    • getLocation

      public net.minecraft.resources.ResourceLocation getLocation()
    • getName

      public String getName()
    • getDisplayName

      public String getDisplayName()