Class GameRuleManager

java.lang.Object
net.minecraft.world.GameRuleManager

public class GameRuleManager extends Object
Mappings:
Namespace Name
official axu
intermediary net/minecraft/class_1439
named net/minecraft/world/GameRuleManager
  • Field Details

    • field_17491

      private static final TreeMap<String,GameRuleManager.class_3596> field_17491
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a:Ljava/util/TreeMap;
      intermediary field_17491 Lnet/minecraft/class_1439;field_17491:Ljava/util/TreeMap;
      named field_17491 Lnet/minecraft/world/GameRuleManager;field_17491:Ljava/util/TreeMap;
    • gameRules

      private final TreeMap<String,GameRuleManager.Value> gameRules
      Mappings:
      Namespace Name Mixin selector
      official b Laxu;b:Ljava/util/TreeMap;
      intermediary field_5461 Lnet/minecraft/class_1439;field_5461:Ljava/util/TreeMap;
      named gameRules Lnet/minecraft/world/GameRuleManager;gameRules:Ljava/util/TreeMap;
  • Constructor Details

    • GameRuleManager

      public GameRuleManager()
  • Method Details

    • method_16297

      public void method_16297(String string, String string2, @Nullable MinecraftServer minecraftServer)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/server/MinecraftServer;)V
      intermediary method_16297 Lnet/minecraft/class_1439;method_16297(Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/server/MinecraftServer;)V
      named method_16297 Lnet/minecraft/world/GameRuleManager;method_16297(Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/server/MinecraftServer;)V
    • getBoolean

      public boolean getBoolean(String name)
      Mappings:
      Namespace Name Mixin selector
      official b Laxu;b(Ljava/lang/String;)Z
      intermediary method_4671 Lnet/minecraft/class_1439;method_4671(Ljava/lang/String;)Z
      named getBoolean Lnet/minecraft/world/GameRuleManager;getBoolean(Ljava/lang/String;)Z
    • getInt

      public int getInt(String name)
      Mappings:
      Namespace Name Mixin selector
      official c Laxu;c(Ljava/lang/String;)I
      intermediary method_8475 Lnet/minecraft/class_1439;method_8475(Ljava/lang/String;)I
      named getInt Lnet/minecraft/world/GameRuleManager;getInt(Ljava/lang/String;)I
    • getNbt

      public NbtCompound getNbt()
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a()Lgy;
      intermediary method_4666 Lnet/minecraft/class_1439;method_4666()Lnet/minecraft/class_322;
      named getNbt Lnet/minecraft/world/GameRuleManager;getNbt()Lnet/minecraft/nbt/NbtCompound;
    • setNbt

      public void setNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(Lgy;)V
      intermediary method_4667 Lnet/minecraft/class_1439;method_4667(Lnet/minecraft/class_322;)V
      named setNbt Lnet/minecraft/world/GameRuleManager;setNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • method_16301

      public GameRuleManager.Value method_16301(String string)
      Mappings:
      Namespace Name Mixin selector
      official f Laxu;f(Ljava/lang/String;)Laxu$a;
      intermediary method_16301 Lnet/minecraft/class_1439;method_16301(Ljava/lang/String;)Lnet/minecraft/class_1439$class_1440;
      named method_16301 Lnet/minecraft/world/GameRuleManager;method_16301(Ljava/lang/String;)Lnet/minecraft/world/GameRuleManager$Value;
    • method_16300

      public static TreeMap<String,GameRuleManager.class_3596> method_16300()
      Mappings:
      Namespace Name Mixin selector
      official b Laxu;b()Ljava/util/TreeMap;
      intermediary method_16300 Lnet/minecraft/class_1439;method_16300()Ljava/util/TreeMap;
      named method_16300 Lnet/minecraft/world/GameRuleManager;method_16300()Ljava/util/TreeMap;