Class WorldEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.world.WorldEvent
Direct Known Subclasses:
ChunkEvent, GenericGameEvent, LootGenerateEvent, PortalCreateEvent, RaidEvent, SpawnChangeEvent, StructureGrowEvent, TimeSkipEvent, WorldInitEvent, WorldLoadEvent, WorldSaveEvent, WorldUnloadEvent

public abstract class WorldEvent extends Event
Represents events within a world
  • Constructor Details

  • Method Details

    • getWorld

      @NotNull public World getWorld()
      Gets the world primarily involved with this event
      Returns:
      World which caused this event