Class Biome.Builder

java.lang.Object
net.minestom.server.world.biomes.Biome.Builder
Enclosing interface:
Biome

public static final class Biome.Builder extends Object
  • 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

      @Contract(pure=true) @NotNull public @NotNull Biome build()