Class BiomeConditionSource.Builder

java.lang.Object
dev.wyck.worldgen.surface.condition.BiomeConditionSource.Builder
Enclosing interface:
BiomeConditionSource

@AsOf("3.0.0") public static final class BiomeConditionSource.Builder extends Object
Since:
3.0.0
  • Constructor Details

  • Method Details

    • targets

      @AsOf("3.0.0") public BiomeConditionSource.Builder targets(List<Biome> targets)
      Sets the biomes where this condition matches.
      Parameters:
      targets - the biomes
      Returns:
      this builder
      Since:
      3.0.0
    • target

      @AsOf("3.0.0") public BiomeConditionSource.Builder target(Biome biome)
      Adds a biome to the list of biomes where this condition matches.
      Parameters:
      biome - the biome
      Returns:
      this builder
      Since:
      3.0.0
    • target

      @AsOf("3.0.0") public BiomeConditionSource.Builder target(ResourceKey biomeKey)
      Adds a biome to the list of biomes where this condition matches.
      Parameters:
      biomeKey - the biome key
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public BiomeConditionSource build()
      Builds the biome condition source.
      Returns:
      the biome condition source
      Since:
      3.0.0