Package alexiil.mc.lib.attributes.item
Class ItemInvUtil.MultiMoveResult
java.lang.Object
alexiil.mc.lib.attributes.item.ItemInvUtil.MultiMoveResult
- Enclosing class:
- ItemInvUtil
public static final class ItemInvUtil.MultiMoveResult
extends java.lang.Object
A pair of ints, representing both the total number of stacks and the total number of items moved by
ItemInvUtil.moveMultiple(ItemExtractable, ItemInsertable, ItemFilter, int, int)
.-
Field Summary
Fields Modifier and Type Field Description int
itemsMoved
int
stacksMoved
-
Constructor Summary
Constructors Constructor Description MultiMoveResult(int stacksMoved, int itemsMoved)
-
Method Summary
Modifier and Type Method Description boolean
didMoveAny()
-
Field Details
-
stacksMoved
public final int stacksMoved -
itemsMoved
public final int itemsMoved
-
-
Constructor Details
-
MultiMoveResult
public MultiMoveResult(int stacksMoved, int itemsMoved)
-
-
Method Details
-
didMoveAny
public boolean didMoveAny()- Returns:
- True if
itemsMoved
is greater than 0.
-