Interface BiomeConditionSource

All Superinterfaces:
ConditionSource, SurfaceRule, Wrapper

@NullMarked @AsOf("3.0.0") public interface BiomeConditionSource extends ConditionSource
Checks the biome at the current position.
Since:
3.0.0
See Also:
  • Method Details

    • targets

      @AsOf("3.0.0") List<Biome> targets()
      A list of biomes where this condition matches.
      Returns:
      the biomes
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default BiomeConditionSource.Builder toBuilder()
      Converts this object back to a builder.
      Returns:
      a builder with the same values as this object
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static BiomeConditionSource of(List<Biome> targets)
      Creates a new biome condition source.
      Parameters:
      targets - the biomes
      Returns:
      the biome condition source
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static BiomeConditionSource of(Biome... targets)
      Creates a new biome condition source.
      Parameters:
      targets - the biomes
      Returns:
      the biome condition source
      Since:
      3.0.0
    • builder

      @AsOf("3.0.0") static BiomeConditionSource.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0