Class ScenarioRegisteredEvent

java.lang.Object
org.bukkit.event.Event
dev.itsharshxd.zentrix.api.events.ZentrixEvent
dev.itsharshxd.zentrix.api.events.scenario.ScenarioRegisteredEvent

public final class ScenarioRegisteredEvent extends ZentrixEvent
A scenario entered the runtime registry and is immediately usable everywhere.
Since:
1.6.0
  • Constructor Details

    • ScenarioRegisteredEvent

      public ScenarioRegisteredEvent(@NotNull @NotNull ScenarioRegistration registration)
  • Method Details

    • getRegistration

      @NotNull public @NotNull ScenarioRegistration getRegistration()
    • getScenarioId

      @NotNull public @NotNull String getScenarioId()
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Description copied from class: ZentrixEvent
      Gets the handler list for this event.
      Overrides:
      getHandlers in class ZentrixEvent
      Returns:
      The handler list
    • getHandlerList

      @NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()