From 118f8613199b99a40a84fd7ca59ca2205ce495d9 Mon Sep 17 00:00:00 2001 From: apple502j <33279053+apple502j@users.noreply.github.com> Date: Fri, 29 Sep 2023 17:32:45 +0900 Subject: [PATCH] Biome API: javadoc fixes --- .../net/fabricmc/fabric/api/biome/v1/BiomeModification.java | 5 ++++- .../fabric/api/biome/v1/BiomeModificationContext.java | 6 +++--- .../fabricmc/fabric/api/biome/v1/BiomeModifications.java | 5 ++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/api/biome/v1/BiomeModification.java b/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/api/biome/v1/BiomeModification.java index fd9482201f..88a95b71c1 100644 --- a/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/api/biome/v1/BiomeModification.java +++ b/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/api/biome/v1/BiomeModification.java @@ -27,7 +27,10 @@ import net.fabricmc.fabric.impl.biome.modification.BiomeModificationImpl; /** - * Experimental feature, may be removed or changed without further notice. + * Provides methods for modifying biomes. To create an instance, call + * {@link BiomeModifications#create(Identifier)}. + * + *
Experimental feature, may be removed or changed without further notice. * * @see BiomeModifications */ diff --git a/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/api/biome/v1/BiomeModificationContext.java b/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/api/biome/v1/BiomeModificationContext.java index 4df866ef9f..3d772c98d7 100644 --- a/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/api/biome/v1/BiomeModificationContext.java +++ b/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/api/biome/v1/BiomeModificationContext.java @@ -66,8 +66,8 @@ public interface BiomeModificationContext { interface WeatherContext { /** - * @see Biome#getPrecipitation() - * @see Biome.Builder#precipitation(Biome.Precipitation) + * @see Biome#hasPrecipitation() + * @see Biome.Builder#precipitation(boolean) */ void setPrecipitation(boolean hasPrecipitation); @@ -83,7 +83,7 @@ interface WeatherContext { void setTemperatureModifier(Biome.TemperatureModifier temperatureModifier); /** - * @see Biome#getDownfall() + * @see Biome.Weather#downfall() * @see Biome.Builder#downfall(float) */ void setDownfall(float downfall); diff --git a/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/api/biome/v1/BiomeModifications.java b/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/api/biome/v1/BiomeModifications.java index d1d2589733..bf13746d71 100644 --- a/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/api/biome/v1/BiomeModifications.java +++ b/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/api/biome/v1/BiomeModifications.java @@ -33,8 +33,7 @@ /** * Provides an API to modify Biomes after they have been loaded and before they are used in the World. * - *
Any modifications made to biomes will not be available for use in server.properties (as of 1.16.1), - * or the demo level. + *
Any modifications made to biomes will not be available for use in the demo level. * *
Experimental feature, may be removed or changed without further notice.
*/
@@ -87,7 +86,7 @@ public static void addSpawn(Predicate