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