Enum GameRuleDispatcher.VariableType

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

public static enum GameRuleDispatcher.VariableType
extends Enum<GameRuleDispatcher.VariableType>
Mappings:
Namespace Name
official adk$b
intermediary net/minecraft/class_95$class_97
named net/minecraft/world/GameRuleDispatcher$VariableType
  • Enum Constant Details

    • ANY

      public static final GameRuleDispatcher.VariableType ANY
      Mappings:
      Namespace Name Mixin selector
      official a Ladk$b;a:Ladk$b;
      intermediary field_244 Lnet/minecraft/class_95$class_97;field_244:Lnet/minecraft/class_95$class_97;
      named ANY Lnet/minecraft/world/GameRuleDispatcher$VariableType;ANY:Lnet/minecraft/world/GameRuleDispatcher$VariableType;
    • BOOLEAN

      public static final GameRuleDispatcher.VariableType BOOLEAN
      Mappings:
      Namespace Name Mixin selector
      official b Ladk$b;b:Ladk$b;
      intermediary field_245 Lnet/minecraft/class_95$class_97;field_245:Lnet/minecraft/class_95$class_97;
      named BOOLEAN Lnet/minecraft/world/GameRuleDispatcher$VariableType;BOOLEAN:Lnet/minecraft/world/GameRuleDispatcher$VariableType;
    • NUMERICAL

      public static final GameRuleDispatcher.VariableType NUMERICAL
      Mappings:
      Namespace Name Mixin selector
      official c Ladk$b;c:Ladk$b;
      intermediary field_246 Lnet/minecraft/class_95$class_97;field_246:Lnet/minecraft/class_95$class_97;
      named NUMERICAL Lnet/minecraft/world/GameRuleDispatcher$VariableType;NUMERICAL:Lnet/minecraft/world/GameRuleDispatcher$VariableType;
  • Constructor Details

    • VariableType

      private VariableType()
  • Method Details

    • values

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