Package net.minestom.server.world.biome
Class Biome.Builder
java.lang.Object
net.minestom.server.world.biome.Biome.Builder
- Enclosing interface:
Biome
-
Method Summary
Modifier and TypeMethodDescription@NotNull Biome
build()
@NotNull Biome.Builder
downfall
(float downfall) @NotNull Biome.Builder
effects
(@NotNull BiomeEffects effects) @NotNull Biome.Builder
precipitation
(Biome.Precipitation precipitation) @NotNull Biome.Builder
temperature
(float temperature) @NotNull Biome.Builder
temperatureModifier
(@NotNull Biome.TemperatureModifier temperatureModifier)
-
Method Details
-
temperature
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull Biome.Builder temperature(float temperature) -
downfall
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull Biome.Builder downfall(float downfall) -
effects
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull Biome.Builder effects(@NotNull @NotNull BiomeEffects effects) -
precipitation
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull Biome.Builder precipitation(@NotNull Biome.Precipitation precipitation) -
temperatureModifier
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull Biome.Builder temperatureModifier(@NotNull @NotNull Biome.TemperatureModifier temperatureModifier) -
build
-