Class StealCancelEvent

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

public final class StealCancelEvent extends StealABlockEvent
Fired when an active steal countdown or stolen block carry is cancelled and/or returned to the victim.
  • Constructor Details

    • StealCancelEvent

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

    • getThief

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

      @Nullable public @Nullable UUID getVictimId()
    • getReturnedBlock

      @Nullable public @Nullable BlockType getReturnedBlock()
    • 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()