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 axu$c
intermediary net/minecraft/class_1439$class_2166
named net/minecraft/world/GameRuleManager$VariableType
  • Enum Constant Details

    • ANY_VALUE

      public static final GameRuleManager.VariableType ANY_VALUE
      Mappings:
      Namespace Name Mixin selector
      official a Laxu$c;a:Laxu$c;
      intermediary field_17496 Lnet/minecraft/class_1439$class_2166;field_17496:Lnet/minecraft/class_1439$class_2166;
      named ANY_VALUE Lnet/minecraft/world/GameRuleManager$VariableType;ANY_VALUE:Lnet/minecraft/world/GameRuleManager$VariableType;
    • BOOLEAN_VALUE

      public static final GameRuleManager.VariableType BOOLEAN_VALUE
      Mappings:
      Namespace Name Mixin selector
      official b Laxu$c;b:Laxu$c;
      intermediary field_17497 Lnet/minecraft/class_1439$class_2166;field_17497:Lnet/minecraft/class_1439$class_2166;
      named BOOLEAN_VALUE Lnet/minecraft/world/GameRuleManager$VariableType;BOOLEAN_VALUE:Lnet/minecraft/world/GameRuleManager$VariableType;
    • NUMERICAL_VALUE

      public static final GameRuleManager.VariableType NUMERICAL_VALUE
      Mappings:
      Namespace Name Mixin selector
      official c Laxu$c;c:Laxu$c;
      intermediary field_17498 Lnet/minecraft/class_1439$class_2166;field_17498:Lnet/minecraft/class_1439$class_2166;
      named NUMERICAL_VALUE Lnet/minecraft/world/GameRuleManager$VariableType;NUMERICAL_VALUE:Lnet/minecraft/world/GameRuleManager$VariableType;
  • Field Details

    • field_17499

      private final Supplier<com.mojang.brigadier.arguments.ArgumentType<?>> field_17499
      Mappings:
      Namespace Name Mixin selector
      official d Laxu$c;d:Ljava/util/function/Supplier;
      intermediary field_17499 Lnet/minecraft/class_1439$class_2166;field_17499:Ljava/util/function/Supplier;
      named field_17499 Lnet/minecraft/world/GameRuleManager$VariableType;field_17499:Ljava/util/function/Supplier;
    • field_17500

      private final BiFunction<com.mojang.brigadier.context.CommandContext<class_3915>,String,String> field_17500
      Mappings:
      Namespace Name Mixin selector
      official e Laxu$c;e:Ljava/util/function/BiFunction;
      intermediary field_17500 Lnet/minecraft/class_1439$class_2166;field_17500:Ljava/util/function/BiFunction;
      named field_17500 Lnet/minecraft/world/GameRuleManager$VariableType;field_17500:Ljava/util/function/BiFunction;
  • Constructor Details

  • 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
    • method_16308

      public com.mojang.brigadier.builder.RequiredArgumentBuilder<class_3915,?> method_16308(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu$c;a(Ljava/lang/String;)Lcom/mojang/brigadier/builder/RequiredArgumentBuilder;
      intermediary method_16308 Lnet/minecraft/class_1439$class_2166;method_16308(Ljava/lang/String;)Lcom/mojang/brigadier/builder/RequiredArgumentBuilder;
      named method_16308 Lnet/minecraft/world/GameRuleManager$VariableType;method_16308(Ljava/lang/String;)Lcom/mojang/brigadier/builder/RequiredArgumentBuilder;
    • method_16307

      public void method_16307(com.mojang.brigadier.context.CommandContext<class_3915> commandContext, String string, GameRuleManager.Value value)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu$c;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;Laxu$a;)V
      intermediary method_16307 Lnet/minecraft/class_1439$class_2166;method_16307(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;Lnet/minecraft/class_1439$class_1440;)V
      named method_16307 Lnet/minecraft/world/GameRuleManager$VariableType;method_16307(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;Lnet/minecraft/world/GameRuleManager$Value;)V