Interface BlockTransactionEvent.Buy

All Superinterfaces:
BlockTransactionEvent, net.kyori.event.Cancellable, Event
Enclosing interface:
BlockTransactionEvent

public static interface BlockTransactionEvent.Buy extends BlockTransactionEvent
Fired when a player attempts to buys bonus blocks.
  • Method Details

    • currentTotal

      int currentTotal()
      The current bonus blocks this user has.
      Returns:
      The current bonus block total
    • getNewTotal

      int getNewTotal()
      The new total bonus blocks this user will have if transaction completes.
      Returns:
      The new total bonus block total