From fbad72f5e9613144b38645c19a53934b4f957e10 Mon Sep 17 00:00:00 2001
From: haykam821 <24855774+haykam821@users.noreply.github.com>
Date: Sun, 11 Apr 2021 08:08:07 -0400
Subject: [PATCH] Remove unnecessary paragraph end tags from documentation
(#2295)
* Remove unnecessary paragraph end tags from documentation
* Update mappings/net/minecraft/item/Item.mapping
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: modmuss50 The visit is in forward direction. The visit is in forward direction.
COMMENT
COMMENT @return {@code true} if the full string was visited, or {@code false} indicating
COMMENT the {@code visitor} terminated half-way
@@ -24,7 +24,7 @@ CLASS net/minecraft/class_5223 net/minecraft/client/font/TextVisitFactory
METHOD method_27473 visitFormatted (Ljava/lang/String;ILnet/minecraft/class_2583;Lnet/minecraft/class_2583;Lnet/minecraft/class_5224;)Z
COMMENT Visits the code points of a string, applying the formatting codes within.
COMMENT
- COMMENT The visit is in forward direction. The visit is in forward direction.
COMMENT
COMMENT @return {@code true} if the full string was visited, or {@code false} indicating
COMMENT the {@code visitor} terminated half-way
@@ -53,7 +53,7 @@ CLASS net/minecraft/class_5223 net/minecraft/client/font/TextVisitFactory
COMMENT Visits the code points for every literal string and the formatting codes
COMMENT supplied by the renderable.
COMMENT
- COMMENT The visit is in forward direction. The visit is in forward direction.
COMMENT
COMMENT @return {@code true} if the full string was visited, or {@code false} indicating
COMMENT the {@code visitor} terminated half-way
@@ -80,7 +80,7 @@ CLASS net/minecraft/class_5223 net/minecraft/client/font/TextVisitFactory
METHOD method_27479 visitFormatted (Ljava/lang/String;Lnet/minecraft/class_2583;Lnet/minecraft/class_5224;)Z
COMMENT Visits the code points of a string, applying the formatting codes within.
COMMENT
- COMMENT The visit is in forward direction. The visit is in forward direction.
COMMENT
COMMENT @return {@code true} if the full string was visited, or {@code false} indicating
COMMENT the {@code visitor} terminated half-way
diff --git a/mappings/net/minecraft/client/render/entity/EntityRenderer.mapping b/mappings/net/minecraft/client/render/entity/EntityRenderer.mapping
index e0f29427a8..a5a8f4f4b0 100644
--- a/mappings/net/minecraft/client/render/entity/EntityRenderer.mapping
+++ b/mappings/net/minecraft/client/render/entity/EntityRenderer.mapping
@@ -20,7 +20,7 @@ CLASS net/minecraft/class_897 net/minecraft/client/render/entity/EntityRenderer
METHOD method_3921 hasLabel (Lnet/minecraft/class_1297;)Z
COMMENT Determines whether the passed entity should render with a nameplate above its head.
COMMENT
- COMMENT Checks for a custom nametag on living entities, and for teams/team visibilities for players. Checks for a custom nametag on living entities, and for teams/team visibilities for players.
ARG 1 entity
METHOD method_3926 renderLabelIfPresent (Lnet/minecraft/class_1297;Lnet/minecraft/class_2561;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
ARG 1 entity
diff --git a/mappings/net/minecraft/entity/Entity.mapping b/mappings/net/minecraft/entity/Entity.mapping
index d9340e2b99..ce0bc537b7 100644
--- a/mappings/net/minecraft/entity/Entity.mapping
+++ b/mappings/net/minecraft/entity/Entity.mapping
@@ -107,10 +107,10 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity
COMMENT
COMMENT Compared to {@link #isSneaking()}, it only makes the entity appear
COMMENT crouching and does not bring other effects of sneaking, such as no less
- COMMENT obvious name label rendering, no dismounting while riding, etc. This is used by vanilla for non-player entities to crouch, such as
- COMMENT for foxes and cats. A running goal will always be replaced with a goal with a lower priority, if
COMMENT such a goal exists, it's competing for the same control and its
COMMENT {@link Goal#canStart() canStart()} method returns true. (Note that some goals randomize
- COMMENT this method.) If two goals have the same priority and are competing for the same control, then one
COMMENT goal cannot replace the other if it's running. The goal selector tries to run goals in the order
- COMMENT they were added. In the item slot argument type, the slot is referred to as This is used by horse armors and llama carpets, but can be
- COMMENT refitted to any purpose.
COMMENT horse.armor
. In this horse's screen, it appears in the middle of
COMMENT the left side, and right below the saddle slot if this horse has a saddle
- COMMENT slot.
COMMENT Depending on block implementation, when combined together, the correct item and block may achieve a better mining speed and yield COMMENT drops that would not be obtained when mining otherwise. - COMMENT
+ COMMENT COMMENT @return values consistent with calls to {@link Item#isSuitableFor} COMMENT @see Item#isSuitableFor(BlockState) ARG 1 state diff --git a/mappings/net/minecraft/item/Wearable.mapping b/mappings/net/minecraft/item/Wearable.mapping index 520bd2bc6d..2921ee4e8f 100644 --- a/mappings/net/minecraft/item/Wearable.mapping +++ b/mappings/net/minecraft/item/Wearable.mapping @@ -1,4 +1,4 @@ CLASS net/minecraft/class_5151 net/minecraft/item/Wearable COMMENT Represents a type of item that is wearable in an armor equipment slot. COMMENT - COMMENTThis type of item can be targeted by the {@code minecraft:binding_curse} enchantment.
+ COMMENTThis type of item can be targeted by the {@code minecraft:binding_curse} enchantment. diff --git a/mappings/net/minecraft/nbt/NbtOps.mapping b/mappings/net/minecraft/nbt/NbtOps.mapping index f5aee0cae1..d75f0ec313 100644 --- a/mappings/net/minecraft/nbt/NbtOps.mapping +++ b/mappings/net/minecraft/nbt/NbtOps.mapping @@ -8,7 +8,7 @@ CLASS net/minecraft/class_2509 net/minecraft/nbt/NbtOps COMMENT they will be transported in packets as NBT. DataFixerUpper allows COMMENT generalizing the dimension serialization logic to prevent duplicate code, COMMENT where the NBT ops allow the DataFixerUpper dimension serialization logic - COMMENT to interact with Minecraft NBTs.
+ COMMENT to interact with Minecraft NBTs. COMMENT COMMENT @see NbtOps#INSTANCE FIELD field_11560 INSTANCE Lnet/minecraft/class_2509; @@ -17,7 +17,7 @@ CLASS net/minecraft/class_2509 net/minecraft/nbt/NbtOps COMMENTThis ops does not compress maps (replace field name to value pairs COMMENT with an ordered list of values in serialization). In fact, since COMMENT Minecraft NBT lists can only contain elements of the same type, this op - COMMENT cannot compress maps.
+ COMMENT cannot compress maps. METHOD convertTo (Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Ljava/lang/Object; ARG 2 element METHOD createBoolean (Z)Ljava/lang/Object; diff --git a/mappings/net/minecraft/screen/slot/SlotActionType.mapping b/mappings/net/minecraft/screen/slot/SlotActionType.mapping index 8e291b45fd..304359b496 100644 --- a/mappings/net/minecraft/screen/slot/SlotActionType.mapping +++ b/mappings/net/minecraft/screen/slot/SlotActionType.mapping @@ -2,15 +2,15 @@ CLASS net/minecraft/class_1713 net/minecraft/screen/slot/SlotActionType FIELD field_7789 QUICK_CRAFT Lnet/minecraft/class_1713; COMMENT Drags items between multiple slots. This is usually triggered by the player clicking and dragging between slots. COMMENT - COMMENTThis action happens in 3 stages. Stage 0 signals that the drag has begun, and stage 2 signals that the drag has ended. In between multiple stage 1s signal which slots were dragged on.
+ COMMENTThis action happens in 3 stages. Stage 0 signals that the drag has begun, and stage 2 signals that the drag has ended. In between multiple stage 1s signal which slots were dragged on. COMMENT - COMMENT
The stage is packed into the click data along with the mouse button that was clicked. See {@link net.minecraft.screen.ScreenHandler#packQuickCraftData(int, int) ScreenHandler.packQuickCraftData(int, int)} for details.
+ COMMENTThe stage is packed into the click data along with the mouse button that was clicked. See {@link net.minecraft.screen.ScreenHandler#packQuickCraftData(int, int) ScreenHandler.packQuickCraftData(int, int)} for details. FIELD field_7790 PICKUP Lnet/minecraft/class_1713; COMMENT Performs a normal slot click. This can pickup or place items in the slot, possibly merging the cursor stack into the slot, or swapping the slot stack with the cursor stack if they can't be merged. FIELD field_7791 SWAP Lnet/minecraft/class_1713; COMMENT Exchanges items between a slot and a hotbar slot. This is usually triggered by the player pressing a 1-9 number key while hovering over a slot. COMMENT - COMMENT
When the action type is swap, the click data is the hotbar slot to swap with (0-8).
+ COMMENTWhen the action type is swap, the click data is the hotbar slot to swap with (0-8). FIELD field_7793 PICKUP_ALL Lnet/minecraft/class_1713; COMMENT Replenishes the cursor stack with items from the screen handler. This is usually triggered by the player double clicking. FIELD field_7794 QUICK_MOVE Lnet/minecraft/class_1713; @@ -18,6 +18,6 @@ CLASS net/minecraft/class_1713 net/minecraft/screen/slot/SlotActionType FIELD field_7795 THROW Lnet/minecraft/class_1713; COMMENT Throws the item out of the inventory. This is usually triggered by the player pressing Q while hovering over a slot, or clicking outside the window. COMMENT - COMMENT
When the action type is throw, the click data determines whether to throw a whole stack (1) or a single item from that stack (0).
+ COMMENTWhen the action type is throw, the click data determines whether to throw a whole stack (1) or a single item from that stack (0). FIELD field_7796 CLONE Lnet/minecraft/class_1713; COMMENT Clones the item in the slot. Usually triggered by middle clicking an item in creative mode. diff --git a/mappings/net/minecraft/server/dedicated/ServerMBean.mapping b/mappings/net/minecraft/server/dedicated/ServerMBean.mapping index 32a8f0c8b3..2bb1bc7ff6 100644 --- a/mappings/net/minecraft/server/dedicated/ServerMBean.mapping +++ b/mappings/net/minecraft/server/dedicated/ServerMBean.mapping @@ -2,7 +2,7 @@ CLASS net/minecraft/class_5169 net/minecraft/server/dedicated/ServerMBean COMMENT A dynamic management object for a Minecraft Server. COMMENT COMMENT
It exposes the average tick time and the historical tick times of the - COMMENT Minecraft Server.
+ COMMENT Minecraft Server. COMMENT COMMENT @see javax.management.DynamicMBean FIELD field_23970 LOGGER Lorg/apache/logging/log4j/Logger; diff --git a/mappings/net/minecraft/server/function/CommandFunction.mapping b/mappings/net/minecraft/server/function/CommandFunction.mapping index f17eff636c..ee64d6dbfe 100644 --- a/mappings/net/minecraft/server/function/CommandFunction.mapping +++ b/mappings/net/minecraft/server/function/CommandFunction.mapping @@ -9,7 +9,7 @@ CLASS net/minecraft/class_2158 net/minecraft/server/function/CommandFunction METHOD method_9195 create (Lnet/minecraft/class_2960;Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_2168;Ljava/util/List;)Lnet/minecraft/class_2158; COMMENT Parses a function in the context of {@code source}. COMMENT - COMMENTAny syntax errors, such as improper comment lines or unknown commands, will be thrown at this point.
+ COMMENTAny syntax errors, such as improper comment lines or unknown commands, will be thrown at this point. ARG 0 id ARG 1 dispatcher ARG 2 source diff --git a/mappings/net/minecraft/text/CharacterVisitor.mapping b/mappings/net/minecraft/text/CharacterVisitor.mapping index 012f700e61..3821174c5b 100644 --- a/mappings/net/minecraft/text/CharacterVisitor.mapping +++ b/mappings/net/minecraft/text/CharacterVisitor.mapping @@ -4,7 +4,7 @@ CLASS net/minecraft/class_5224 net/minecraft/text/CharacterVisitor COMMENT Visits a single character. COMMENT COMMENT
Multiple surrogate characters are converted into one single {@code - COMMENT codePoint} when passed into this method.
+ COMMENT codePoint} when passed into this method. COMMENT COMMENT @return {@code true} to continue visiting other characters, or {@code false} to terminate the visit ARG 1 index diff --git a/mappings/net/minecraft/text/StringVisitable.mapping b/mappings/net/minecraft/text/StringVisitable.mapping index f091fdbd94..1a305517f3 100644 --- a/mappings/net/minecraft/text/StringVisitable.mapping +++ b/mappings/net/minecraft/text/StringVisitable.mapping @@ -47,7 +47,7 @@ CLASS net/minecraft/class_5348 net/minecraft/text/StringVisitable COMMENT COMMENTWhen a {@link Optional#isPresent() present optional} is returned, COMMENT the visit is terminated before visiting all text. Can return {@link - COMMENT StringVisitable#TERMINATE_VISIT} for convenience.
+ COMMENT StringVisitable#TERMINATE_VISIT} for convenience. COMMENT COMMENT @return {@code Optional.empty()} to continue, a non-empty result to terminate ARG 1 asString @@ -59,11 +59,11 @@ CLASS net/minecraft/class_5348 net/minecraft/text/StringVisitable COMMENT COMMENTA contextual style is obtained by calling {@link Style#withParent(Style)} COMMENT on the current's text style, passing the previous contextual style or - COMMENT the starting style if it is the beginning of a visit.
+ COMMENT the starting style if it is the beginning of a visit. COMMENT COMMENTWhen a {@link Optional#isPresent() present optional} is returned, COMMENT the visit is terminated before visiting all text. Can return {@link - COMMENT StringVisitable#TERMINATE_VISIT} for convenience.
+ COMMENT StringVisitable#TERMINATE_VISIT} for convenience. COMMENT COMMENT @return {@code Optional.empty()} to continue, a non-empty result to terminate ARG 1 style diff --git a/mappings/net/minecraft/text/Style.mapping b/mappings/net/minecraft/text/Style.mapping index e7673dae22..e0e586cb04 100644 --- a/mappings/net/minecraft/text/Style.mapping +++ b/mappings/net/minecraft/text/Style.mapping @@ -2,7 +2,7 @@ CLASS net/minecraft/class_2583 net/minecraft/text/Style COMMENT The style of a {@link Text}, representing cosmetic attributes. It includes COMMENT font, formatting, click/hover events (actions), color, etc. COMMENT - COMMENTA style is immutable.
+ COMMENTA style is immutable. COMMENT COMMENT @see Text FIELD field_11851 underlined Ljava/lang/Boolean; @@ -41,7 +41,7 @@ CLASS net/minecraft/class_2583 net/minecraft/text/Style COMMENT Returns the insertion text of the style. COMMENT COMMENT
An insertion is inserted when a piece of text clicked while shift key - COMMENT is down in the chat HUD.
+ COMMENT is down in the chat HUD. METHOD method_10958 withClickEvent (Lnet/minecraft/class_2558;)Lnet/minecraft/class_2583; COMMENT Returns a new style with the click event provided and all other COMMENT attributes of this style. @@ -128,7 +128,7 @@ CLASS net/minecraft/class_2583 net/minecraft/text/Style COMMENT COMMENTWhen a color formatting is passed for {@code formatting}, the other COMMENT formattings, including bold, italic, strikethrough, underlined, and - COMMENT obfuscated, are all removed.
+ COMMENT obfuscated, are all removed. ARG 1 formatting COMMENT the new formatting METHOD method_27708 getFont ()Lnet/minecraft/class_2960; diff --git a/mappings/net/minecraft/text/Text.mapping b/mappings/net/minecraft/text/Text.mapping index 7701eb8d16..bb7fd4e9a8 100644 --- a/mappings/net/minecraft/text/Text.mapping +++ b/mappings/net/minecraft/text/Text.mapping @@ -3,10 +3,10 @@ CLASS net/minecraft/class_2561 net/minecraft/text/Text COMMENT COMMENTEach text has a tree structure, embodying all its {@link COMMENT #getSiblings() siblings}. To iterate contents in the text and all - COMMENT its siblings, call {@code visit} methods.
+ COMMENT its siblings, call {@code visit} methods. COMMENT COMMENTThis interface does not expose mutation operations. For mutation, - COMMENT refer to {@link MutableText}.
+ COMMENT refer to {@link MutableText}. COMMENT COMMENT @see MutableText METHOD method_10851 asString ()Ljava/lang/String; @@ -39,7 +39,7 @@ CLASS net/minecraft/class_2561 net/minecraft/text/Text METHOD method_27661 shallowCopy ()Lnet/minecraft/class_5250; COMMENT Copies the text itself, the style, and the siblings. COMMENT - COMMENTA shallow copy is made for the siblings.
+ COMMENTA shallow copy is made for the siblings. METHOD method_27662 copy ()Lnet/minecraft/class_5250; COMMENT Copies the text itself, excluding the styles or siblings. METHOD method_30163 of (Ljava/lang/String;)Lnet/minecraft/class_2561; diff --git a/mappings/net/minecraft/text/TextColor.mapping b/mappings/net/minecraft/text/TextColor.mapping index 470e95680d..04304bfb5b 100644 --- a/mappings/net/minecraft/text/TextColor.mapping +++ b/mappings/net/minecraft/text/TextColor.mapping @@ -1,7 +1,7 @@ CLASS net/minecraft/class_5251 net/minecraft/text/TextColor COMMENT Represents an RGB color of a {@link Text}. COMMENT - COMMENT
This is immutable, and part of a {@link Style}.
+ COMMENTThis is immutable, and part of a {@link Style}. COMMENT COMMENT @see Style FIELD field_24362 FORMATTING_TO_COLOR Ljava/util/Map; @@ -18,7 +18,7 @@ CLASS net/minecraft/class_5251 net/minecraft/text/TextColor COMMENT Gets the RGB value of this color. COMMENT COMMENT
The red bits can be obtained by {@code (rgb >> 16) & 0xFF}, green bits - COMMENT by {@code (rgb >> 8) & 0xFF}, blue bits by {@code rgb & 0xFF}.
+ COMMENT by {@code (rgb >> 8) & 0xFF}, blue bits by {@code rgb & 0xFF}. METHOD method_27717 fromRgb (I)Lnet/minecraft/class_5251; COMMENT Obtains a text color from an RGB value. ARG 0 rgb diff --git a/mappings/net/minecraft/util/Identifier.mapping b/mappings/net/minecraft/util/Identifier.mapping index 0f55e9eb7e..0e85074353 100644 --- a/mappings/net/minecraft/util/Identifier.mapping +++ b/mappings/net/minecraft/util/Identifier.mapping @@ -8,8 +8,8 @@ CLASS net/minecraft/class_2960 net/minecraft/util/Identifier FIELD field_33381 DEFAULT_NAMESPACE Ljava/lang/String; FIELD field_33382 REALMS_NAMESPACE Ljava/lang/String; METHODTakes a string of the form {@code
The string will be split (on the {@code :}) into an identifier with the specified path and namespace.
+ COMMENTTakes a string of the form {@code The string will be split (on the {@code :}) into an identifier with the specified path and namespace.
COMMENT Prefer using the {@link net.minecraft.util.Identifier#Identifier(java.lang.String, java.lang.String) Identifier(java.lang.String, java.lang.String)} constructor that takes the namespace and path as individual parameters to avoid mistakes.
COMMENT @throws InvalidIdentifierException if the string cannot be parsed as an identifier.
ARG 1 id
@@ -23,7 +23,7 @@ CLASS net/minecraft/class_2960 net/minecraft/util/Identifier
METHOD equals (Ljava/lang/Object;)Z
ARG 1 other
METHOD method_12829 tryParse (Ljava/lang/String;)Lnet/minecraft/class_2960;
- COMMENT Parses a string into an {@code Identifier}. Parses a string into an {@code Identifier}.
COMMENT Takes a string of the form {@code When the root element read is an object, the handler obtains the type
COMMENT from registry to handle reading; otherwise, it falls back to custom
- COMMENT logic. Compared to regular codec, this codec performs additional work when
COMMENT decoding, loading its elements from the given resource manager's JSON
- COMMENT files. The codec's saves and loads {@code Supplier This method is called by casting an arbitrary dynamic ops to a registry
- COMMENT reading ops. This logic is used by both {@code decodeOrId} and {@code loadToRegistry}. This logic is used by both {@code decodeOrId} and {@code loadToRegistry}.
ARG 1 key
ARG 2 registry
ARG 3 codec
diff --git a/mappings/net/minecraft/util/dynamic/RegistryReadingOps.mapping b/mappings/net/minecraft/util/dynamic/RegistryReadingOps.mapping
index fd84496c7c..7e40f61ad4 100644
--- a/mappings/net/minecraft/util/dynamic/RegistryReadingOps.mapping
+++ b/mappings/net/minecraft/util/dynamic/RegistryReadingOps.mapping
@@ -13,7 +13,7 @@ CLASS net/minecraft/class_5384 net/minecraft/util/dynamic/RegistryReadingOps
COMMENT Encode an id for a registry element than a full object if possible.
COMMENT
COMMENT This method is called by casting an arbitrary dynamic ops to a registry
- COMMENT reading ops. This method does not wrap the resulting angle, so {@link #stepAngleTowards(float, float, float)} should be used in preference. This method does not wrap the resulting angle, so {@link #stepAngleTowards(float, float, float)} should be used in preference.
ARG 0 from
ARG 1 to
ARG 2 step
diff --git a/mappings/net/minecraft/util/registry/DynamicRegistryManager.mapping b/mappings/net/minecraft/util/registry/DynamicRegistryManager.mapping
index 2aba6e5695..1c54a5f29e 100644
--- a/mappings/net/minecraft/util/registry/DynamicRegistryManager.mapping
+++ b/mappings/net/minecraft/util/registry/DynamicRegistryManager.mapping
@@ -4,11 +4,11 @@ CLASS net/minecraft/class_5455 net/minecraft/util/registry/DynamicRegistryManage
COMMENT
COMMENT Each minecraft server has a dynamic registry manager for file-loaded
COMMENT registries, while each client play network handler has a dynamic registry
- COMMENT manager for server-sent dynamic registries. The {@link DynamicRegistryManager.Impl}
COMMENT class serves as an immutable implementation of any particular collection
- COMMENT or configuration of dynamic registries. If the given key is not already present in the registry, adds the entry to the registry. If
COMMENT {@code rawId} is present, then this method gives the entry this raw ID. Otherwise, uses the
- COMMENT next available ID. You can call it like {@code RegistryKey.of(Registry.ITEM_KEY, new Identifier("iron_ingot"))}
- COMMENT to create a registry key for iron ingot. You can call it like {@code RegistryKey.of(new Identifier("block"))}
- COMMENT to create a registry key for the block registry. When called on the server, the new block state is stored and propagated to clients and listeners as dictated
COMMENT by the supplied flags. Note that calling this on the client will update the world locally, but may not see the
COMMENT change persisted across loads. It's recommended to check whether this world is client before
- COMMENT interacting with the world in this way. See {@link #setBlockState(BlockPos, BlockState, int)} for a list of accepted flags.
ARG 1 pos
@@ -40,7 +40,7 @@ CLASS net/minecraft/class_1945 net/minecraft/world/ModifiableWorld
COMMENT When called on the server, the new block state is stored and propagated to clients and listeners as dictated
COMMENT by the supplied flags. Note that calling this on the client will update the world locally, but may not see the
COMMENT change persisted across loads. It's recommended to check whether this world is client before
- COMMENT interacting with the world in this way. The accepted values of these flags are:
COMMENT Note that the terrain seed does not depend on the world seed and only gets affected by
- COMMENT chunk coordinates. This method takes in the world seed and the negative-most block coordinates of the
COMMENT chunk. The coordinate pair provided is equivalent to (chunkX * 16, chunkZ * 16). The
COMMENT three values are mixed together through some layers of hashing to produce the
- COMMENT population seed. This function has been proved to be reversible through some exploitation of the underlying
COMMENT nextLong() weaknesses. It is also important to remember that since setSeed()
COMMENT truncates the 16 upper bits of world seed, only the 48 lowest bits affect the population
- COMMENT seed output. Similar to the population seed, only the 48 lowest bits of the world seed affect the
- COMMENT output since it the upper 16 bits are truncated in the setSeed() call. The region coordinates pair corresponds to the coordinates of the region the seeded
COMMENT chunk lies in. For example, a swamp hut region is 32 by 32 chunks meaning that all
- COMMENT chunks that lie within that region get seeded the same way. Similarly, the upper 16 bits of world seed also do not affect the region seed because
- COMMENT they get truncated in the setSeed() call. For example in the overworld, this makes lower y values solid while making higher y values air. For example in the overworld, this makes lower y values solid while making higher y values air.
ARG 1 y
ARG 2 depth
ARG 4 scale
diff --git a/mappings/net/minecraft/world/gen/StructureWeightSampler.mapping b/mappings/net/minecraft/world/gen/StructureWeightSampler.mapping
index dc47b77856..508cbd50c6 100644
--- a/mappings/net/minecraft/world/gen/StructureWeightSampler.mapping
+++ b/mappings/net/minecraft/world/gen/StructureWeightSampler.mapping
@@ -25,7 +25,7 @@ CLASS net/minecraft/class_5817 net/minecraft/world/gen/StructureWeightSampler
ARG 2 z
METHOD method_33642 calculateStructureWeight (III)D
COMMENT Calculates the structure weight for the given position.
- COMMENT The weight increases as x and z approach {@code (0, 0)}, and positive y values make the weight negative while negative y values make the weight positive. The weight increases as x and z approach {@code (0, 0)}, and positive y values make the weight negative while negative y values make the weight positive.
ARG 0 x
ARG 1 y
ARG 2 z
diff --git a/mappings/net/minecraft/world/gen/ChunkRandom.mapping b/mappings/net/minecraft/world/gen/ChunkRandom.mapping
index c6bbf87582..3d8f194054 100644
--- a/mappings/net/minecraft/world/gen/ChunkRandom.mapping
+++ b/mappings/net/minecraft/world/gen/ChunkRandom.mapping
@@ -7,7 +7,7 @@ CLASS net/minecraft/class_2919 net/minecraft/world/gen/ChunkRandom
COMMENT and the bedrock patterns.
COMMENT
COMMENT