Class IncomeCollectEvent

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

public final class IncomeCollectEvent extends CancellableStealABlockEvent
Fired when a player collects accumulated money from a stored block's pressure plate.
  • Constructor Details

    • IncomeCollectEvent

      public IncomeCollectEvent(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull StoredBlockView storedBlock, double amount)
  • Method Details

    • getPlayer

      @NotNull public @NotNull org.bukkit.entity.Player getPlayer()
    • getStoredBlock

      @NotNull public @NotNull StoredBlockView getStoredBlock()
    • getAmount

      public double getAmount()
    • setAmount

      public void setAmount(double amount)
    • 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()