public class DecorateBiomeEvent extends Event
DeferredBiomeDecorator.fireCreateEventAndReplace(Biome).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| Constructor and Description |
|---|
DecorateBiomeEvent(World world,
java.util.Random rand,
BlockPos pos) |
| Modifier and Type | Method and Description |
|---|---|
BlockPos |
getPos() |
java.util.Random |
getRand() |
World |
getWorld() |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup