public abstract class MinecraftJarBiomeScheme extends AbstractMinecraft1_1BiomeScheme
BiomeSchemes which can invoke Minecraft
code from a Minecraft jar file for version 1.1 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_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 |
|---|
MinecraftJarBiomeScheme(java.io.File minecraftJar,
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 MinecraftJarBiomeScheme(java.io.File minecraftJar,
org.pepsoft.util.Checksum md5Sum,
java.util.Map<org.pepsoft.util.Checksum,java.lang.String[]> hashesToClassNames,
java.lang.String version)
public final 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.