Class StealCompleteEvent

java.lang.Object
org.bukkit.event.Event
dev.yowsef.stealablock.api.event.StealABlockEvent
dev.yowsef.stealablock.api.event.steal.StealCompleteEvent

public final class StealCompleteEvent extends StealABlockEvent
Fired when a thief finishes the steal countdown and picks up the victim's block.
  • Constructor Details

    • StealCompleteEvent

      public StealCompleteEvent(@NotNull @NotNull org.bukkit.entity.Player thief, @NotNull @NotNull UUID victimId, @NotNull @NotNull BlockType stolenBlock, @NotNull @NotNull Cause cause)
  • Method Details

    • getThief

      @NotNull public @NotNull org.bukkit.entity.Player getThief()
    • getVictimId

      @NotNull public @NotNull UUID getVictimId()
    • getStolenBlock

      @NotNull public @NotNull BlockType getStolenBlock()
    • 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()