Interface ClickContainerEvent.SelectTrade

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

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.
      Returns:
      The selected trade offer index
    • tradeOffer

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