Enum GenTierActionType

java.lang.Object
java.lang.Enum<GenTierActionType>
me.metallicgoat.tweaksaddon.api.gentiers.GenTierActionType
All Implemented Interfaces:
Serializable, Comparable<GenTierActionType>, java.lang.constant.Constable

public enum GenTierActionType extends Enum<GenTierActionType>
Represents the different types of Gen Tier Actions
  • Enum Constant Details

    • GEN_UPGRADE

      public static final GenTierActionType GEN_UPGRADE
      Affects drop rates of in game spawners
    • BED_DESTROY

      public static final GenTierActionType BED_DESTROY
      Destroys all remaining beds within an arena
    • SUDDEN_DEATH

      public static final GenTierActionType SUDDEN_DEATH
      Spawns in dragons to aid in ending the game faster
    • GAME_OVER

      public static final GenTierActionType GAME_OVER
      The tier that officially ends the game
    • PLUGIN

      public static final GenTierActionType PLUGIN
      Custom Gen Tier Action
  • Method Details

    • values

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

      public static GenTierActionType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getDefaultHandlerId

      public String getDefaultHandlerId()
      Get the default handler Id for this action type
      Returns:
      The default handler Id
      Throws:
      UnsupportedOperationException - if this action type is PLUGIN