Conversation
...rce-loader-v0/src/main/java/net/fabricmc/fabric/api/resource/ResourcePackActivationType.java
Outdated
Show resolved
Hide resolved
fabric-api-base/src/main/java/net/fabricmc/fabric/api/event/Event.java
Outdated
Show resolved
Hide resolved
fabric-api-base/src/main/java/net/fabricmc/fabric/api/util/TriState.java
Outdated
Show resolved
Hide resolved
...ic-biome-api-v1/src/main/java/net/fabricmc/fabric/api/biome/v1/BiomeModificationContext.java
Outdated
Show resolved
Hide resolved
...pi-v1/src/testmod/java/net/fabricmc/fabric/test/screenhandler/item/ImplementedInventory.java
Outdated
Show resolved
Hide resolved
fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java
Outdated
Show resolved
Hide resolved
...v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidVariantAttributeHandler.java
Outdated
Show resolved
Hide resolved
|
Yeah, for some reason I can't put paragraphs because of checkstyle demanding the previous line to be empty, but if it is, it doesn't pick up on it |
Did you remove the space on the previous line? |
I did, yes, I even Ctrl F-ed it to make sure |
|
Ah, yes |
fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/api/biome/v1/BiomeSelectionContext.java
Outdated
Show resolved
Hide resolved
fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java
Show resolved
Hide resolved
| * Return false to filter out quads from rendering. When more than one transform | ||
| * is in effect, returning false means unapplied transforms will not receive the quad. | ||
| * Return {@code false} to filter out quads from rendering. When more than one transform | ||
| * is in effect, returning {@code false} means unapplied transforms will not receive the quad. |
There was a problem hiding this comment.
Is @return not applicable in interface methods?
| * @param slot the slot | ||
| * @param count the item count | ||
| * @return a stack | ||
| * @return the removed stack with count {@code count} or {@link ItemStack#EMPTY} if query is invalid |
There was a problem hiding this comment.
Do we need to define what qualifies as an invalid query?
|
|
||
| /** | ||
| * Return false if calling {@link #extract} will absolutely always return 0, or true otherwise or in doubt. | ||
| * Return {@code false} if calling {@link #extract} will absolutely always return 0, or {@code true} otherwise or in doubt. |
|
|
||
| /** | ||
| * Return false if calling {@link #insert} will absolutely always return 0, or true otherwise or in doubt. | ||
| * Return {@code false} if calling {@link #insert} will absolutely always return 0, or {@code true} otherwise or in doubt. |
There was a problem hiding this comment.
| * Return {@code false} if calling {@link #insert} will absolutely always return 0, or {@code true} otherwise or in doubt. | |
| * @return {@code false} if calling {@link #insert} will absolutely always return 0, or {@code true} otherwise or in doubt. |
| * Returns the invoker instance. | ||
| * | ||
| * <p>An "invoker" is an object which hides multiple registered | ||
| * listeners of type T under one instance of type T, executing | ||
| * listeners of type {@code T} under one instance of type {@code T}, executing | ||
| * them and leaving early as necessary. | ||
| * | ||
| * @return The invoker instance. |
There was a problem hiding this comment.
IMO keep the @return and remove the above statement that says "Returns the invoker instance."
|
|
||
| /** | ||
| * Returns true if this biome contains a placed feature referencing a configured feature with the given key. | ||
| * Returns {@code true} if this biome contains a placed feature referencing a configured feature with the given key. |
There was a problem hiding this comment.
| * Returns {@code true} if this biome contains a placed feature referencing a configured feature with the given key. | |
| * @return {@code true} if this biome contains a placed feature referencing a configured feature with the given key. |
|
|
||
| /** | ||
| * Returns true if the configured structure with the given key can start in this biome in any chunk generator | ||
| * Returns {@code true} if the configured structure with the given key can start in this biome in any chunk generator |
There was a problem hiding this comment.
| * Returns {@code true} if the configured structure with the given key can start in this biome in any chunk generator | |
| * @return {@code true} if the configured structure with the given key can start in this biome in any chunk generator |
|
|
||
| /** | ||
| * Returns true if the given biome can generate in the nether, considering the Vanilla nether biomes, | ||
| * Returns {@code true} if the given biome can generate in the nether, considering the Vanilla nether biomes, |
There was a problem hiding this comment.
| * Returns {@code true} if the given biome can generate in the nether, considering the Vanilla nether biomes, | |
| * @return {@code true} if the given biome can generate in the nether, considering the Vanilla nether biomes, |
No changes to return javadoc though.
|
Also, to all of the feedback relating to returns, I'd like to keep this minimal, not focusing on returns at all. |
No description provided.