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 |
canGenerateNaturally() |
|
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 int |
getHighestY() |
|
abstract int |
getLowestY() |
|
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) |
|
abstract int |
getWeight() |
|
boolean |
hasGrasslandDecoration() |
|
Biome |
register() |
protected final ResourceName name
public Biome(ResourceName name)
public abstract int getWeight()
public abstract int getHighestY()
public abstract int getLowestY()
public abstract TileState getState(IWorld world, IChunk chunk, int x, int y, TileLayer layer, INoiseGen noise, int surfaceHeight)
public long getBiomeSeed(IWorld world)
public ResourceName getName()
public Biome register()
public boolean hasGrasslandDecoration()
public float getFlowerChance()
public float getPebbleChance()
public boolean canGenerateNaturally()