public abstract class Minecraft1_2JarBiomeScheme extends AbstractMinecraft1_2BiomeScheme
BiomeSchemes which can invoke Minecraft
code from a Minecraft jar file for version 1.2 through 1.6 to calculate
biomes.BIOME_BEACH, BIOME_DESERT, BIOME_DESERT_HILLS, BIOME_EXTREME_HILLS, BIOME_EXTREME_HILLS_EDGE, BIOME_FOREST, BIOME_FOREST_HILLS, BIOME_FROZEN_OCEAN, BIOME_FROZEN_RIVER, BIOME_HELL, BIOME_ICE_MOUNTAINS, BIOME_ICE_PLAINS, BIOME_JUNGLE, BIOME_JUNGLE_HILLS, BIOME_MUSHROOM_ISLAND, BIOME_MUSHROOM_ISLAND_SHORE, BIOME_NAMES, BIOME_OCEAN, BIOME_PLAINS, BIOME_RIVER, BIOME_SKY, BIOME_SWAMPLAND, BIOME_TAIGA, BIOME_TAIGA_HILLS| Constructor and Description |
|---|
Minecraft1_2JarBiomeScheme(java.io.File minecraftJar,
java.io.File libDir,
org.pepsoft.util.Checksum md5Sum,
java.util.Map<org.pepsoft.util.Checksum,java.lang.String[]> hashesToClassNames,
java.lang.String version) |
| Modifier and Type | Method and Description |
|---|---|
void |
getBiomes(int x,
int y,
int width,
int height,
int[] buffer)
Get the biomes for a specific rectangular area of the world.
|
void |
setSeed(long seed)
Set the seed for which to determine the biomes.
|
getBiomeCount, getBiomeName, getColour, getPattern, isBiomePresentgetBiomesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStringIdpublic Minecraft1_2JarBiomeScheme(java.io.File minecraftJar,
java.io.File libDir,
org.pepsoft.util.Checksum md5Sum,
java.util.Map<org.pepsoft.util.Checksum,java.lang.String[]> hashesToClassNames,
java.lang.String version)
public void setSeed(long seed)
BiomeSchemeseed - The seed for which to determine the biomes.public final void getBiomes(int x,
int y,
int width,
int height,
int[] buffer)
BiomeSchemex - The X coordinate in the WorldPainter coordinate system.y - The Y coordinate in the WorldPainter coordinate system.width - The width along the X axis of the area.height - The height along the Y axis of the area.buffer - The array in which the biome information will be returned,
indexed first by X and then by Y coordinate.