Class ItemHandlerItemStackIterator
java.lang.Object
org.cyclops.commoncapabilities.api.capability.itemhandler.ItemHandlerItemStackIterator
- All Implemented Interfaces:
Iterator<net.minecraft.world.item.ItemStack>
public class ItemHandlerItemStackIterator
extends Object
implements Iterator<net.minecraft.world.item.ItemStack>
An iterator over all slots in an item handler.
-
Constructor Summary
ConstructorDescriptionItemHandlerItemStackIterator
(net.neoforged.neoforge.items.IItemHandler itemHandler) ItemHandlerItemStackIterator
(net.neoforged.neoforge.items.IItemHandler itemHandler, int offset) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
ItemHandlerItemStackIterator
public ItemHandlerItemStackIterator(net.neoforged.neoforge.items.IItemHandler itemHandler, int offset) -
ItemHandlerItemStackIterator
public ItemHandlerItemStackIterator(net.neoforged.neoforge.items.IItemHandler itemHandler)
-
-
Method Details