Class WorldGenEvent
java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.WorldGenEvent
This event is fired when an
IWorldGenerator is generating using
IWorldGenerator.generate(IWorld, IChunk). Cancelling the event will
cause the generator not to generate. Setting this event's result to EventResult.MODIFIED will make the generator generate even if its own IWorldGenerator.shouldGenerate(IWorld, IChunk) method returns false.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
world
-
chunk
-
generator
-
-
Constructor Details
-
WorldGenEvent
-