public class DecorateBiomeEvent extends Event
world contains the world that is being decorated. rand contains an instane of Random to be used. chunkX contains the x-coordinate of the Chunk being decorated. chunkZ contains the z-coordinate of the Chunk being decorated. Cancelable.
Event.HasResult
MinecraftForge#TERRAIN_GEN_BUS.| Modifier and Type | Class and Description |
|---|---|
static class |
DecorateBiomeEvent.Decorate
This event is fired when a chunk is decorated with a biome feature.
|
static class |
DecorateBiomeEvent.Post
This event is fired after a chunk is decorated with a biome feature.
|
static class |
DecorateBiomeEvent.Pre
This event is fired before a chunk is decorated with a biome feature.
|
Event.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
int |
chunkX |
int |
chunkZ |
java.util.Random |
rand |
World |
world |
| Constructor and Description |
|---|
DecorateBiomeEvent(World world,
java.util.Random rand,
int worldX,
int worldZ) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup