From 83d7540f2f5e30db148bd2c759eda4073d0d27b2 Mon Sep 17 00:00:00 2001 From: enbrain <69905075+enbrain@users.noreply.github.com> Date: Tue, 23 Nov 2021 19:37:28 +0900 Subject: [PATCH] Fix javadoc reference errors (#2871) --- .../client/render/entity/model/MinecartEntityModel.mapping | 3 --- mappings/net/minecraft/entity/Entity.mapping | 2 -- mappings/net/minecraft/entity/player/PlayerEntity.mapping | 4 +++- mappings/net/minecraft/util/math/MathHelper.mapping | 2 -- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/mappings/net/minecraft/client/render/entity/model/MinecartEntityModel.mapping b/mappings/net/minecraft/client/render/entity/model/MinecartEntityModel.mapping index e50e633935..78419feab4 100644 --- a/mappings/net/minecraft/client/render/entity/model/MinecartEntityModel.mapping +++ b/mappings/net/minecraft/client/render/entity/model/MinecartEntityModel.mapping @@ -22,9 +22,6 @@ CLASS net/minecraft/class_580 net/minecraft/client/render/entity/model/MinecartE COMMENT COMMENT {@code right}{@linkplain #root Root part} COMMENT - COMMENT - COMMENT {@value #CONTENTS}{@linkplain #root Root part}{@link #contents} - COMMENT COMMENT COMMENT FIELD field_27452 root Lnet/minecraft/class_630; diff --git a/mappings/net/minecraft/entity/Entity.mapping b/mappings/net/minecraft/entity/Entity.mapping index 56b5647551..6c503a6d69 100644 --- a/mappings/net/minecraft/entity/Entity.mapping +++ b/mappings/net/minecraft/entity/Entity.mapping @@ -51,8 +51,6 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity FIELD field_29994 UUID_KEY Ljava/lang/String; FIELD field_33758 hasVisualFire Z FIELD field_34927 collidedSoftly Z - COMMENT Whether the collision velocity (speed at which the entity hit a given surface) - COMMENT is lower than {@link Entity#MAX_SOFT_COLLISION_SPEED}. FIELD field_35101 chunkPos Lnet/minecraft/class_1923; FIELD field_35588 blockStateAtPos Lnet/minecraft/class_2680; FIELD field_5951 ridingCooldown I diff --git a/mappings/net/minecraft/entity/player/PlayerEntity.mapping b/mappings/net/minecraft/entity/player/PlayerEntity.mapping index 238d57dca5..47d82526c8 100644 --- a/mappings/net/minecraft/entity/player/PlayerEntity.mapping +++ b/mappings/net/minecraft/entity/player/PlayerEntity.mapping @@ -136,7 +136,9 @@ CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity METHOD method_7269 trySleep (Lnet/minecraft/class_2338;)Lcom/mojang/datafixers/util/Either; COMMENT Tries to start sleeping on a block. COMMENT - COMMENT @return an {@link Either.Right} if successful, otherwise an {@link Either.Left} containing the failure reason + COMMENT @return an {@link com.mojang.datafixers.util.Either.Right Either.Right} + COMMENT if successful, otherwise an {@link com.mojang.datafixers.util.Either.Left + COMMENT Either.Left} containing the failure reason ARG 1 pos COMMENT the position of the bed block METHOD method_7270 giveItemStack (Lnet/minecraft/class_1799;)Z diff --git a/mappings/net/minecraft/util/math/MathHelper.mapping b/mappings/net/minecraft/util/math/MathHelper.mapping index 90d4415c4d..ce648c2409 100644 --- a/mappings/net/minecraft/util/math/MathHelper.mapping +++ b/mappings/net/minecraft/util/math/MathHelper.mapping @@ -156,8 +156,6 @@ CLASS net/minecraft/class_3532 net/minecraft/util/math/MathHelper ARG 1 divisor 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. ARG 0 from ARG 1 to ARG 2 step