Enum Class activationType

java.lang.Object
java.lang.Enum<activationType>
io.github.gameking1happy.gk1hcore.packs.activationType
All Implemented Interfaces:
Serializable, Comparable<activationType>, Constable

public enum activationType extends Enum<activationType>
The activation type of the pack.
See Also:
  • Enum Constant Details

    • ALWAYS

      public static final activationType ALWAYS
      NeoForge & Fabric: The pack is forced active always.
    • DEFAULT

      public static final activationType DEFAULT
      NeoForge: Players have to manually activate the pack themselves.
      Fabric: Enabled by default. Players still have full control over the activation of the pack.
    • NORMAL

      public static final activationType NORMAL
      NeoForge: Players have to manually activate the pack themselves.
      Fabric: Normal activation. The user has full control over the activation of the resource pack.
  • Method Details

    • values

      public static activationType[] 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 activationType 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