BiomeBasicpublic abstract class Biome
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected ResourceName |
name |
| Constructor | Description |
|---|---|
Biome(ResourceName name) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
canTreeGrow(IWorld world,
IChunk chunk,
int x,
int y) |
|
long |
getBiomeSeed(IWorld world) |
|
TileState |
getFillerTile(IWorld world,
IChunk chunk,
int x,
int y) |
|
float |
getFlowerChance() |
|
abstract java.util.List<BiomeLevel> |
getGenerationLevels(IWorld world) |
|
ResourceName |
getName() |
|
float |
getPebbleChance() |
|
abstract TileState |
getState(IWorld world,
IChunk chunk,
int x,
int y,
TileLayer layer,
INoiseGen noise,
int surfaceHeight) |
|
Biome |
getVariationToGenerate(IWorld world,
int x,
int y,
int surfaceHeight,
java.util.Random random) |
|
abstract int |
getWeight(IWorld world) |
|
boolean |
hasGrasslandDecoration() |
|
boolean |
hasUndergroundFeatures(IWorld world,
IChunk chunk) |
|
Biome |
register() |
protected final ResourceName name
public Biome(ResourceName name)
public abstract TileState getState(IWorld world, IChunk chunk, int x, int y, TileLayer layer, INoiseGen noise, int surfaceHeight)
public abstract java.util.List<BiomeLevel> getGenerationLevels(IWorld world)
public abstract int getWeight(IWorld world)
public long getBiomeSeed(IWorld world)
public ResourceName getName()
public Biome register()
public boolean hasGrasslandDecoration()
public float getFlowerChance()
public float getPebbleChance()
public Biome getVariationToGenerate(IWorld world, int x, int y, int surfaceHeight, java.util.Random random)