Interface ItemSwapAmount
- All Known Implementing Classes:
ItemSwapAmountImpl
public interface ItemSwapAmount
Encapsulates the data used to determine how many items are being swapped for this swap.
-
Method Summary
Modifier and TypeMethodDescriptionint
getNumItemsToSwap
(int stackSize) Get the number of items to swap based on the input item stack size.
-
Method Details
-
getNumItemsToSwap
int getNumItemsToSwap(int stackSize) Get the number of items to swap based on the input item stack size.- Parameters:
stackSize
- The size of the item stack being swapped.- Returns:
- The amount of the stack to ideally swap.
-