Class ConveyorBlockClaimEvent

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

public final class ConveyorBlockClaimEvent extends CancellableStealABlockEvent
Fired when a player claims a moving block from the conveyor.
  • Constructor Details

    • ConveyorBlockClaimEvent

      public ConveyorBlockClaimEvent(@NotNull @NotNull UUID playerId, @NotNull @NotNull ConveyorBlockView conveyorBlock)
  • Method Details

    • getPlayerId

      @NotNull public @NotNull UUID getPlayerId()
    • getConveyorBlock

      @NotNull public @NotNull ConveyorBlockView getConveyorBlock()
    • 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()