Interface ClickContainerEvent.SelectTrade

All Superinterfaces:
AffectItemStackEvent, AffectSlotEvent, Cancellable, ChangeInventoryEvent, ClickContainerEvent, Event, InteractContainerEvent
Enclosing interface:

public static interface ClickContainerEvent.SelectTrade extends ClickContainerEvent
Fies when the client requests to select a trade from a Trader
  • Method Details

    • selected

      int selected()
      Returns the selected trade offer index.
      The selected trade offer index
    • tradeOffer

      TradeOffer tradeOffer()
      Returns the selected trade offer.
      The selected trade offer