From 51e28694eae7ff8d28b90306d79883601325473a Mon Sep 17 00:00:00 2001 From: liach <7806504+liach@users.noreply.github.com> Date: Thu, 2 Sep 2021 06:36:50 -0500 Subject: [PATCH] Fix exp javadoc issues (#2659) Co-authored-by: liach --- mappings/net/minecraft/SaveVersion.mapping | 5 ++++- mappings/net/minecraft/world/chunk/ChunkNibbleArray.mapping | 2 +- mappings/net/minecraft/world/chunk/GridNibbleArray.mapping | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mappings/net/minecraft/SaveVersion.mapping b/mappings/net/minecraft/SaveVersion.mapping index 281775e2fa..f31ab018ee 100644 --- a/mappings/net/minecraft/SaveVersion.mapping +++ b/mappings/net/minecraft/SaveVersion.mapping @@ -2,7 +2,7 @@ CLASS net/minecraft/class_6477 net/minecraft/SaveVersion COMMENT The version components of Minecraft that is used for identification in COMMENT save games. FIELD field_34268 MAIN_SERIES Ljava/lang/String; - COMMENT The default series of a version, {@value}, if a series is not specified. + COMMENT The default series of a version, {@code main}, if a series is not specified. FIELD field_34269 id I FIELD field_34270 series Ljava/lang/String; METHOD (I)V @@ -17,6 +17,9 @@ CLASS net/minecraft/class_6477 net/minecraft/SaveVersion COMMENT {@return the series of this version} COMMENT COMMENT

This is stored in the {@code Series} field within {@code level.dat}. + COMMENT + COMMENT

Known values include {@code main} for the main series and + COMMENT {@code ccpreview} for the caves and cliffs experimental snapshots. METHOD method_37788 isAvailableTo (Lnet/minecraft/class_6477;)Z COMMENT {@return whether this save version can be loaded by the {@code other} version} ARG 1 other diff --git a/mappings/net/minecraft/world/chunk/ChunkNibbleArray.mapping b/mappings/net/minecraft/world/chunk/ChunkNibbleArray.mapping index c43981704d..c8e72f4ef0 100644 --- a/mappings/net/minecraft/world/chunk/ChunkNibbleArray.mapping +++ b/mappings/net/minecraft/world/chunk/ChunkNibbleArray.mapping @@ -42,7 +42,7 @@ CLASS net/minecraft/class_2804 net/minecraft/world/chunk/ChunkNibbleArray COMMENT Sets the value of a nibble. COMMENT COMMENT

If the {@code value} has bits outside of the lowest 4 set to {@code 1}, - COMMENT (value is outside of {@code [0, 15]), the extraneous bits are discarded. + COMMENT (value is outside of {@code [0, 15]}), the extraneous bits are discarded. ARG 1 x ARG 2 y ARG 3 z diff --git a/mappings/net/minecraft/world/chunk/GridNibbleArray.mapping b/mappings/net/minecraft/world/chunk/GridNibbleArray.mapping index 15a0981cf3..dbe1a64851 100644 --- a/mappings/net/minecraft/world/chunk/GridNibbleArray.mapping +++ b/mappings/net/minecraft/world/chunk/GridNibbleArray.mapping @@ -2,7 +2,7 @@ CLASS net/minecraft/class_4298 net/minecraft/world/chunk/GridNibbleArray COMMENT A specialized chunk nibble array that ignores the Y parameters and only COMMENT stores the nibbles for a 16 × 16 horizontal chunk slice. COMMENT - COMMENT

When it is {@linkplain #toByteArray() converted to a byte array}, it + COMMENT

When it is {@linkplain #asByteArray() converted to a byte array}, it COMMENT fills each Y-level of the returned array with the same nibbles it stores. FIELD field_31707 INDICES_PER_Y I COMMENT The number of array indices each Y-level uses in a chunk nibble array.