Class ModelSpawnAtPlayerEvent

java.lang.Object
org.bukkit.event.Event
All Implemented Interfaces:
org.bukkit.event.Cancellable

public final class ModelSpawnAtPlayerEvent extends AbstractPlayerModelEvent implements org.bukkit.event.Cancellable
Spawn tracker to some player
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.bukkit.event.HandlerList
    Handler list
  • Constructor Summary

    Constructors
    Constructor
    Description
    ModelSpawnAtPlayerEvent(@NotNull org.bukkit.entity.Player player, @NotNull Tracker tracker)
    Creates event
  • Method Summary

    Modifier and Type
    Method
    Description
    static @NotNull org.bukkit.event.HandlerList
    Gets a handler list
    @NotNull org.bukkit.event.HandlerList
     

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bukkit.event.Cancellable

    isCancelled, setCancelled
  • Field Details

    • HANDLER_LIST

      public static final org.bukkit.event.HandlerList HANDLER_LIST
      Handler list
  • Constructor Details

    • ModelSpawnAtPlayerEvent

      @Internal public ModelSpawnAtPlayerEvent(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull Tracker tracker)
      Creates event
      Parameters:
      player - player
      tracker - tracker
  • Method Details

    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      @NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()
      Gets a handler list
      Returns:
      handler list