Class ItemInvUtil.MultiMoveResult

java.lang.Object
alexiil.mc.lib.attributes.item.ItemInvUtil.MultiMoveResult
Enclosing class:
ItemInvUtil

public static final class ItemInvUtil.MultiMoveResult extends 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 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.