Class ValueTypeListProxyPositionedTankFluidStacks
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyBase<T,V>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyPositioned<ValueObjectTypeFluidStack,ValueObjectTypeFluidStack.ValueFluidStack>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyPositionedTankFluidStacks
- All Implemented Interfaces:
Iterable<ValueObjectTypeFluidStack.ValueFluidStack>,org.cyclops.cyclopscore.persist.nbt.INBTProvider,IValueTypeListProxy<ValueObjectTypeFluidStack,ValueObjectTypeFluidStack.ValueFluidStack>
public class ValueTypeListProxyPositionedTankFluidStacks
extends ValueTypeListProxyPositioned<ValueObjectTypeFluidStack,ValueObjectTypeFluidStack.ValueFluidStack>
implements org.cyclops.cyclopscore.persist.nbt.INBTProvider
A list proxy for a tank's fluidstacks at a certain position.
-
Constructor Summary
ConstructorsConstructorDescriptionValueTypeListProxyPositionedTankFluidStacks(org.cyclops.cyclopscore.datastructure.DimPos pos, net.minecraft.core.Direction side) -
Method Summary
Methods inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyPositioned
getPos, getSide, readGeneratedFieldsFromNBT, setPos, setSide, writeGeneratedFieldsToNBTMethods inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyBase
equals, getName, getValueType, hashCode, isInfinite, iterator, toCompactStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cyclops.cyclopscore.persist.nbt.INBTProvider
readGeneratedFieldsFromNBT, writeGeneratedFieldsToNBTMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ValueTypeListProxyPositionedTankFluidStacks
public ValueTypeListProxyPositionedTankFluidStacks(org.cyclops.cyclopscore.datastructure.DimPos pos, net.minecraft.core.Direction side) -
ValueTypeListProxyPositionedTankFluidStacks
public ValueTypeListProxyPositionedTankFluidStacks()
-
-
Method Details
-
getTank
protected net.minecraftforge.common.util.LazyOptional<net.minecraftforge.fluids.capability.IFluidHandler> getTank() -
getLength
public int getLength()- Specified by:
getLengthin interfaceIValueTypeListProxy<ValueObjectTypeFluidStack,ValueObjectTypeFluidStack.ValueFluidStack> - Returns:
- The list length
-
get
Description copied from interface:IValueTypeListProxyGet the element at the given index.- Specified by:
getin interfaceIValueTypeListProxy<ValueObjectTypeFluidStack,ValueObjectTypeFluidStack.ValueFluidStack> - Parameters:
index- The index.- Returns:
- The element at the given index.
-