BiomeBasic, BiomeBasicVariationpublic 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(IWorld world,
int x,
int y) |
|
abstract int |
getLowestY(IWorld world,
int x,
int y) |
|
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(IWorld world,
int x,
int y) |
|
boolean |
hasGrasslandDecoration() |
|
Biome |
register() |
protected final ResourceName name
public Biome(ResourceName name)
public abstract int getWeight(IWorld world, int x, int y)
public abstract int getHighestY(IWorld world, int x, int y)
public abstract int getLowestY(IWorld world, int x, int y)
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()