Class TrapDeployEvent

All Implemented Interfaces:
org.bukkit.event.Cancellable

public final class TrapDeployEvent extends CancellableStealABlockEvent
Fired when a player deploys a Slime Trap or defense item in their plot.
  • Constructor Details

    • TrapDeployEvent

      public TrapDeployEvent(@NotNull @NotNull org.bukkit.entity.Player owner, @NotNull @NotNull org.bukkit.Location location)
  • Method Details

    • getOwner

      @NotNull public @NotNull org.bukkit.entity.Player getOwner()
    • getLocation

      @NotNull public @NotNull org.bukkit.Location getLocation()
    • 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()