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 Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> --- .../minecraft/client/font/TextVisitFactory.mapping | 8 ++++---- .../client/render/entity/EntityRenderer.mapping | 2 +- mappings/net/minecraft/entity/Entity.mapping | 4 ++-- .../minecraft/entity/ai/goal/GoalSelector.mapping | 4 ++-- .../minecraft/entity/passive/HorseBaseEntity.mapping | 4 ++-- mappings/net/minecraft/item/Item.mapping | 1 - mappings/net/minecraft/item/ItemStack.mapping | 2 +- mappings/net/minecraft/item/Wearable.mapping | 2 +- mappings/net/minecraft/nbt/NbtOps.mapping | 4 ++-- .../net/minecraft/screen/slot/SlotActionType.mapping | 8 ++++---- .../minecraft/server/dedicated/ServerMBean.mapping | 2 +- .../server/function/CommandFunction.mapping | 2 +- mappings/net/minecraft/text/CharacterVisitor.mapping | 2 +- mappings/net/minecraft/text/StringVisitable.mapping | 6 +++--- mappings/net/minecraft/text/Style.mapping | 6 +++--- mappings/net/minecraft/text/Text.mapping | 6 +++--- mappings/net/minecraft/text/TextColor.mapping | 4 ++-- mappings/net/minecraft/util/Identifier.mapping | 6 +++--- mappings/net/minecraft/util/JsonSerializing.mapping | 2 +- .../net/minecraft/util/dynamic/RegistryCodec.mapping | 2 +- .../util/dynamic/RegistryElementCodec.mapping | 2 +- .../net/minecraft/util/dynamic/RegistryOps.mapping | 4 ++-- .../util/dynamic/RegistryReadingOps.mapping | 2 +- mappings/net/minecraft/util/math/MathHelper.mapping | 2 +- .../util/registry/DynamicRegistryManager.mapping | 4 ++-- .../minecraft/util/registry/MutableRegistry.mapping | 2 +- .../net/minecraft/util/registry/RegistryKey.mapping | 4 ++-- mappings/net/minecraft/world/ModifiableWorld.mapping | 4 ++-- mappings/net/minecraft/world/gen/ChunkRandom.mapping | 12 ++++++------ .../minecraft/world/gen/NoiseColumnSampler.mapping | 2 +- .../world/gen/StructureWeightSampler.mapping | 2 +- 31 files changed, 58 insertions(+), 59 deletions(-) diff --git a/mappings/net/minecraft/client/font/TextVisitFactory.mapping b/mappings/net/minecraft/client/font/TextVisitFactory.mapping index 5c7dde0f1b..4e3989e9da 100644 --- a/mappings/net/minecraft/client/font/TextVisitFactory.mapping +++ b/mappings/net/minecraft/client/font/TextVisitFactory.mapping @@ -10,7 +10,7 @@ CLASS net/minecraft/class_5223 net/minecraft/client/font/TextVisitFactory METHOD method_27472 visitFormatted (Ljava/lang/String;ILnet/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.

+ COMMENT

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.

+ COMMENT

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.

+ COMMENT

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.

+ COMMENT

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.

+ COMMENT

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.

+ COMMENT obvious name label rendering, no dismounting while riding, etc. COMMENT COMMENT

This is used by vanilla for non-player entities to crouch, such as - COMMENT for foxes and cats.

+ COMMENT for foxes and cats. METHOD method_18375 detach ()V COMMENT Removes all the passengers and removes this entity from any vehicles it is riding. METHOD method_18376 getPose ()Lnet/minecraft/class_4050; diff --git a/mappings/net/minecraft/entity/ai/goal/GoalSelector.mapping b/mappings/net/minecraft/entity/ai/goal/GoalSelector.mapping index 14419b9d88..643b420949 100644 --- a/mappings/net/minecraft/entity/ai/goal/GoalSelector.mapping +++ b/mappings/net/minecraft/entity/ai/goal/GoalSelector.mapping @@ -5,11 +5,11 @@ CLASS net/minecraft/class_1355 net/minecraft/entity/ai/goal/GoalSelector COMMENT

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.)

+ COMMENT this method.) COMMENT COMMENT

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.

+ COMMENT they were added. FIELD field_18410 REPLACEABLE_GOAL Lnet/minecraft/class_4135; FIELD field_18411 goalsByControl Ljava/util/Map; FIELD field_6461 goals Ljava/util/Set; diff --git a/mappings/net/minecraft/entity/passive/HorseBaseEntity.mapping b/mappings/net/minecraft/entity/passive/HorseBaseEntity.mapping index 4676e0fa93..3cb8cb41a4 100644 --- a/mappings/net/minecraft/entity/passive/HorseBaseEntity.mapping +++ b/mappings/net/minecraft/entity/passive/HorseBaseEntity.mapping @@ -50,10 +50,10 @@ CLASS net/minecraft/class_1496 net/minecraft/entity/passive/HorseBaseEntity COMMENT

In the item slot argument type, the slot is referred to as 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 slot. COMMENT COMMENT

This is used by horse armors and llama carpets, but can be - COMMENT refitted to any purpose.

+ COMMENT refitted to any purpose. METHOD method_6736 isAngry ()Z METHOD method_6737 setAngry (Z)V ARG 1 angry diff --git a/mappings/net/minecraft/item/Item.mapping b/mappings/net/minecraft/item/Item.mapping index 96cc50e2f4..0e2db59fe9 100644 --- a/mappings/net/minecraft/item/Item.mapping +++ b/mappings/net/minecraft/item/Item.mapping @@ -115,7 +115,6 @@ CLASS net/minecraft/class_1792 net/minecraft/item/Item COMMENT Note that this is not the only way to achieve "effectiveness" when mining. COMMENT Other items, such as shears on string, may use their own logic COMMENT and calls to this method might not return a value consistent to this rule for those items. - COMMENT

ARG 1 state METHOD method_7857 hasRecipeRemainder ()Z COMMENT Checks if this item has a remainder item that is left behind when used as a crafting ingredient. diff --git a/mappings/net/minecraft/item/ItemStack.mapping b/mappings/net/minecraft/item/ItemStack.mapping index a5279ad074..751a38e441 100644 --- a/mappings/net/minecraft/item/ItemStack.mapping +++ b/mappings/net/minecraft/item/ItemStack.mapping @@ -174,7 +174,7 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack COMMENT

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 - COMMENT

This type of item can be targeted by the {@code minecraft:binding_curse} enchantment.

+ COMMENT

This 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 COMMENT

This 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 - COMMENT

This 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

This 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.

+ 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. 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).

+ COMMENT

When 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).

+ 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). 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 - COMMENT

Any syntax errors, such as improper comment lines or unknown commands, will be thrown at this point.

+ COMMENT

Any 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 COMMENT

When 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 COMMENT

A 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 COMMENT

When 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 - COMMENT

A style is immutable.

+ COMMENT

A 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 COMMENT

When 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 COMMENT

Each 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 COMMENT

This 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 - COMMENT

A shallow copy is made for the siblings.

+ COMMENT

A 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}.

+ COMMENT

This 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; METHOD (Ljava/lang/String;)V - COMMENT

Takes a string of the form {@code :}, for example {@code minecraft:iron_ingot}.

- COMMENT

The string will be split (on the {@code :}) into an identifier with the specified path and namespace.

+ COMMENT

Takes a string of the form {@code :}, for example {@code minecraft:iron_ingot}. + COMMENT

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}.

+ COMMENT

Parses a string into an {@code Identifier}. COMMENT Takes a string of the form {@code :}, for example {@code minecraft:iron_ingot}. COMMENT @return resulting identifier, or {@code null} if the string couldn't be parsed as an identifier ARG 0 id diff --git a/mappings/net/minecraft/util/JsonSerializing.mapping b/mappings/net/minecraft/util/JsonSerializing.mapping index 98478a45c2..44bc584d38 100644 --- a/mappings/net/minecraft/util/JsonSerializing.mapping +++ b/mappings/net/minecraft/util/JsonSerializing.mapping @@ -11,7 +11,7 @@ CLASS net/minecraft/class_5330 net/minecraft/util/JsonSerializing COMMENT COMMENT

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.

+ COMMENT logic. FIELD field_25192 registry Lnet/minecraft/class_2378; FIELD field_25193 rootFieldName Ljava/lang/String; FIELD field_25194 idFieldName Ljava/lang/String; diff --git a/mappings/net/minecraft/util/dynamic/RegistryCodec.mapping b/mappings/net/minecraft/util/dynamic/RegistryCodec.mapping index f25c8acc35..988f898de4 100644 --- a/mappings/net/minecraft/util/dynamic/RegistryCodec.mapping +++ b/mappings/net/minecraft/util/dynamic/RegistryCodec.mapping @@ -3,7 +3,7 @@ CLASS net/minecraft/class_5380 net/minecraft/util/dynamic/RegistryCodec COMMENT COMMENT

Compared to regular codec, this codec performs additional work when COMMENT decoding, loading its elements from the given resource manager's JSON - COMMENT files.

+ COMMENT files. COMMENT COMMENT @param the registry's element type COMMENT @see RegistryElementCodec diff --git a/mappings/net/minecraft/util/dynamic/RegistryElementCodec.mapping b/mappings/net/minecraft/util/dynamic/RegistryElementCodec.mapping index 957e5c87c5..f3560f3f7c 100644 --- a/mappings/net/minecraft/util/dynamic/RegistryElementCodec.mapping +++ b/mappings/net/minecraft/util/dynamic/RegistryElementCodec.mapping @@ -4,7 +4,7 @@ CLASS net/minecraft/class_5381 net/minecraft/util/dynamic/RegistryElementCodec COMMENT decoding behavior if it cannot do so. COMMENT COMMENT

The codec's saves and loads {@code Supplier} in order to avoid early - COMMENT loading from registry before a registry is fully loaded from a codec.

+ COMMENT loading from registry before a registry is fully loaded from a codec. COMMENT COMMENT @param the element type COMMENT @see RegistryCodec diff --git a/mappings/net/minecraft/util/dynamic/RegistryOps.mapping b/mappings/net/minecraft/util/dynamic/RegistryOps.mapping index b0c0752e36..d68561b4bf 100644 --- a/mappings/net/minecraft/util/dynamic/RegistryOps.mapping +++ b/mappings/net/minecraft/util/dynamic/RegistryOps.mapping @@ -20,7 +20,7 @@ CLASS net/minecraft/class_5382 net/minecraft/util/dynamic/RegistryOps 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.

+ COMMENT reading ops. COMMENT COMMENT @see RegistryReadingOps#encodeOrId(Object, Object, RegistryKey, Codec) ARG 2 key @@ -31,7 +31,7 @@ CLASS net/minecraft/class_5382 net/minecraft/util/dynamic/RegistryOps METHOD method_29763 readSupplier (Lnet/minecraft/class_5321;Lnet/minecraft/class_2385;Lcom/mojang/serialization/Codec;Lnet/minecraft/class_2960;)Lcom/mojang/serialization/DataResult; COMMENT Reads a supplier for a registry element. COMMENT - COMMENT

This logic is used by both {@code decodeOrId} and {@code loadToRegistry}.

+ COMMENT

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.

+ COMMENT reading ops. COMMENT COMMENT @see RegistryOps#decodeOrId(Object, RegistryKey, Codec, boolean) ARG 1 input diff --git a/mappings/net/minecraft/util/math/MathHelper.mapping b/mappings/net/minecraft/util/math/MathHelper.mapping index d0aea27790..3759b01def 100644 --- a/mappings/net/minecraft/util/math/MathHelper.mapping +++ b/mappings/net/minecraft/util/math/MathHelper.mapping @@ -137,7 +137,7 @@ CLASS net/minecraft/class_3532 net/minecraft/util/math/MathHelper METHOD method_15388 stepUnwrappedAngleTowards (FFF)F COMMENT Steps from {@code from} degrees towards {@code to} degrees, changing the value by at most {@code step} degrees. COMMENT - COMMENT

This method does not wrap the resulting angle, so {@link #stepAngleTowards(float, float, float)} should be used in preference.

+ COMMENT

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.

+ COMMENT manager for server-sent dynamic registries. COMMENT COMMENT

The {@link DynamicRegistryManager.Impl} COMMENT class serves as an immutable implementation of any particular collection - COMMENT or configuration of dynamic registries.

+ COMMENT or configuration of dynamic registries. FIELD field_25918 LOGGER Lorg/apache/logging/log4j/Logger; FIELD field_25919 INFOS Ljava/util/Map; FIELD field_26733 BUILTIN Lnet/minecraft/class_5455$class_5457; diff --git a/mappings/net/minecraft/util/registry/MutableRegistry.mapping b/mappings/net/minecraft/util/registry/MutableRegistry.mapping index 63663daaed..bfb918601b 100644 --- a/mappings/net/minecraft/util/registry/MutableRegistry.mapping +++ b/mappings/net/minecraft/util/registry/MutableRegistry.mapping @@ -15,7 +15,7 @@ CLASS net/minecraft/class_2385 net/minecraft/util/registry/MutableRegistry COMMENT COMMENT

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.

+ COMMENT next available ID. ARG 1 rawId ARG 2 key ARG 3 newEntry diff --git a/mappings/net/minecraft/util/registry/RegistryKey.mapping b/mappings/net/minecraft/util/registry/RegistryKey.mapping index a383a2e19a..20c65b42cb 100644 --- a/mappings/net/minecraft/util/registry/RegistryKey.mapping +++ b/mappings/net/minecraft/util/registry/RegistryKey.mapping @@ -25,7 +25,7 @@ CLASS net/minecraft/class_5321 net/minecraft/util/registry/RegistryKey COMMENT value. COMMENT COMMENT

You can call it like {@code RegistryKey.of(Registry.ITEM_KEY, new Identifier("iron_ingot"))} - COMMENT to create a registry key for iron ingot.

+ COMMENT to create a registry key for iron ingot. COMMENT COMMENT @param the type of the value ARG 0 registry @@ -37,7 +37,7 @@ CLASS net/minecraft/class_5321 net/minecraft/util/registry/RegistryKey COMMENT all registries) with an identifier for the registry. COMMENT COMMENT

You can call it like {@code RegistryKey.of(new Identifier("block"))} - COMMENT to create a registry key for the block registry.

+ COMMENT to create a registry key for the block registry. COMMENT COMMENT @param the element type of the registry ARG 0 registry diff --git a/mappings/net/minecraft/world/ModifiableWorld.mapping b/mappings/net/minecraft/world/ModifiableWorld.mapping index 4935a423a1..7ee5ef123e 100644 --- a/mappings/net/minecraft/world/ModifiableWorld.mapping +++ b/mappings/net/minecraft/world/ModifiableWorld.mapping @@ -9,7 +9,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.

+ COMMENT interacting with the world in this way. COMMENT COMMENT

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.

+ COMMENT interacting with the world in this way. COMMENT COMMENT

The accepted values of these flags are: COMMENT

    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

    Note that the terrain seed does not depend on the world seed and only gets affected by - COMMENT chunk coordinates.

    + COMMENT chunk coordinates. ARG 1 chunkX ARG 2 chunkZ METHOD method_12661 setPopulationSeed (JII)J @@ -16,12 +16,12 @@ CLASS net/minecraft/class_2919 net/minecraft/world/gen/ChunkRandom COMMENT

    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.

    + COMMENT population seed. COMMENT COMMENT

    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.

    + COMMENT seed output. ARG 1 worldSeed ARG 3 blockX ARG 4 blockZ @@ -35,7 +35,7 @@ CLASS net/minecraft/class_2919 net/minecraft/world/gen/ChunkRandom COMMENT and strongholds. It is also used to initiate structure start behavior such as rotation. COMMENT COMMENT

    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.

    + COMMENT output since it the upper 16 bits are truncated in the setSeed() call. ARG 1 worldSeed ARG 3 chunkX ARG 4 chunkZ @@ -58,10 +58,10 @@ CLASS net/minecraft/class_2919 net/minecraft/world/gen/ChunkRandom COMMENT COMMENT

    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.

    + COMMENT chunks that lie within that region get seeded the same way. COMMENT COMMENT

    Similarly, the upper 16 bits of world seed also do not affect the region seed because - COMMENT they get truncated in the setSeed() call.

    + COMMENT they get truncated in the setSeed() call. ARG 1 worldSeed ARG 3 regionX ARG 4 regionZ diff --git a/mappings/net/minecraft/world/gen/NoiseColumnSampler.mapping b/mappings/net/minecraft/world/gen/NoiseColumnSampler.mapping index fb5f0fd1b1..bc7e28657c 100644 --- a/mappings/net/minecraft/world/gen/NoiseColumnSampler.mapping +++ b/mappings/net/minecraft/world/gen/NoiseColumnSampler.mapping @@ -35,7 +35,7 @@ CLASS net/minecraft/class_5818 net/minecraft/world/gen/NoiseColumnSampler ARG 3 y METHOD method_33646 getOffset (IDDD)D COMMENT Calculates an offset for the noise. - COMMENT

    For example in the overworld, this makes lower y values solid while making higher y values air.

    + COMMENT

    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.

    + 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. ARG 0 x ARG 1 y ARG 2 z