Fix javadoc

This commit is contained in:
apple502j 2024-02-09 11:33:52 +09:00
parent b39dc9e868
commit ae0e66a186
No known key found for this signature in database
GPG Key ID: 2A69798565A099A9
4 changed files with 5 additions and 6 deletions

View File

@ -1360,8 +1360,8 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity
METHOD method_5693 initDataTracker (Lnet/minecraft/class_2945$class_9222;)V METHOD method_5693 initDataTracker (Lnet/minecraft/class_2945$class_9222;)V
COMMENT Initializes data tracker. COMMENT Initializes data tracker.
COMMENT COMMENT
COMMENT @apiNote Subclasses should override this and call {@link DataTracker#startTracking} COMMENT @apiNote Subclasses should override this and add to the builder any data
COMMENT for any data that needs to be tracked. COMMENT that needs to be tracked.
ARG 1 builder ARG 1 builder
METHOD method_5694 onPlayerCollision (Lnet/minecraft/class_1657;)V METHOD method_5694 onPlayerCollision (Lnet/minecraft/class_1657;)V
COMMENT Called when a player collides with the entity. Does nothing by default. COMMENT Called when a player collides with the entity. Does nothing by default.

View File

@ -80,7 +80,7 @@ CLASS net/minecraft/class_2512 net/minecraft/nbt/NbtHelper
METHOD method_10692 fromBlockPos (Lnet/minecraft/class_2338;)Lnet/minecraft/class_2520; METHOD method_10692 fromBlockPos (Lnet/minecraft/class_2338;)Lnet/minecraft/class_2520;
COMMENT {@return the serialized block position} COMMENT {@return the serialized block position}
COMMENT COMMENT
COMMENT @see #toBlockPos(NbtCompound) COMMENT @see #toBlockPos(NbtCompound, String)
ARG 0 pos ARG 0 pos
METHOD method_25929 fromUuid (Ljava/util/UUID;)Lnet/minecraft/class_2495; METHOD method_25929 fromUuid (Ljava/util/UUID;)Lnet/minecraft/class_2495;
COMMENT Serializes a {@link UUID} into its equivalent NBT representation. COMMENT Serializes a {@link UUID} into its equivalent NBT representation.

View File

@ -131,8 +131,7 @@ CLASS net/minecraft/class_2540 net/minecraft/network/PacketByteBuf
COMMENT {@linkplain #readIdentifier() read} or {@linkplain #writeIdentifier(Identifier) COMMENT {@linkplain #readIdentifier() read} or {@linkplain #writeIdentifier(Identifier)
COMMENT written} in their string form. COMMENT written} in their string form.
FIELD field_33284 MAX_TEXT_LENGTH I FIELD field_33284 MAX_TEXT_LENGTH I
COMMENT The maximum size, in terms of JSON string length, allowed of the text read by COMMENT The maximum size, in terms of JSON string length, allowed for serialized texts.
COMMENT {@link #readText()} or written by {@link #writeText(Text)}.
FIELD field_33287 MAX_READ_NBT_SIZE I FIELD field_33287 MAX_READ_NBT_SIZE I
COMMENT The maximum size, in number of bytes, allowed of the NBT compound read by COMMENT The maximum size, in number of bytes, allowed of the NBT compound read by
COMMENT {@link #readNbt()}. COMMENT {@link #readNbt()}.

View File

@ -5,6 +5,6 @@ CLASS net/minecraft/class_3285 net/minecraft/resource/ResourcePackProvider
COMMENT Register resource pack profiles created with the {@code factory} to the COMMENT Register resource pack profiles created with the {@code factory} to the
COMMENT {@code profileAdder}. COMMENT {@code profileAdder}.
COMMENT COMMENT
COMMENT @see ResourcePackProfile#of COMMENT @see ResourcePackProfile
ARG 1 profileAdder ARG 1 profileAdder
COMMENT the profile adder that accepts created resource pack profiles COMMENT the profile adder that accepts created resource pack profiles