Skip to content

Commit

Permalink
Biome API: javadoc fixes (#3348)
Browse files Browse the repository at this point in the history
  • Loading branch information
apple502j authored Oct 1, 2023
1 parent 285022b commit d9a2869
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
import net.fabricmc.fabric.impl.biome.modification.BiomeModificationImpl;

/**
* <b>Experimental feature</b>, may be removed or changed without further notice.
* Provides methods for modifying biomes. To create an instance, call
* {@link BiomeModifications#create(Identifier)}.
*
* <p><b>Experimental feature</b>, may be removed or changed without further notice.
*
* @see BiomeModifications
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
/**
* Provides an API to modify Biomes after they have been loaded and before they are used in the World.
*
* <p>Any modifications made to biomes will not be available for use in server.properties (as of 1.16.1),
* or the demo level.
* <p>Any modifications made to biomes will not be available for use in the demo level.
*
* <p><b>Experimental feature</b>, may be removed or changed without further notice.
*/
Expand Down Expand Up @@ -87,7 +86,7 @@ public static void addSpawn(Predicate<BiomeSelectionContext> biomeSelector,
}

/**
* Create a new biome modification which will be applied whenever biomes are loaded from data packs.
* Creates a new biome modification which will be applied whenever biomes are loaded from data packs.
*
* @param id An identifier for the new set of biome modifications that is returned. Is used for
* guaranteeing consistent ordering between the biome modifications added by different mods
Expand Down

0 comments on commit d9a2869

Please sign in to comment.