Interface BiomeSource
- All Superinterfaces:
Wrapper
- All Known Subinterfaces:
CheckeredColumnBiomeSource, FixedBiomeSource, MultiNoiseBiomeSource, MultiNoisePresetBiomeSource, TheEndBiomeSource
- All Known Implementing Classes:
CustomBiomeSource
Represents a biome source, which determines how biomes are distributed in a world.
- Since:
- 2.4.0
- See Also:
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionBiome source preset for the end.static BiomeSourceReads a Minecraft biome source.static FixedBiomeSourceCreates a biome source that always returns the specified biome.static FixedBiomeSourcefixed(ResourceKey biomeKey) Creates a biome source that always returns the specified biome.Creates a multi-noise biome source.static MultiNoisePresetBiomeSourcenether()Biome source preset for the nether.static MultiNoisePresetBiomeSourceBiome source preset for the overworld.static TheEndBiomeSourcetheEnd()The end biome source.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
fixed
Creates a biome source that always returns the specified biome.- Parameters:
biome- the biome to return- Returns:
- a biome source that always returns the specified biome
- Since:
- 2.4.0
-
fixed
Creates a biome source that always returns the specified biome.- Parameters:
biomeKey- the biome to return- Returns:
- a biome source that always returns the specified biome
- Since:
- 2.4.0
-
multiNoise
Creates a multi-noise biome source.- Returns:
- a new multi-noise biome source builder
- Since:
- 2.4.0
-
overworld
Biome source preset for the overworld.- Returns:
- the overworld biome source preset
- Since:
- 2.4.0
-
nether
Biome source preset for the nether.- Returns:
- the nether biome source preset
- Since:
- 2.4.0
-
checkeredColumn
Biome source preset for the end.- Returns:
- the end biome source preset
- Since:
- 3.0.0
-
theEnd
The end biome source.- Returns:
- the end biome source
- Since:
- 3.0.0
-
decode
Reads a Minecraft biome source.- Parameters:
minecraftSource- the biome source to read- Returns:
- the decoded biome source
- Since:
- 3.3.0
-