From 13b18dd9da0d1ab83492074e3a6234216cdf173c Mon Sep 17 00:00:00 2001 From: i509VCB Date: Wed, 24 Jun 2020 02:10:13 -0700 Subject: [PATCH] Re add names to documented rules that were previously autonamed. (#1496) --- .../net/minecraft/world/GameRules.mapping | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/mappings/net/minecraft/world/GameRules.mapping b/mappings/net/minecraft/world/GameRules.mapping index a1a95b8941..8722d0221b 100644 --- a/mappings/net/minecraft/world/GameRules.mapping +++ b/mappings/net/minecraft/world/GameRules.mapping @@ -1,5 +1,5 @@ CLASS net/minecraft/class_1928 net/minecraft/world/GameRules - FIELD field_19388 Lnet/minecraft/class_1928$class_4313; + FIELD field_19388 DO_MOB_GRIEFING Lnet/minecraft/class_1928$class_4313; COMMENT A {@linkplain GameRule game rule} which regulates whether mobs can modify the world. COMMENT COMMENT

Generally one is expected to test this rule before an entity modifies the world. @@ -10,29 +10,29 @@ CLASS net/minecraft/class_1928 net/minecraft/world/GameRules COMMENT

  • Whether a zombie can break down a door COMMENT
  • Whether a wither killing an entity will place or drop a wither rose COMMENT - FIELD field_19389 Lnet/minecraft/class_1928$class_4313; + FIELD field_19389 KEEP_INVENTORY Lnet/minecraft/class_1928$class_4313; COMMENT A {@linkplain GameRule game rule} which regulates whether player inventories should be persist through respawning. - FIELD field_19390 Lnet/minecraft/class_1928$class_4313; + FIELD field_19390 DO_MOB_SPAWNING Lnet/minecraft/class_1928$class_4313; COMMENT A {@linkplain GameRule game rule} which regulates whether mobs can spawn naturally. - FIELD field_19391 Lnet/minecraft/class_1928$class_4313; + FIELD field_19391 DO_MOB_LOOT Lnet/minecraft/class_1928$class_4313; COMMENT A {@linkplain GameRule game rule} which regulates whether mobs should drop loot on death. - FIELD field_19392 Lnet/minecraft/class_1928$class_4313; + FIELD field_19392 DO_TILE_DROPS Lnet/minecraft/class_1928$class_4313; COMMENT A {@linkplain GameRule game rule} which regulates whether blocks should drop their items when broken. - FIELD field_19401 Lnet/minecraft/class_1928$class_4313; + FIELD field_19401 REDUCED_DEBUG_INFO Lnet/minecraft/class_1928$class_4313; COMMENT A {@linkplain GameRule game rule} which regulates whether clients' {@linkplain net.minecraft.client.gui.hud.DebugHud debug HUD}s show reduced information. COMMENT COMMENT

    When the value of this rule is changed, all connected clients will be notified to update their display. COMMENT In vanilla, this includes the visibility of coordinates on the clients' debug HUDs. - FIELD field_19405 Lnet/minecraft/class_1928$class_4313; + FIELD field_19405 MAX_ENTITY_CRAMMING Lnet/minecraft/class_1928$class_4313; COMMENT A {@linkplain GameRule game rule} which regulates the number of entities that can be crammed into a block space before they incur cramming damage. - FIELD field_19409 Lnet/minecraft/class_1928$class_4313; + FIELD field_19409 ANNOUNCE_ADVANCEMENTS Lnet/minecraft/class_1928$class_4313; COMMENT A {@linkplain GameRule game rule} which regulates whether a player's advancements should be announced in chat. FIELD field_19410 LOGGER Lorg/apache/logging/log4j/Logger; - FIELD field_19422 Lnet/minecraft/class_1928$class_4313; + FIELD field_19422 DISABLE_RAIDS Lnet/minecraft/class_1928$class_4313; COMMENT A {@linkplain GameRule game rule} which regulates whether raids should occur. COMMENT COMMENT

    If this rule is set to {@code true} while raids are occurring, the raids will be stopped. - FIELD field_20638 Lnet/minecraft/class_1928$class_4313; + FIELD field_20638 DO_IMMEDIATE_RESPAWN Lnet/minecraft/class_1928$class_4313; COMMENT A {@linkplain GameRule game rule} which regulates whether a player should immediately respawn upon death. FIELD field_9196 rules Ljava/util/Map; FIELD field_9197 RULE_TYPES Ljava/util/Map;