Package net.minecraft.world
Class GameRules
java.lang.Object
net.minecraft.world.GameRules
- Mappings:
Namespace Name official bxpintermediary net/minecraft/class_1928named net/minecraft/world/GameRules
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interfaceGameRules.Acceptor<T extends GameRules.Rule<T>>static classstatic enumstatic classstatic final classGameRules.Key<T extends GameRules.Rule<T>>static classGameRules.Rule<T extends GameRules.Rule<T>>static classGameRules.Type<T extends GameRules.Rule<T>>static interfaceA visitor used to visit all game rules. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GameRules.Key<GameRules.BooleanRule>static final intstatic final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule>A game rule which regulates whether mobs can modify the world.static final GameRules.Key<GameRules.BooleanRule>A game rule which regulates whether player inventories should be persist through respawning.static final GameRules.Key<GameRules.BooleanRule>A game rule which regulates whether mobs can spawn naturally.static final GameRules.Key<GameRules.BooleanRule>A game rule which regulates whether mobs should drop loot on death.static final GameRules.Key<GameRules.BooleanRule>A game rule which regulates whether blocks should drop their items when broken.static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.IntRule>A game rule which regulates the number of entities that can be crammed into a block space before they incur cramming damage.static final GameRules.Key<GameRules.BooleanRule>A game rule which regulates whether a player's advancements should be announced in chat.static final GameRules.Key<GameRules.BooleanRule>A game rule which regulates whether raids should occur.static final GameRules.Key<GameRules.BooleanRule>A game rule which regulates whether a player should immediately respawn upon death.static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule>(package private) static final Loggerstatic final GameRules.Key<GameRules.IntRule>static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.IntRule>static final GameRules.Key<GameRules.IntRule>private static final Map<GameRules.Key<?>,GameRules.Type<?>> private final Map<GameRules.Key<?>,GameRules.Rule<?>> static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.IntRule>static final GameRules.Key<GameRules.BooleanRule>static final GameRules.Key<GameRules.BooleanRule> -
Constructor Summary
ConstructorsModifierConstructorDescriptionGameRules(com.mojang.serialization.DynamicLike<?> dynamicLike) privateGameRules(Map<GameRules.Key<?>, GameRules.Rule<?>> rules) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaccept(GameRules.Visitor visitor) Make the visitor visit all registered game rules.private static <T extends GameRules.Rule<T>>
voidaccept(GameRules.Visitor consumer, GameRules.Key<?> key, GameRules.Type<?> type) copy()<T extends GameRules.Rule<T>>
Tget(GameRules.Key<T> key) booleanintgetInt(GameRules.Key<GameRules.IntRule> rule) private voidload(com.mojang.serialization.DynamicLike<?> dynamicLike) private static <T extends GameRules.Rule<T>>
GameRules.Key<T>register(String name, GameRules.Category category, GameRules.Type<T> type) voidsetAllValues(GameRules rules, @Nullable MinecraftServer server) private <T extends GameRules.Rule<T>>
voidsetValue(GameRules.Key<T> key, GameRules rules, @Nullable MinecraftServer server) toNbt()
-
Field Details
-
DEFAULT_RANDOM_TICK_SPEED
public static final int DEFAULT_RANDOM_TICK_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector official aLbxp;a:Iintermediary field_30963Lnet/minecraft/class_1928;field_30963:Inamed DEFAULT_RANDOM_TICK_SPEEDLnet/minecraft/world/GameRules;DEFAULT_RANDOM_TICK_SPEED:I
-
LOGGER
- Mappings:
Namespace Name Mixin selector official KLbxp;K:Lorg/apache/logging/log4j/Logger;intermediary field_19410Lnet/minecraft/class_1928;field_19410:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/world/GameRules;LOGGER:Lorg/apache/logging/log4j/Logger;
-
RULE_TYPES
- Mappings:
Namespace Name Mixin selector official LLbxp;L:Ljava/util/Map;intermediary field_9197Lnet/minecraft/class_1928;field_9197:Ljava/util/Map;named RULE_TYPESLnet/minecraft/world/GameRules;RULE_TYPES:Ljava/util/Map;
-
DO_FIRE_TICK
- Mappings:
Namespace Name Mixin selector official bLbxp;b:Lbxp$e;intermediary field_19387Lnet/minecraft/class_1928;field_19387:Lnet/minecraft/class_1928$class_4313;named DO_FIRE_TICKLnet/minecraft/world/GameRules;DO_FIRE_TICK:Lnet/minecraft/world/GameRules$Key;
-
field_19388
A game rule which regulates whether mobs can modify the world.Generally one is expected to test this rule before an entity modifies the world.
In vanilla, this includes:
- Whether creeper explosions destroy blocks
- Whether a zombie can break down a door
- Whether a wither killing an entity will place or drop a wither rose
- Mappings:
Namespace Name Mixin selector official cLbxp;c:Lbxp$e;intermediary field_19388Lnet/minecraft/class_1928;field_19388:Lnet/minecraft/class_1928$class_4313;named field_19388Lnet/minecraft/world/GameRules;field_19388:Lnet/minecraft/world/GameRules$Key;
-
field_19389
A game rule which regulates whether player inventories should be persist through respawning.- Mappings:
Namespace Name Mixin selector official dLbxp;d:Lbxp$e;intermediary field_19389Lnet/minecraft/class_1928;field_19389:Lnet/minecraft/class_1928$class_4313;named field_19389Lnet/minecraft/world/GameRules;field_19389:Lnet/minecraft/world/GameRules$Key;
-
field_19390
A game rule which regulates whether mobs can spawn naturally.- Mappings:
Namespace Name Mixin selector official eLbxp;e:Lbxp$e;intermediary field_19390Lnet/minecraft/class_1928;field_19390:Lnet/minecraft/class_1928$class_4313;named field_19390Lnet/minecraft/world/GameRules;field_19390:Lnet/minecraft/world/GameRules$Key;
-
field_19391
A game rule which regulates whether mobs should drop loot on death.- Mappings:
Namespace Name Mixin selector official fLbxp;f:Lbxp$e;intermediary field_19391Lnet/minecraft/class_1928;field_19391:Lnet/minecraft/class_1928$class_4313;named field_19391Lnet/minecraft/world/GameRules;field_19391:Lnet/minecraft/world/GameRules$Key;
-
field_19392
A game rule which regulates whether blocks should drop their items when broken.- Mappings:
Namespace Name Mixin selector official gLbxp;g:Lbxp$e;intermediary field_19392Lnet/minecraft/class_1928;field_19392:Lnet/minecraft/class_1928$class_4313;named field_19392Lnet/minecraft/world/GameRules;field_19392:Lnet/minecraft/world/GameRules$Key;
-
DO_ENTITY_DROPS
- Mappings:
Namespace Name Mixin selector official hLbxp;h:Lbxp$e;intermediary field_19393Lnet/minecraft/class_1928;field_19393:Lnet/minecraft/class_1928$class_4313;named DO_ENTITY_DROPSLnet/minecraft/world/GameRules;DO_ENTITY_DROPS:Lnet/minecraft/world/GameRules$Key;
-
COMMAND_BLOCK_OUTPUT
- Mappings:
Namespace Name Mixin selector official iLbxp;i:Lbxp$e;intermediary field_19394Lnet/minecraft/class_1928;field_19394:Lnet/minecraft/class_1928$class_4313;named COMMAND_BLOCK_OUTPUTLnet/minecraft/world/GameRules;COMMAND_BLOCK_OUTPUT:Lnet/minecraft/world/GameRules$Key;
-
NATURAL_REGENERATION
- Mappings:
Namespace Name Mixin selector official jLbxp;j:Lbxp$e;intermediary field_19395Lnet/minecraft/class_1928;field_19395:Lnet/minecraft/class_1928$class_4313;named NATURAL_REGENERATIONLnet/minecraft/world/GameRules;NATURAL_REGENERATION:Lnet/minecraft/world/GameRules$Key;
-
DO_DAYLIGHT_CYCLE
- Mappings:
Namespace Name Mixin selector official kLbxp;k:Lbxp$e;intermediary field_19396Lnet/minecraft/class_1928;field_19396:Lnet/minecraft/class_1928$class_4313;named DO_DAYLIGHT_CYCLELnet/minecraft/world/GameRules;DO_DAYLIGHT_CYCLE:Lnet/minecraft/world/GameRules$Key;
-
LOG_ADMIN_COMMANDS
- Mappings:
Namespace Name Mixin selector official lLbxp;l:Lbxp$e;intermediary field_19397Lnet/minecraft/class_1928;field_19397:Lnet/minecraft/class_1928$class_4313;named LOG_ADMIN_COMMANDSLnet/minecraft/world/GameRules;LOG_ADMIN_COMMANDS:Lnet/minecraft/world/GameRules$Key;
-
SHOW_DEATH_MESSAGES
- Mappings:
Namespace Name Mixin selector official mLbxp;m:Lbxp$e;intermediary field_19398Lnet/minecraft/class_1928;field_19398:Lnet/minecraft/class_1928$class_4313;named SHOW_DEATH_MESSAGESLnet/minecraft/world/GameRules;SHOW_DEATH_MESSAGES:Lnet/minecraft/world/GameRules$Key;
-
RANDOM_TICK_SPEED
- Mappings:
Namespace Name Mixin selector official nLbxp;n:Lbxp$e;intermediary field_19399Lnet/minecraft/class_1928;field_19399:Lnet/minecraft/class_1928$class_4313;named RANDOM_TICK_SPEEDLnet/minecraft/world/GameRules;RANDOM_TICK_SPEED:Lnet/minecraft/world/GameRules$Key;
-
SEND_COMMAND_FEEDBACK
- Mappings:
Namespace Name Mixin selector official oLbxp;o:Lbxp$e;intermediary field_19400Lnet/minecraft/class_1928;field_19400:Lnet/minecraft/class_1928$class_4313;named SEND_COMMAND_FEEDBACKLnet/minecraft/world/GameRules;SEND_COMMAND_FEEDBACK:Lnet/minecraft/world/GameRules$Key;
-
field_19401
A game rule which regulates whether clients' debug HUDs show reduced information.When the value of this rule is changed, all connected clients will be notified to update their display. In vanilla, this includes the visibility of coordinates on the clients' debug HUDs.
- Mappings:
Namespace Name Mixin selector official pLbxp;p:Lbxp$e;intermediary field_19401Lnet/minecraft/class_1928;field_19401:Lnet/minecraft/class_1928$class_4313;named field_19401Lnet/minecraft/world/GameRules;field_19401:Lnet/minecraft/world/GameRules$Key;
-
SPECTATORS_GENERATE_CHUNKS
- Mappings:
Namespace Name Mixin selector official qLbxp;q:Lbxp$e;intermediary field_19402Lnet/minecraft/class_1928;field_19402:Lnet/minecraft/class_1928$class_4313;named SPECTATORS_GENERATE_CHUNKSLnet/minecraft/world/GameRules;SPECTATORS_GENERATE_CHUNKS:Lnet/minecraft/world/GameRules$Key;
-
SPAWN_RADIUS
- Mappings:
Namespace Name Mixin selector official rLbxp;r:Lbxp$e;intermediary field_19403Lnet/minecraft/class_1928;field_19403:Lnet/minecraft/class_1928$class_4313;named SPAWN_RADIUSLnet/minecraft/world/GameRules;SPAWN_RADIUS:Lnet/minecraft/world/GameRules$Key;
-
DISABLE_ELYTRA_MOVEMENT_CHECK
- Mappings:
Namespace Name Mixin selector official sLbxp;s:Lbxp$e;intermediary field_19404Lnet/minecraft/class_1928;field_19404:Lnet/minecraft/class_1928$class_4313;named DISABLE_ELYTRA_MOVEMENT_CHECKLnet/minecraft/world/GameRules;DISABLE_ELYTRA_MOVEMENT_CHECK:Lnet/minecraft/world/GameRules$Key;
-
field_19405
A game rule which regulates the number of entities that can be crammed into a block space before they incur cramming damage.- Mappings:
Namespace Name Mixin selector official tLbxp;t:Lbxp$e;intermediary field_19405Lnet/minecraft/class_1928;field_19405:Lnet/minecraft/class_1928$class_4313;named field_19405Lnet/minecraft/world/GameRules;field_19405:Lnet/minecraft/world/GameRules$Key;
-
DO_WEATHER_CYCLE
- Mappings:
Namespace Name Mixin selector official uLbxp;u:Lbxp$e;intermediary field_19406Lnet/minecraft/class_1928;field_19406:Lnet/minecraft/class_1928$class_4313;named DO_WEATHER_CYCLELnet/minecraft/world/GameRules;DO_WEATHER_CYCLE:Lnet/minecraft/world/GameRules$Key;
-
DO_LIMITED_CRAFTING
- Mappings:
Namespace Name Mixin selector official vLbxp;v:Lbxp$e;intermediary field_19407Lnet/minecraft/class_1928;field_19407:Lnet/minecraft/class_1928$class_4313;named DO_LIMITED_CRAFTINGLnet/minecraft/world/GameRules;DO_LIMITED_CRAFTING:Lnet/minecraft/world/GameRules$Key;
-
MAX_COMMAND_CHAIN_LENGTH
- Mappings:
Namespace Name Mixin selector official wLbxp;w:Lbxp$e;intermediary field_19408Lnet/minecraft/class_1928;field_19408:Lnet/minecraft/class_1928$class_4313;named MAX_COMMAND_CHAIN_LENGTHLnet/minecraft/world/GameRules;MAX_COMMAND_CHAIN_LENGTH:Lnet/minecraft/world/GameRules$Key;
-
field_19409
A game rule which regulates whether a player's advancements should be announced in chat.- Mappings:
Namespace Name Mixin selector official xLbxp;x:Lbxp$e;intermediary field_19409Lnet/minecraft/class_1928;field_19409:Lnet/minecraft/class_1928$class_4313;named field_19409Lnet/minecraft/world/GameRules;field_19409:Lnet/minecraft/world/GameRules$Key;
-
field_19422
A game rule which regulates whether raids should occur.If this rule is set to
truewhile raids are occurring, the raids will be stopped.- Mappings:
Namespace Name Mixin selector official yLbxp;y:Lbxp$e;intermediary field_19422Lnet/minecraft/class_1928;field_19422:Lnet/minecraft/class_1928$class_4313;named field_19422Lnet/minecraft/world/GameRules;field_19422:Lnet/minecraft/world/GameRules$Key;
-
DO_INSOMNIA
- Mappings:
Namespace Name Mixin selector official zLbxp;z:Lbxp$e;intermediary field_20637Lnet/minecraft/class_1928;field_20637:Lnet/minecraft/class_1928$class_4313;named DO_INSOMNIALnet/minecraft/world/GameRules;DO_INSOMNIA:Lnet/minecraft/world/GameRules$Key;
-
field_20638
A game rule which regulates whether a player should immediately respawn upon death.- Mappings:
Namespace Name Mixin selector official ALbxp;A:Lbxp$e;intermediary field_20638Lnet/minecraft/class_1928;field_20638:Lnet/minecraft/class_1928$class_4313;named field_20638Lnet/minecraft/world/GameRules;field_20638:Lnet/minecraft/world/GameRules$Key;
-
DROWNING_DAMAGE
- Mappings:
Namespace Name Mixin selector official BLbxp;B:Lbxp$e;intermediary field_20634Lnet/minecraft/class_1928;field_20634:Lnet/minecraft/class_1928$class_4313;named DROWNING_DAMAGELnet/minecraft/world/GameRules;DROWNING_DAMAGE:Lnet/minecraft/world/GameRules$Key;
-
FALL_DAMAGE
- Mappings:
Namespace Name Mixin selector official CLbxp;C:Lbxp$e;intermediary field_20635Lnet/minecraft/class_1928;field_20635:Lnet/minecraft/class_1928$class_4313;named FALL_DAMAGELnet/minecraft/world/GameRules;FALL_DAMAGE:Lnet/minecraft/world/GameRules$Key;
-
FIRE_DAMAGE
- Mappings:
Namespace Name Mixin selector official DLbxp;D:Lbxp$e;intermediary field_20636Lnet/minecraft/class_1928;field_20636:Lnet/minecraft/class_1928$class_4313;named FIRE_DAMAGELnet/minecraft/world/GameRules;FIRE_DAMAGE:Lnet/minecraft/world/GameRules$Key;
-
FREEZE_DAMAGE
- Mappings:
Namespace Name Mixin selector official ELbxp;E:Lbxp$e;intermediary field_28044Lnet/minecraft/class_1928;field_28044:Lnet/minecraft/class_1928$class_4313;named FREEZE_DAMAGELnet/minecraft/world/GameRules;FREEZE_DAMAGE:Lnet/minecraft/world/GameRules$Key;
-
DO_PATROL_SPAWNING
- Mappings:
Namespace Name Mixin selector official FLbxp;F:Lbxp$e;intermediary field_21831Lnet/minecraft/class_1928;field_21831:Lnet/minecraft/class_1928$class_4313;named DO_PATROL_SPAWNINGLnet/minecraft/world/GameRules;DO_PATROL_SPAWNING:Lnet/minecraft/world/GameRules$Key;
-
DO_TRADER_SPAWNING
- Mappings:
Namespace Name Mixin selector official GLbxp;G:Lbxp$e;intermediary field_21832Lnet/minecraft/class_1928;field_21832:Lnet/minecraft/class_1928$class_4313;named DO_TRADER_SPAWNINGLnet/minecraft/world/GameRules;DO_TRADER_SPAWNING:Lnet/minecraft/world/GameRules$Key;
-
FORGIVE_DEAD_PLAYERS
- Mappings:
Namespace Name Mixin selector official HLbxp;H:Lbxp$e;intermediary field_25401Lnet/minecraft/class_1928;field_25401:Lnet/minecraft/class_1928$class_4313;named FORGIVE_DEAD_PLAYERSLnet/minecraft/world/GameRules;FORGIVE_DEAD_PLAYERS:Lnet/minecraft/world/GameRules$Key;
-
UNIVERSAL_ANGER
- Mappings:
Namespace Name Mixin selector official ILbxp;I:Lbxp$e;intermediary field_25402Lnet/minecraft/class_1928;field_25402:Lnet/minecraft/class_1928$class_4313;named UNIVERSAL_ANGERLnet/minecraft/world/GameRules;UNIVERSAL_ANGER:Lnet/minecraft/world/GameRules$Key;
-
PLAYERS_SLEEPING_PERCENTAGE
- Mappings:
Namespace Name Mixin selector official JLbxp;J:Lbxp$e;intermediary field_28357Lnet/minecraft/class_1928;field_28357:Lnet/minecraft/class_1928$class_4313;named PLAYERS_SLEEPING_PERCENTAGELnet/minecraft/world/GameRules;PLAYERS_SLEEPING_PERCENTAGE:Lnet/minecraft/world/GameRules$Key;
-
rules
- Mappings:
Namespace Name Mixin selector official MLbxp;M:Ljava/util/Map;intermediary field_9196Lnet/minecraft/class_1928;field_9196:Ljava/util/Map;named rulesLnet/minecraft/world/GameRules;rules:Ljava/util/Map;
-
-
Constructor Details
-
GameRules
public GameRules(com.mojang.serialization.DynamicLike<?> dynamicLike) -
GameRules
public GameRules() -
GameRules
- Mappings:
Namespace Name Mixin selector official <init>Lbxp;<init>(Ljava/util/Map;)Vintermediary <init>Lnet/minecraft/class_1928;<init>(Ljava/util/Map;)Vnamed <init>Lnet/minecraft/world/GameRules;<init>(Ljava/util/Map;)V
-
-
Method Details
-
register
private static <T extends GameRules.Rule<T>> GameRules.Key<T> register(String name, GameRules.Category category, GameRules.Type<T> type) - Mappings:
Namespace Name Mixin selector official aLbxp;a(Ljava/lang/String;Lbxp$b;Lbxp$f;)Lbxp$e;intermediary method_8359Lnet/minecraft/class_1928;method_8359(Ljava/lang/String;Lnet/minecraft/class_1928$class_5198;Lnet/minecraft/class_1928$class_4314;)Lnet/minecraft/class_1928$class_4313;named registerLnet/minecraft/world/GameRules;register(Ljava/lang/String;Lnet/minecraft/world/GameRules$Category;Lnet/minecraft/world/GameRules$Type;)Lnet/minecraft/world/GameRules$Key;
-
get
- Mappings:
Namespace Name Mixin selector official aLbxp;a(Lbxp$e;)Lbxp$g;intermediary method_20746Lnet/minecraft/class_1928;method_20746(Lnet/minecraft/class_1928$class_4313;)Lnet/minecraft/class_1928$class_4315;named getLnet/minecraft/world/GameRules;get(Lnet/minecraft/world/GameRules$Key;)Lnet/minecraft/world/GameRules$Rule;
-
toNbt
- Mappings:
Namespace Name Mixin selector official aLbxp;a()Lnb;intermediary method_8358Lnet/minecraft/class_1928;method_8358()Lnet/minecraft/class_2487;named toNbtLnet/minecraft/world/GameRules;toNbt()Lnet/minecraft/nbt/NbtCompound;
-
load
private void load(com.mojang.serialization.DynamicLike<?> dynamicLike) - Mappings:
Namespace Name Mixin selector official aLbxp;a(Lcom/mojang/serialization/DynamicLike;)Vintermediary method_8357Lnet/minecraft/class_1928;method_8357(Lcom/mojang/serialization/DynamicLike;)Vnamed loadLnet/minecraft/world/GameRules;load(Lcom/mojang/serialization/DynamicLike;)V
-
copy
- Mappings:
Namespace Name Mixin selector official bLbxp;b()Lbxp;intermediary method_27325Lnet/minecraft/class_1928;method_27325()Lnet/minecraft/class_1928;named copyLnet/minecraft/world/GameRules;copy()Lnet/minecraft/world/GameRules;
-
accept
Make the visitor visit all registered game rules.The visitation involves calling both
GameRules.Visitor.visit(GameRules.Key, GameRules.Type)andvisitXfor every game rule, where X is the current rule's concrete type such as a boolean.- Mappings:
Namespace Name Mixin selector official aLbxp;a(Lbxp$c;)Vintermediary method_20744Lnet/minecraft/class_1928;method_20744(Lnet/minecraft/class_1928$class_4311;)Vnamed acceptLnet/minecraft/world/GameRules;accept(Lnet/minecraft/world/GameRules$Visitor;)V
-
accept
private static <T extends GameRules.Rule<T>> void accept(GameRules.Visitor consumer, GameRules.Key<?> key, GameRules.Type<?> type) - Mappings:
Namespace Name Mixin selector official aLbxp;a(Lbxp$c;Lbxp$e;Lbxp$f;)Vintermediary method_20745Lnet/minecraft/class_1928;method_20745(Lnet/minecraft/class_1928$class_4311;Lnet/minecraft/class_1928$class_4313;Lnet/minecraft/class_1928$class_4314;)Vnamed acceptLnet/minecraft/world/GameRules;accept(Lnet/minecraft/world/GameRules$Visitor;Lnet/minecraft/world/GameRules$Key;Lnet/minecraft/world/GameRules$Type;)V
-
setAllValues
- Mappings:
Namespace Name Mixin selector official aLbxp;a(Lbxp;Lnet/minecraft/server/MinecraftServer;)Vintermediary method_27322Lnet/minecraft/class_1928;method_27322(Lnet/minecraft/class_1928;Lnet/minecraft/server/MinecraftServer;)Vnamed setAllValuesLnet/minecraft/world/GameRules;setAllValues(Lnet/minecraft/world/GameRules;Lnet/minecraft/server/MinecraftServer;)V
-
setValue
private <T extends GameRules.Rule<T>> void setValue(GameRules.Key<T> key, GameRules rules, @Nullable @Nullable MinecraftServer server) - Mappings:
Namespace Name Mixin selector official aLbxp;a(Lbxp$e;Lbxp;Lnet/minecraft/server/MinecraftServer;)Vintermediary method_27321Lnet/minecraft/class_1928;method_27321(Lnet/minecraft/class_1928$class_4313;Lnet/minecraft/class_1928;Lnet/minecraft/server/MinecraftServer;)Vnamed setValueLnet/minecraft/world/GameRules;setValue(Lnet/minecraft/world/GameRules$Key;Lnet/minecraft/world/GameRules;Lnet/minecraft/server/MinecraftServer;)V
-
getBoolean
- Mappings:
Namespace Name Mixin selector official bLbxp;b(Lbxp$e;)Zintermediary method_8355Lnet/minecraft/class_1928;method_8355(Lnet/minecraft/class_1928$class_4313;)Znamed getBooleanLnet/minecraft/world/GameRules;getBoolean(Lnet/minecraft/world/GameRules$Key;)Z
-
getInt
- Mappings:
Namespace Name Mixin selector official cLbxp;c(Lbxp$e;)Iintermediary method_8356Lnet/minecraft/class_1928;method_8356(Lnet/minecraft/class_1928$class_4313;)Inamed getIntLnet/minecraft/world/GameRules;getInt(Lnet/minecraft/world/GameRules$Key;)I
-