Biome API: javadoc fixes ()

This commit is contained in:
apple502j 2023-10-01 20:37:19 +09:00 committed by GitHub
parent 285022b3bc
commit d9a2869ba3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 7 deletions
fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/api/biome/v1

View file

@ -27,7 +27,10 @@ import net.minecraft.util.Identifier;
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
*/

View file

@ -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 @@ public interface BiomeModificationContext {
void setTemperatureModifier(Biome.TemperatureModifier temperatureModifier);
/**
* @see Biome#getDownfall()
* @see Biome.Weather#downfall()
* @see Biome.Builder#downfall(float)
*/
void setDownfall(float downfall);

View file

@ -33,8 +33,7 @@ import net.minecraft.world.gen.feature.PlacedFeature;
/**
* 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.
*/
@ -87,7 +86,7 @@ public final class BiomeModifications {
}
/**
* 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