Class GameRuleDispatcher.Value

java.lang.Object
net.minecraft.world.GameRuleDispatcher.Value
Enclosing class:
GameRuleDispatcher

static class GameRuleDispatcher.Value
extends Object
Mappings:
Namespace Name
official adk$a
intermediary net/minecraft/class_95$class_96
named net/minecraft/world/GameRuleDispatcher$Value
  • Field Details

    • stringDefaultValue

      private String stringDefaultValue
      Mappings:
      Namespace Name Mixin selector
      official a Ladk$a;a:Ljava/lang/String;
      intermediary field_239 Lnet/minecraft/class_95$class_96;field_239:Ljava/lang/String;
      named stringDefaultValue Lnet/minecraft/world/GameRuleDispatcher$Value;stringDefaultValue:Ljava/lang/String;
    • booleanDefaultValue

      private boolean booleanDefaultValue
      Mappings:
      Namespace Name Mixin selector
      official b Ladk$a;b:Z
      intermediary field_240 Lnet/minecraft/class_95$class_96;field_240:Z
      named booleanDefaultValue Lnet/minecraft/world/GameRuleDispatcher$Value;booleanDefaultValue:Z
    • intDefaultValue

      private int intDefaultValue
      Mappings:
      Namespace Name Mixin selector
      official c Ladk$a;c:I
      intermediary field_241 Lnet/minecraft/class_95$class_96;field_241:I
      named intDefaultValue Lnet/minecraft/world/GameRuleDispatcher$Value;intDefaultValue:I
    • doubleDefaultValue

      private double doubleDefaultValue
      Mappings:
      Namespace Name Mixin selector
      official d Ladk$a;d:D
      intermediary field_242 Lnet/minecraft/class_95$class_96;field_242:D
      named doubleDefaultValue Lnet/minecraft/world/GameRuleDispatcher$Value;doubleDefaultValue:D
    • type

      private final GameRuleDispatcher.VariableType type
      Mappings:
      Namespace Name Mixin selector
      official e Ladk$a;e:Ladk$b;
      intermediary field_243 Lnet/minecraft/class_95$class_96;field_243:Lnet/minecraft/class_95$class_97;
      named type Lnet/minecraft/world/GameRuleDispatcher$Value;type:Lnet/minecraft/world/GameRuleDispatcher$VariableType;
  • Constructor Details

    • Value

      public Value​(String defaultValue, GameRuleDispatcher.VariableType type)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ladk$a;<init>(Ljava/lang/String;Ladk$b;)V
      intermediary <init> Lnet/minecraft/class_95$class_96;<init>(Ljava/lang/String;Lnet/minecraft/class_95$class_97;)V
      named <init> Lnet/minecraft/world/GameRuleDispatcher$Value;<init>(Ljava/lang/String;Lnet/minecraft/world/GameRuleDispatcher$VariableType;)V
  • Method Details

    • setDefaultValue

      public void setDefaultValue​(String value)
      Mappings:
      Namespace Name Mixin selector
      official a Ladk$a;a(Ljava/lang/String;)V
      intermediary method_227 Lnet/minecraft/class_95$class_96;method_227(Ljava/lang/String;)V
      named setDefaultValue Lnet/minecraft/world/GameRuleDispatcher$Value;setDefaultValue(Ljava/lang/String;)V
    • getStringDefaultValue

      public String getStringDefaultValue()
      Mappings:
      Namespace Name Mixin selector
      official a Ladk$a;a()Ljava/lang/String;
      intermediary method_226 Lnet/minecraft/class_95$class_96;method_226()Ljava/lang/String;
      named getStringDefaultValue Lnet/minecraft/world/GameRuleDispatcher$Value;getStringDefaultValue()Ljava/lang/String;
    • getBooleanDefaultValue

      public boolean getBooleanDefaultValue()
      Mappings:
      Namespace Name Mixin selector
      official b Ladk$a;b()Z
      intermediary method_228 Lnet/minecraft/class_95$class_96;method_228()Z
      named getBooleanDefaultValue Lnet/minecraft/world/GameRuleDispatcher$Value;getBooleanDefaultValue()Z
    • getIntDefaultValue

      public int getIntDefaultValue()
      Mappings:
      Namespace Name Mixin selector
      official c Ladk$a;c()I
      intermediary method_229 Lnet/minecraft/class_95$class_96;method_229()I
      named getIntDefaultValue Lnet/minecraft/world/GameRuleDispatcher$Value;getIntDefaultValue()I
    • getVariableType

      public GameRuleDispatcher.VariableType getVariableType()
      Mappings:
      Namespace Name Mixin selector
      official e Ladk$a;e()Ladk$b;
      intermediary method_230 Lnet/minecraft/class_95$class_96;method_230()Lnet/minecraft/class_95$class_97;
      named getVariableType Lnet/minecraft/world/GameRuleDispatcher$Value;getVariableType()Lnet/minecraft/world/GameRuleDispatcher$VariableType;