mirror of https://github.com/FabricMC/yarn.git
GameRules docs. (#1381)
* GameRules docs. * Be a little less redudant * Update mappings/net/minecraft/world/GameRules.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/world/GameRules.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/world/GameRules.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/world/GameRules.mapping Co-authored-by: Chloe Dawn <chloe@sapphic.dev> * Update mappings/net/minecraft/world/GameRules.mapping Co-authored-by: Chloe Dawn <chloe@sapphic.dev> * Update mappings/net/minecraft/world/GameRules.mapping Co-authored-by: Chloe Dawn <chloe@sapphic.dev> * Update mappings/net/minecraft/world/GameRules.mapping Co-authored-by: Chloe Dawn <chloe@sapphic.dev> * Update mappings/net/minecraft/world/GameRules.mapping Co-authored-by: Chloe Dawn <chloe@sapphic.dev> * Update mappings/net/minecraft/world/GameRules.mapping Co-authored-by: Chloe Dawn <chloe@sapphic.dev> * Github is not good at conflicts with suggestions. * Spacing game rule * Remove unneeded entries * Update mappings/net/minecraft/world/GameRules.mapping Co-authored-by: Pyrofab <redstoneinfire@gmail.com> * Update mappings/net/minecraft/world/GameRules.mapping Co-authored-by: Pyrofab <redstoneinfire@gmail.com> * Update mappings/net/minecraft/world/GameRules.mapping Co-authored-by: Pyrofab <redstoneinfire@gmail.com> * Update mappings/net/minecraft/world/GameRules.mapping Co-authored-by: Pyrofab <redstoneinfire@gmail.com> * Manually add some suggestions Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: Chloe Dawn <chloe@sapphic.dev> Co-authored-by: Pyrofab <redstoneinfire@gmail.com>
This commit is contained in:
parent
f02f57cf81
commit
779b1dc2f5
|
@ -1,5 +1,39 @@
|
|||
CLASS net/minecraft/class_1928 net/minecraft/world/GameRules
|
||||
FIELD field_19388 Lnet/minecraft/class_1928$class_4313;
|
||||
COMMENT A {@linkplain GameRule game rule} which regulates whether mobs can modify the world.
|
||||
COMMENT
|
||||
COMMENT <p>Generally one is expected to test this rule before an entity modifies the world.
|
||||
COMMENT
|
||||
COMMENT <p>In vanilla, this includes:
|
||||
COMMENT <ul>
|
||||
COMMENT <li>Whether creeper explosions destroy blocks
|
||||
COMMENT <li>Whether a zombie can break down a door
|
||||
COMMENT <li>Whether a wither killing an entity will place or drop a wither rose
|
||||
COMMENT </ul>
|
||||
FIELD field_19389 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;
|
||||
COMMENT A {@linkplain GameRule game rule} which regulates whether mobs can spawn naturally.
|
||||
FIELD field_19391 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;
|
||||
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;
|
||||
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 <p>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;
|
||||
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;
|
||||
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;
|
||||
COMMENT A {@linkplain GameRule game rule} which regulates whether raids should occur.
|
||||
COMMENT
|
||||
COMMENT <p>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;
|
||||
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;
|
||||
METHOD <init> (Ljava/util/Map;)V
|
||||
|
@ -30,9 +64,13 @@ CLASS net/minecraft/class_1928 net/minecraft/world/GameRules
|
|||
ARG 1 rule
|
||||
METHOD method_27321 setValue (Lnet/minecraft/class_1928$class_4313;Lnet/minecraft/class_1928;Lnet/minecraft/server/MinecraftServer;)V
|
||||
ARG 1 key
|
||||
ARG 2 rules
|
||||
ARG 3 server
|
||||
METHOD method_27322 setAllValues (Lnet/minecraft/class_1928;Lnet/minecraft/server/MinecraftServer;)V
|
||||
ARG 1 rules
|
||||
ARG 2 server
|
||||
METHOD method_27323 (Lnet/minecraft/class_1928;Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_1928$class_4313;)V
|
||||
ARG 3 key
|
||||
METHOD method_27325 copy ()Lnet/minecraft/class_1928;
|
||||
METHOD method_8355 getBoolean (Lnet/minecraft/class_1928$class_4313;)Z
|
||||
ARG 1 rule
|
||||
|
@ -112,14 +150,16 @@ CLASS net/minecraft/class_1928 net/minecraft/world/GameRules
|
|||
FIELD field_19414 argumentType Ljava/util/function/Supplier;
|
||||
FIELD field_19415 ruleFactory Ljava/util/function/Function;
|
||||
FIELD field_19416 changeCallback Ljava/util/function/BiConsumer;
|
||||
FIELD field_24104 ruleAcceptor Lnet/minecraft/class_1928$class_5199;
|
||||
METHOD <init> (Ljava/util/function/Supplier;Ljava/util/function/Function;Ljava/util/function/BiConsumer;Lnet/minecraft/class_1928$class_5199;)V
|
||||
ARG 1 argumentType
|
||||
ARG 2 ruleFactory
|
||||
ARG 3 changeCallback
|
||||
ARG 4 ruleAcceptor
|
||||
METHOD method_20773 createRule ()Lnet/minecraft/class_1928$class_4315;
|
||||
METHOD method_20775 argument (Ljava/lang/String;)Lcom/mojang/brigadier/builder/RequiredArgumentBuilder;
|
||||
ARG 1 name
|
||||
METHOD method_27336 (Lnet/minecraft/class_1928$class_4311;Lnet/minecraft/class_1928$class_4313;)V
|
||||
METHOD method_27336 accept (Lnet/minecraft/class_1928$class_4311;Lnet/minecraft/class_1928$class_4313;)V
|
||||
ARG 1 consumer
|
||||
ARG 2 key
|
||||
CLASS class_4315 Rule
|
||||
|
|
Loading…
Reference in New Issue