Enum Class VaultState.LightLevel

java.lang.Object
java.lang.Enum<VaultState.LightLevel>
net.minecraft.world.level.block.entity.vault.VaultState.LightLevel
All Implemented Interfaces:
Serializable, Comparable<VaultState.LightLevel>, Constable
Enclosing class:
VaultState

static enum VaultState.LightLevel extends Enum<VaultState.LightLevel>
  • Enum Constant Details

  • Field Details

    • value

      final int value
  • Constructor Details

    • LightLevel

      private LightLevel(int p_327951_)
  • Method Details

    • values

      public static VaultState.LightLevel[] 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 VaultState.LightLevel 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