Contents
Class BarterTrade
java.lang.Object
com.hypixel.hytale.builtin.adventure.shop.barter.BarterTrade
Represents a single barter trade: what the player receives and what they must pay.
-
Field Details
-
CODEC
-
-
Constructor Details
-
BarterTrade
-
-
Method Details
-
getOutput
- Returns:
- the item stack the player receives from this trade.
-
getInput
- Returns:
- the item stacks the player must provide to complete this trade.
-
getMaxStock
public int getMaxStock()- Returns:
- the maximum stock available for this trade before refresh.
-
toString
-