public class DecorateBiomeEvent extends Event
world contains the world that is being decorated. rand contains an instance of Random to be used. pos contains the coordinates 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 |
|---|---|
BlockPos |
pos |
java.util.Random |
rand |
World |
world |
| Constructor and Description |
|---|
DecorateBiomeEvent(World world,
java.util.Random rand,
BlockPos pos) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup