Class FluidHandlerFluidStackIterator
java.lang.Object
org.cyclops.commoncapabilities.api.capability.fluidhandler.FluidHandlerFluidStackIterator
- All Implemented Interfaces:
Iterator<net.neoforged.neoforge.fluids.FluidStack>
public class FluidHandlerFluidStackIterator
extends Object
implements Iterator<net.neoforged.neoforge.fluids.FluidStack>
An iterator over all slots in a fluid handler.
-
Constructor Summary
ConstructorDescriptionFluidHandlerFluidStackIterator
(net.neoforged.neoforge.fluids.capability.IFluidHandler fluidHandler) FluidHandlerFluidStackIterator
(net.neoforged.neoforge.fluids.capability.IFluidHandler fluidHandler, 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
-
FluidHandlerFluidStackIterator
public FluidHandlerFluidStackIterator(net.neoforged.neoforge.fluids.capability.IFluidHandler fluidHandler, int offset) -
FluidHandlerFluidStackIterator
public FluidHandlerFluidStackIterator(net.neoforged.neoforge.fluids.capability.IFluidHandler fluidHandler)
-
-
Method Details