Interface BlockTransactionEvent.Sell

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

public static interface BlockTransactionEvent.Sell extends BlockTransactionEvent
Fired when a player attempts to sell blocks.
  • Method Details

    • currentTotal

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

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