diff --git a/fabric-convention-tags-v2/src/main/java/net/fabricmc/fabric/api/tag/convention/v2/ConventionalItemTags.java b/fabric-convention-tags-v2/src/main/java/net/fabricmc/fabric/api/tag/convention/v2/ConventionalItemTags.java index 3e57905b96..6b3bebc04e 100644 --- a/fabric-convention-tags-v2/src/main/java/net/fabricmc/fabric/api/tag/convention/v2/ConventionalItemTags.java +++ b/fabric-convention-tags-v2/src/main/java/net/fabricmc/fabric/api/tag/convention/v2/ConventionalItemTags.java @@ -209,7 +209,7 @@ private ConventionalItemTags() { public static final TagKey GLAZED_TERRACOTTAS = register("glazed_terracottas"); public static final TagKey CONCRETES = register("concretes"); /** - * Block tag equivalent is {@link BlockTags#CONCRETE_POWDERS}. + * Block tag equivalent is {@link BlockTags#CONCRETE_POWDER}. */ public static final TagKey CONCRETE_POWDERS = register("concrete_powders"); diff --git a/fabric-model-loading-api-v1/src/client/java/net/fabricmc/fabric/api/client/model/loading/v1/ModelModifier.java b/fabric-model-loading-api-v1/src/client/java/net/fabricmc/fabric/api/client/model/loading/v1/ModelModifier.java index d3340dc7b5..9a86ec61d5 100644 --- a/fabric-model-loading-api-v1/src/client/java/net/fabricmc/fabric/api/client/model/loading/v1/ModelModifier.java +++ b/fabric-model-loading-api-v1/src/client/java/net/fabricmc/fabric/api/client/model/loading/v1/ModelModifier.java @@ -159,8 +159,8 @@ interface Context { /** * The baker being used to bake this model. - * It can be used to {@linkplain Baker#getOrLoadModel load unbaked models} and - * {@linkplain Baker#bake load baked models}. + * It can be used to {@linkplain Baker#getModel get unbaked models} and + * {@linkplain Baker#bake bake models}. */ Baker baker(); } @@ -227,8 +227,8 @@ interface Context { /** * The baker being used to bake this model. - * It can be used to {@linkplain Baker#getOrLoadModel load unbaked models} and - * {@linkplain Baker#bake load baked models}. + * It can be used to {@linkplain Baker#getModel get unbaked models} and + * {@linkplain Baker#bake bake models}. */ Baker baker(); } diff --git a/fabric-networking-api-v1/src/main/java/net/fabricmc/fabric/api/networking/v1/EntityTrackingEvents.java b/fabric-networking-api-v1/src/main/java/net/fabricmc/fabric/api/networking/v1/EntityTrackingEvents.java index 6e93cff1fc..7f86fa0e4c 100644 --- a/fabric-networking-api-v1/src/main/java/net/fabricmc/fabric/api/networking/v1/EntityTrackingEvents.java +++ b/fabric-networking-api-v1/src/main/java/net/fabricmc/fabric/api/networking/v1/EntityTrackingEvents.java @@ -29,7 +29,7 @@ public final class EntityTrackingEvents { /** * An event that is called before player starts tracking an entity. * Typically, this occurs when an entity enters a client's view distance. - * This event is called before the player's client is sent the entity's {@link Entity#createSpawnPacket() spawn packet}. + * This event is called before the player's client is sent the entity's {@linkplain Entity#createSpawnPacket spawn packet}. */ public static final Event START_TRACKING = EventFactory.createArrayBacked(StartTracking.class, callbacks -> (trackedEntity, player) -> { for (StartTracking callback : callbacks) { diff --git a/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/api/recipe/v1/ingredient/CustomIngredient.java b/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/api/recipe/v1/ingredient/CustomIngredient.java index 794577dcb6..9e003c45f7 100644 --- a/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/api/recipe/v1/ingredient/CustomIngredient.java +++ b/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/api/recipe/v1/ingredient/CustomIngredient.java @@ -65,7 +65,6 @@ public interface CustomIngredient { *
  • These stacks are generally used for display purposes, and need not be exhaustive or perfectly accurate.
  • *
  • An exception is ingredients that {@linkplain #requiresTesting() don't require testing}, * for which it is important that the returned stacks correspond exactly to all the accepted {@link Item}s.
  • - *
  • At least one stack must be returned for the ingredient not to be considered {@linkplain Ingredient#isEmpty() empty}.
  • *
  • The ingredient should try to return at least one stack with each accepted {@link Item}. * This allows mods that inspect the ingredient to figure out which stacks it might accept.
  • * diff --git a/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/api/recipe/v1/ingredient/CustomIngredientSerializer.java b/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/api/recipe/v1/ingredient/CustomIngredientSerializer.java index 8d6bca466b..0922d6fd2b 100644 --- a/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/api/recipe/v1/ingredient/CustomIngredientSerializer.java +++ b/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/api/recipe/v1/ingredient/CustomIngredientSerializer.java @@ -61,7 +61,7 @@ static CustomIngredientSerializer get(Identifier identifier) { * *

    Codecs are used to read the ingredient from the recipe JSON files. * - * @see Ingredient#ALLOW_EMPTY_CODEC + * @see Ingredient#CODEC */ MapCodec getCodec(); diff --git a/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/api/recipe/v1/ingredient/FabricIngredient.java b/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/api/recipe/v1/ingredient/FabricIngredient.java index 956661cd52..48ed8a8dc2 100644 --- a/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/api/recipe/v1/ingredient/FabricIngredient.java +++ b/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/api/recipe/v1/ingredient/FabricIngredient.java @@ -41,7 +41,7 @@ default CustomIngredient getCustomIngredient() { * *

    If {@code false}, {@linkplain Ingredient#test testing this ingredient} with an item stack must be equivalent to checking whether * the item stack's item is included in the ingredient's {@linkplain Ingredient#getMatchingStacks() list of matching stacks}. - * In that case, optimized matching logic can be used, for example using {@link Ingredient#getMatchingItemIds()}. + * In that case, optimized matching logic can be used. * *

    If {@code true}, the ingredient must always be tested using {@link Ingredient#test(ItemStack)}. * Note that Fabric patches some vanilla systems such as shapeless recipes to account for this. diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidConstants.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidConstants.java index 319560aeca..08549b7c77 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidConstants.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidConstants.java @@ -69,7 +69,7 @@ public static long fromBucketFraction(long numerator, long denominator) { public static final int LAVA_VISCOSITY = 6000; public static final int LAVA_VISCOSITY_NETHER = 2000; /** - * For flowable fluids, the viscosity should match {@code VISCOSITY_RATIO} * {@link FlowableFluid#getFlowSpeed}. + * For flowable fluids, the viscosity should match {@code VISCOSITY_RATIO} * {@link FlowableFluid#getMaxFlowDistance}. */ public static final int VISCOSITY_RATIO = 200; diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidVariantAttributeHandler.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidVariantAttributeHandler.java index 66f12cb8a6..ecf827301b 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidVariantAttributeHandler.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidVariantAttributeHandler.java @@ -87,7 +87,7 @@ default int getTemperature(FluidVariant variant) { * Return a positive integer, representing the viscosity of this fluid. * Fluids with lower viscosity generally flow faster than fluids with higher viscosity. * - *

    More precisely, viscosity should be {@value FluidConstants#VISCOSITY_RATIO} * {@link FlowableFluid#getFlowSpeed} for flowable fluids. + *

    More precisely, viscosity should be {@value FluidConstants#VISCOSITY_RATIO} * {@link FlowableFluid#getMaxFlowDistance} for flowable fluids. * The reference values are {@value FluidConstants#WATER_VISCOSITY} for water, * {@value FluidConstants#LAVA_VISCOSITY_NETHER} for lava in ultrawarm dimensions (such as the nether), * and {@value FluidConstants#LAVA_VISCOSITY} for lava in other dimensions. diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidVariantAttributes.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidVariantAttributes.java index 186aa7a64e..dcee0425a4 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidVariantAttributes.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidVariantAttributes.java @@ -135,7 +135,7 @@ public static int getTemperature(FluidVariant variant) { * Return a positive integer, representing the viscosity of this fluid variant. * Fluids with lower viscosity generally flow faster than fluids with higher viscosity. * - *

    More precisely, viscosity should be {@value FluidConstants#VISCOSITY_RATIO} * {@link FlowableFluid#getFlowSpeed} for flowable fluids. + *

    More precisely, viscosity should be {@value FluidConstants#VISCOSITY_RATIO} * {@link FlowableFluid#getMaxFlowDistance} for flowable fluids. * The reference values are {@value FluidConstants#WATER_VISCOSITY} for water, * {@value FluidConstants#LAVA_VISCOSITY_NETHER} for lava in ultrawarm dimensions (such as the nether), * and {@value FluidConstants#LAVA_VISCOSITY} for lava in other dimensions.