Enum Class GameRuleManager.VariableType

java.lang.Object
java.lang.Enum<GameRuleManager.VariableType>
net.minecraft.world.GameRuleManager.VariableType
All Implemented Interfaces:
Serializable, Comparable<GameRuleManager.VariableType>, Constable
Enclosing class:
GameRuleManager

public static enum GameRuleManager.VariableType extends Enum<GameRuleManager.VariableType>
Mappings:
Namespace Name
official ajp$b
intermediary net/minecraft/class_1439$class_2166
named net/minecraft/world/GameRuleManager$VariableType
  • Enum Constant Details

    • ANY

      public static final GameRuleManager.VariableType ANY
      Mappings:
      Namespace Name Mixin selector
      official a Lajp$b;a:Lajp$b;
      intermediary field_9207 Lnet/minecraft/class_1439$class_2166;field_9207:Lnet/minecraft/class_1439$class_2166;
      named ANY Lnet/minecraft/world/GameRuleManager$VariableType;ANY:Lnet/minecraft/world/GameRuleManager$VariableType;
    • BOOLEAN

      public static final GameRuleManager.VariableType BOOLEAN
      Mappings:
      Namespace Name Mixin selector
      official b Lajp$b;b:Lajp$b;
      intermediary field_9208 Lnet/minecraft/class_1439$class_2166;field_9208:Lnet/minecraft/class_1439$class_2166;
      named BOOLEAN Lnet/minecraft/world/GameRuleManager$VariableType;BOOLEAN:Lnet/minecraft/world/GameRuleManager$VariableType;
    • NUMERICAL

      public static final GameRuleManager.VariableType NUMERICAL
      Mappings:
      Namespace Name Mixin selector
      official c Lajp$b;c:Lajp$b;
      intermediary field_9209 Lnet/minecraft/class_1439$class_2166;field_9209:Lnet/minecraft/class_1439$class_2166;
      named NUMERICAL Lnet/minecraft/world/GameRuleManager$VariableType;NUMERICAL:Lnet/minecraft/world/GameRuleManager$VariableType;
  • Constructor Details

    • VariableType

      private VariableType()
  • Method Details

    • values

      public static GameRuleManager.VariableType[] 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 GameRuleManager.VariableType 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