public abstract class AbstractMinecraft1_7BiomeScheme extends AbstractBiomeScheme implements Minecraft1_7Biomes
BiomeScheme
s which provide the biomes as
used in Minecraft 1.7 to 1.12.1.Minecraft1_7Biomes.StaticInitialiser
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_NAMES, BIOME_OCEAN, BIOME_PATTERNS, 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, FIRST_UNALLOCATED_ID, HIGHEST_BIOME_ID
Constructor and Description |
---|
AbstractMinecraft1_7BiomeScheme() |
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.
|
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, getStringId, 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.