Class SetBiomeEvent

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

public final class SetBiomeEvent extends Event
This event is fired when a Biome is set into the world using IChunk.setBiomeInner(int, int, Biome) or any of the helper methods like IChunkOrWorld.setBiome(int, int, Biome). Note that the x and y variables are chunk-inner coordinates. Cancelling the event will cause the biome not to be set.
  • Field Details

    • chunk

      public final IChunk chunk
    • biome

      public Biome biome
    • x

      public int x
    • y

      public int y
  • Constructor Details

    • SetBiomeEvent

      public SetBiomeEvent(IChunk chunk, Biome biome, int x, int y)