public abstract class AbstractMinecraft1_20BiomeScheme extends AbstractBiomeScheme implements Minecraft1_20Biomes
BiomeScheme
s which provide the biomes as
used in Minecraft 1.18 and later.Minecraft1_20Biomes.StaticInitialiser
BIOME_CHERRY_GROVE, BIOME_DEEP_DARK, BIOME_FROZEN_PEAKS, BIOME_GROVE, BIOME_JAGGED_PEAKS, BIOME_MANGROVE_SWAMP, BIOME_MEADOW, BIOME_NAMES, BIOME_OLD_GROWTH_BIRCH_FOREST, BIOME_OLD_GROWTH_PINE_TAIGA, BIOME_OLD_GROWTH_SPRUCE_TAIGA, BIOME_PATTERNS, BIOME_SNOWY_PLAINS, BIOME_SNOWY_SLOPES, BIOME_SPARSE_JUNGLE, BIOME_STONY_PEAKS, BIOME_STONY_SHORE, BIOME_WINDSWEPT_FOREST, BIOME_WINDSWEPT_GRAVELLY_HILLS, BIOME_WINDSWEPT_HILLS, BIOME_WINDSWEPT_SAVANNA, BIOME_WOODED_BADLANDS, BIOMES_BY_MODERN_ID, HIGHEST_BIOME_ID, MODERN_IDS
BIOME_BADLANDS, BIOME_BADLANDS_PLATEAU, BIOME_BAMBOO_JUNGLE, BIOME_BAMBOO_JUNGLE_HILLS, BIOME_BASALT_DELTAS, BIOME_COLD_OCEAN, BIOME_CRIMSON_FOREST, BIOME_DARK_FOREST, BIOME_DARK_FOREST_HILLS, BIOME_DEEP_COLD_OCEAN, BIOME_DEEP_FROZEN_OCEAN, BIOME_DEEP_LUKEWARM_OCEAN, BIOME_DEEP_WARM_OCEAN, BIOME_DESERT_LAKES, BIOME_DRIPSTONE_CAVES, BIOME_END_BARRENS, BIOME_END_HIGHLANDS, BIOME_END_MIDLANDS, BIOME_ERODED_BADLANDS, BIOME_GIANT_SPRUCE_TAIGA, BIOME_GIANT_SPRUCE_TAIGA_HILLS, BIOME_GIANT_TREE_TAIGA, BIOME_GIANT_TREE_TAIGA_HILLS, BIOME_GRAVELLY_MOUNTAINS, BIOME_ICE_SPIKES, BIOME_LUKEWARM_OCEAN, BIOME_LUSH_CAVES, BIOME_MODIFIED_BADLANDS_PLATEAU, BIOME_MODIFIED_GRAVELLY_MOUNTAINS, BIOME_MODIFIED_JUNGLE, BIOME_MODIFIED_JUNGLE_EDGE, BIOME_MODIFIED_WOODED_BADLANDS_PLATEAU, BIOME_MOUNTAIN_EDGE, BIOME_MOUNTAINS, BIOME_MUSHROOM_FIELD_SHORE, BIOME_MUSHROOM_FIELDS, BIOME_NETHER_WASTES, BIOME_SHATTERED_SAVANNA, BIOME_SHATTERED_SAVANNA_PLATEAU, BIOME_SMALL_END_ISLANDS, BIOME_SNOWY_BEACH, BIOME_SNOWY_MOUNTAINS, BIOME_SNOWY_TAIGA, BIOME_SNOWY_TAIGA_HILLS, BIOME_SNOWY_TAIGA_MOUNTAINS, BIOME_SNOWY_TUNDRA, BIOME_SOUL_SAND_VALLEY, BIOME_STONE_SHORE, BIOME_SWAMP, BIOME_SWAMP_HILLS, BIOME_TAIGA_MOUNTAINS, BIOME_TALL_BIRCH_FOREST, BIOME_TALL_BIRCH_HILLS, BIOME_THE_END, BIOME_THE_VOID, BIOME_WARM_OCEAN, BIOME_WARPED_FOREST, BIOME_WOODED_BADLANDS_PLATEAU, BIOME_WOODED_HILLS, BIOME_WOODED_MOUNTAINS, FIRST_UNALLOCATED_ID
BIOME_BEACH, BIOME_BIRCH_FOREST, BIOME_BIRCH_FOREST_HILLS, BIOME_BIRCH_FOREST_HILLS_M, BIOME_BIRCH_FOREST_M, BIOME_COLD_BEACH, BIOME_COLD_TAIGA, BIOME_COLD_TAIGA_HILLS, BIOME_COLD_TAIGA_M, BIOME_DEEP_OCEAN, BIOME_DESERT, BIOME_DESERT_HILLS, BIOME_DESERT_M, BIOME_EXTREME_HILLS, BIOME_EXTREME_HILLS_EDGE, BIOME_EXTREME_HILLS_M, BIOME_EXTREME_HILLS_PLUS, BIOME_EXTREME_HILLS_PLUS_M, BIOME_FLOWER_FOREST, BIOME_FOREST, BIOME_FOREST_HILLS, BIOME_FROZEN_OCEAN, BIOME_FROZEN_RIVER, BIOME_HELL, BIOME_ICE_MOUNTAINS, BIOME_ICE_PLAINS, BIOME_ICE_PLAINS_SPIKES, BIOME_JUNGLE, BIOME_JUNGLE_EDGE, BIOME_JUNGLE_EDGE_M, BIOME_JUNGLE_HILLS, BIOME_JUNGLE_M, BIOME_MEGA_SPRUCE_TAIGA, BIOME_MEGA_SPRUCE_TAIGA_HILLS, BIOME_MEGA_TAIGA, BIOME_MEGA_TAIGA_HILLS, BIOME_MESA, BIOME_MESA_BRYCE, BIOME_MESA_PLATEAU, BIOME_MESA_PLATEAU_F, BIOME_MESA_PLATEAU_F_M, BIOME_MESA_PLATEAU_M, BIOME_MUSHROOM_ISLAND, BIOME_MUSHROOM_ISLAND_SHORE, BIOME_OCEAN, BIOME_PLAINS, BIOME_RIVER, BIOME_ROOFED_FOREST, BIOME_ROOFED_FOREST_M, BIOME_SAVANNA, BIOME_SAVANNA_M, BIOME_SAVANNA_PLATEAU, BIOME_SAVANNA_PLATEAU_M, BIOME_SKY, BIOME_STONE_BEACH, BIOME_SUNFLOWER_PLAINS, BIOME_SWAMPLAND, BIOME_SWAMPLAND_M, BIOME_TAIGA, BIOME_TAIGA_HILLS, BIOME_TAIGA_M
Constructor and Description |
---|
AbstractMinecraft1_20BiomeScheme() |
Modifier and Type | Method and Description |
---|---|
int |
getBiomeCount()
Get the number of biomes.
|
java.lang.String |
getBiomeName(int biome)
Get the name of the specified biome in this biome scheme.
|
int |
getColour(int biome,
ColourScheme colourScheme)
Get the colour of the specified biome.
|
boolean[][] |
getPattern(int biome)
The two dimensional pattern to use for painting the specified biome, if
any.
|
java.lang.String |
getStringId(int biome)
Get the technical ID of the specified biome in this biome scheme as a string.
|
boolean |
isBiomePresent(int biome)
Indicates whether the specified biome ID is present in this biome scheme.
|
getBiomes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBiomes, setSeed
public final int getBiomeCount()
BiomeScheme
getBiomeCount
in interface BiomeScheme
public final int getColour(int biome, ColourScheme colourScheme)
BiomeScheme
getColour
in interface BiomeScheme
biome
- The biome for which to determine the colour.colourScheme
- A colour scheme which the biome scheme may use, at
its option, for determining the colour.public final boolean[][] getPattern(int biome)
BiomeScheme
true
indicates a foreground pixel.getPattern
in interface BiomeScheme
biome
- The biome for which to return the pattern.null
if no pattern should be used.public boolean isBiomePresent(int biome)
BiomeScheme
isBiomePresent
in interface BiomeScheme
biome
- The biome ID to check.true
if this biome scheme contains the specified
biome.public java.lang.String getBiomeName(int biome)
BiomeScheme
getBiomeName
in interface BiomeScheme
biome
- The biome for which to retrieve the name.public java.lang.String getStringId(int biome)
BiomeScheme
"minecraft:plains"
); for earlier Minecraft versions this is the numerical
ID as a string (i.e. "1"
).
The default implementation returns the biome
parameter as a string if the biome is present; otherwise
it throws a IllegalArgumentException
.
getStringId
in interface BiomeScheme
biome
- The biome for which to retrieve the name.