Class WorldGenEvent

java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.WorldGenEvent

public final class WorldGenEvent extends Event
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.