Interface FixedBiomeSource

All Superinterfaces:
BiomeSource, Wrapper

@NullMarked @AsOf("3.0.0") public interface FixedBiomeSource extends BiomeSource
The fixed biome source, also called single biome, uses one specified biome everywhere.
Since:
3.0.0
See Also:
  • Method Details

    • biome

      @AsOf("3.0.0") Biome biome()
      The single biome to use.
      Returns:
      the biome
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static FixedBiomeSource of(Biome biome)
      Creates a new fixed biome source.
      Parameters:
      biome - the biome
      Returns:
      the fixed biome source
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static FixedBiomeSource of(ResourceKey biomeKey)
      Creates a new fixed biome source.
      Parameters:
      biomeKey - the biome key
      Returns:
      the fixed biome source
      Since:
      3.0.0