Fix some javadoc warnings (#1592)

There is still some entity view/structure feauture ones, 7 left

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
This commit is contained in:
liach 2020-07-19 09:05:15 -05:00 committed by GitHub
parent fb215a22f6
commit e8dd3900c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 17 deletions

View File

@ -78,7 +78,7 @@ CLASS net/minecraft/class_1011 net/minecraft/client/texture/NativeImage
COMMENT Sets the color of a pixel on this native image. COMMENT Sets the color of a pixel on this native image.
COMMENT The color to be set using this method should be in a ABGR format. COMMENT The color to be set using this method should be in a ABGR format.
COMMENT COMMENT
COMMENT <p>This is only supported when this native image's format is {@link NativeImage#Format#ABGR ABGR} COMMENT <p>This is only supported when this native image's format is {@link NativeImage.Format#ABGR ABGR}
ARG 1 x ARG 1 x
ARG 2 y ARG 2 y
ARG 3 color ARG 3 color
@ -109,7 +109,7 @@ CLASS net/minecraft/class_1011 net/minecraft/client/texture/NativeImage
COMMENT Gets the color of a pixel on this native image. COMMENT Gets the color of a pixel on this native image.
COMMENT The color returned by this method will be in a ABGR format. COMMENT The color returned by this method will be in a ABGR format.
COMMENT COMMENT
COMMENT <p>This is only supported when this native image's format is {@link NativeImage#Format#ABGR ABGR}. COMMENT <p>This is only supported when this native image's format is {@link NativeImage.Format#ABGR ABGR}.
ARG 1 x ARG 1 x
ARG 2 y ARG 2 y
METHOD method_4316 makeGlyphBitmapSubpixel (Lorg/lwjgl/stb/STBTTFontinfo;IIIFFFFII)V METHOD method_4316 makeGlyphBitmapSubpixel (Lorg/lwjgl/stb/STBTTFontinfo;IIIFFFFII)V

View File

@ -21,7 +21,7 @@ CLASS net/minecraft/class_5382 net/minecraft/util/dynamic/RegistryOps
COMMENT <p>This method is called by casting an arbitrary dynamic ops to a registry COMMENT <p>This method is called by casting an arbitrary dynamic ops to a registry
COMMENT reading ops.</p> COMMENT reading ops.</p>
COMMENT COMMENT
COMMENT @see RegistryReadingOps#encodeOrId(Object, Object, RegistryKey, Codec) COMMENT @see RegistryReadingOps#encodeOrId(Object, Object, RegistryKey, MapCodec)
METHOD method_29761 getValueHolder (Lnet/minecraft/class_5321;)Lnet/minecraft/class_5382$class_5383; METHOD method_29761 getValueHolder (Lnet/minecraft/class_5321;)Lnet/minecraft/class_5382$class_5383;
ARG 1 registryRef ARG 1 registryRef
METHOD method_29763 readSupplier (Lnet/minecraft/class_5321;Lnet/minecraft/class_2385;Lcom/mojang/serialization/MapCodec;Lnet/minecraft/class_2960;)Lcom/mojang/serialization/DataResult; METHOD method_29763 readSupplier (Lnet/minecraft/class_5321;Lnet/minecraft/class_2385;Lcom/mojang/serialization/MapCodec;Lnet/minecraft/class_2960;)Lcom/mojang/serialization/DataResult;

View File

@ -15,7 +15,7 @@ CLASS net/minecraft/class_5384 net/minecraft/util/dynamic/RegistryReadingOps
COMMENT <p>This method is called by casting an arbitrary dynamic ops to a registry COMMENT <p>This method is called by casting an arbitrary dynamic ops to a registry
COMMENT reading ops.</p> COMMENT reading ops.</p>
COMMENT COMMENT
COMMENT @see RegistryOps#decodeOrId(Object, RegistryKey, Codec) COMMENT @see RegistryOps#decodeOrId(Object, RegistryKey, MapCodec)
ARG 1 input ARG 1 input
ARG 2 prefix ARG 2 prefix
ARG 3 registryReference ARG 3 registryReference

View File

@ -1,6 +1,6 @@
CLASS net/minecraft/class_1928 net/minecraft/world/GameRules CLASS net/minecraft/class_1928 net/minecraft/world/GameRules
FIELD field_19388 DO_MOB_GRIEFING Lnet/minecraft/class_1928$class_4313; FIELD field_19388 DO_MOB_GRIEFING Lnet/minecraft/class_1928$class_4313;
COMMENT A {@linkplain GameRule game rule} which regulates whether mobs can modify the world. COMMENT A {@linkplain Rule game rule} which regulates whether mobs can modify the world.
COMMENT COMMENT
COMMENT <p>Generally one is expected to test this rule before an entity modifies the world. COMMENT <p>Generally one is expected to test this rule before an entity modifies the world.
COMMENT COMMENT
@ -11,29 +11,29 @@ CLASS net/minecraft/class_1928 net/minecraft/world/GameRules
COMMENT <li>Whether a wither killing an entity will place or drop a wither rose COMMENT <li>Whether a wither killing an entity will place or drop a wither rose
COMMENT </ul> COMMENT </ul>
FIELD field_19389 KEEP_INVENTORY Lnet/minecraft/class_1928$class_4313; FIELD field_19389 KEEP_INVENTORY Lnet/minecraft/class_1928$class_4313;
COMMENT A {@linkplain GameRule game rule} which regulates whether player inventories should be persist through respawning. COMMENT A {@linkplain Rule game rule} which regulates whether player inventories should be persist through respawning.
FIELD field_19390 DO_MOB_SPAWNING Lnet/minecraft/class_1928$class_4313; FIELD field_19390 DO_MOB_SPAWNING Lnet/minecraft/class_1928$class_4313;
COMMENT A {@linkplain GameRule game rule} which regulates whether mobs can spawn naturally. COMMENT A {@linkplain Rule game rule} which regulates whether mobs can spawn naturally.
FIELD field_19391 DO_MOB_LOOT Lnet/minecraft/class_1928$class_4313; FIELD field_19391 DO_MOB_LOOT Lnet/minecraft/class_1928$class_4313;
COMMENT A {@linkplain GameRule game rule} which regulates whether mobs should drop loot on death. COMMENT A {@linkplain Rule game rule} which regulates whether mobs should drop loot on death.
FIELD field_19392 DO_TILE_DROPS Lnet/minecraft/class_1928$class_4313; FIELD field_19392 DO_TILE_DROPS Lnet/minecraft/class_1928$class_4313;
COMMENT A {@linkplain GameRule game rule} which regulates whether blocks should drop their items when broken. COMMENT A {@linkplain Rule game rule} which regulates whether blocks should drop their items when broken.
FIELD field_19401 REDUCED_DEBUG_INFO Lnet/minecraft/class_1928$class_4313; FIELD field_19401 REDUCED_DEBUG_INFO Lnet/minecraft/class_1928$class_4313;
COMMENT A {@linkplain GameRule game rule} which regulates whether clients' {@linkplain net.minecraft.client.gui.hud.DebugHud debug HUD}s show reduced information. COMMENT A {@linkplain Rule game rule} which regulates whether clients' {@linkplain net.minecraft.client.gui.hud.DebugHud debug HUD}s show reduced information.
COMMENT COMMENT
COMMENT <p>When the value of this rule is changed, all connected clients will be notified to update their display. COMMENT <p>When the value of this rule is changed, all connected clients will be notified to update their display.
COMMENT In vanilla, this includes the visibility of coordinates on the clients' debug HUDs. COMMENT In vanilla, this includes the visibility of coordinates on the clients' debug HUDs.
FIELD field_19405 MAX_ENTITY_CRAMMING Lnet/minecraft/class_1928$class_4313; FIELD field_19405 MAX_ENTITY_CRAMMING Lnet/minecraft/class_1928$class_4313;
COMMENT A {@linkplain GameRule game rule} which regulates the number of entities that can be crammed into a block space before they incur cramming damage. COMMENT A {@linkplain Rule game rule} which regulates the number of entities that can be crammed into a block space before they incur cramming damage.
FIELD field_19409 ANNOUNCE_ADVANCEMENTS Lnet/minecraft/class_1928$class_4313; FIELD field_19409 ANNOUNCE_ADVANCEMENTS Lnet/minecraft/class_1928$class_4313;
COMMENT A {@linkplain GameRule game rule} which regulates whether a player's advancements should be announced in chat. COMMENT A {@linkplain Rule game rule} which regulates whether a player's advancements should be announced in chat.
FIELD field_19410 LOGGER Lorg/apache/logging/log4j/Logger; FIELD field_19410 LOGGER Lorg/apache/logging/log4j/Logger;
FIELD field_19422 DISABLE_RAIDS Lnet/minecraft/class_1928$class_4313; FIELD field_19422 DISABLE_RAIDS Lnet/minecraft/class_1928$class_4313;
COMMENT A {@linkplain GameRule game rule} which regulates whether raids should occur. COMMENT A {@linkplain Rule game rule} which regulates whether raids should occur.
COMMENT COMMENT
COMMENT <p>If this rule is set to {@code true} while raids are occurring, the raids will be stopped. COMMENT <p>If this rule is set to {@code true} while raids are occurring, the raids will be stopped.
FIELD field_20638 DO_IMMEDIATE_RESPAWN Lnet/minecraft/class_1928$class_4313; FIELD field_20638 DO_IMMEDIATE_RESPAWN Lnet/minecraft/class_1928$class_4313;
COMMENT A {@linkplain GameRule game rule} which regulates whether a player should immediately respawn upon death. COMMENT A {@linkplain Rule game rule} which regulates whether a player should immediately respawn upon death.
FIELD field_9196 rules Ljava/util/Map; FIELD field_9196 rules Ljava/util/Map;
FIELD field_9197 RULE_TYPES Ljava/util/Map; FIELD field_9197 RULE_TYPES Ljava/util/Map;
METHOD <init> (Ljava/util/Map;)V METHOD <init> (Ljava/util/Map;)V
@ -41,7 +41,7 @@ CLASS net/minecraft/class_1928 net/minecraft/world/GameRules
METHOD method_20744 accept (Lnet/minecraft/class_1928$class_4311;)V METHOD method_20744 accept (Lnet/minecraft/class_1928$class_4311;)V
COMMENT Make the visitor visit all registered game rules. COMMENT Make the visitor visit all registered game rules.
COMMENT COMMENT
COMMENT <p>The visitation involves calling both {@link #accept(GameRules.Key, GameRules.Type)} and {@code acceptX} for every game rule, where X is the current rule's concrete type such as a boolean. COMMENT <p>The visitation involves calling both {@link Visitor#visit(GameRules.Key, GameRules.Type)} and {@code visitX} for every game rule, where X is the current rule's concrete type such as a boolean.
ARG 0 visitor ARG 0 visitor
METHOD method_20745 accept (Lnet/minecraft/class_1928$class_4311;Lnet/minecraft/class_1928$class_4313;Lnet/minecraft/class_1928$class_4314;)V METHOD method_20745 accept (Lnet/minecraft/class_1928$class_4311;Lnet/minecraft/class_1928$class_4313;Lnet/minecraft/class_1928$class_4314;)V
ARG 0 consumer ARG 0 consumer
@ -118,13 +118,13 @@ CLASS net/minecraft/class_1928 net/minecraft/world/GameRules
METHOD method_27329 visitBoolean (Lnet/minecraft/class_1928$class_4313;Lnet/minecraft/class_1928$class_4314;)V METHOD method_27329 visitBoolean (Lnet/minecraft/class_1928$class_4313;Lnet/minecraft/class_1928$class_4314;)V
COMMENT Visit a boolean rule. COMMENT Visit a boolean rule.
COMMENT COMMENT
COMMENT <p>Note {@link #accept(GameRules.Key, GameRules.Type)} will be called before this method. COMMENT <p>Note {@link #visit(GameRules.Key, GameRules.Type)} will be called before this method.
ARG 1 key ARG 1 key
ARG 2 type ARG 2 type
METHOD method_27330 visitInt (Lnet/minecraft/class_1928$class_4313;Lnet/minecraft/class_1928$class_4314;)V METHOD method_27330 visitInt (Lnet/minecraft/class_1928$class_4313;Lnet/minecraft/class_1928$class_4314;)V
COMMENT Visit an integer rule. COMMENT Visit an integer rule.
COMMENT COMMENT
COMMENT <p>Note {@link #accept(GameRules.Key, GameRules.Type)} will be called before this method. COMMENT <p>Note {@link #visit(GameRules.Key, GameRules.Type)} will be called before this method.
ARG 1 key ARG 1 key
ARG 2 type ARG 2 type
CLASS class_4312 IntRule CLASS class_4312 IntRule