类 WorldEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.world.WorldEvent
直接已知子类:
AsyncStructureGenerateEvent, AsyncStructureSpawnEvent, ChunkEvent, GenericGameEvent, LootGenerateEvent, PortalCreateEvent, RaidEvent, SpawnChangeEvent, StructureGrowEvent, TimeSkipEvent, WorldInitEvent, WorldLoadEvent, WorldSaveEvent, WorldUnloadEvent

public abstract class WorldEvent extends Event
代表世界范围内的事件.
  • 构造器详细资料

  • 方法详细资料

    • getWorld

      @NotNull public @NotNull World getWorld()
      获取这个事件主要涉及的世界.

      原文: Gets the world primarily involved with this event

      返回:
      引发这个事件的世界