Class InventoryActionMacros
java.lang.Object
com.zenith.feature.inventory.util.InventoryActionMacros
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<InventoryAction> deposit(int containerId) static List<InventoryAction> static List<InventoryAction> static List<InventoryAction> swapSlots(int fromSlot, int toSlot) static List<InventoryAction> swapSlots(int containerId, int fromSlot, int toSlot) static List<InventoryAction> withdraw(int containerId) static List<InventoryAction> static List<InventoryAction>
-
Method Details
-
swapSlots
-
swapSlots
-
withdraw
-
withdraw
-
withdraw
public static List<InventoryAction> withdraw(int containerId, Predicate<ItemStack> predicate, int maxSlotsWithdrawn) -
deposit
-
deposit
-
deposit
public static List<InventoryAction> deposit(int containerId, Predicate<ItemStack> predicate, int maxSlotsDeposited)
-