Class ValueTypeListProxyPositionedTankCapacities
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyBase<T,V>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyPositioned<ValueTypeInteger,ValueTypeInteger.ValueInteger>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyPositionedTankCapacities
- All Implemented Interfaces:
Iterable<ValueTypeInteger.ValueInteger>,org.cyclops.cyclopscore.persist.nbt.INBTProvider,IValueTypeListProxy<ValueTypeInteger,ValueTypeInteger.ValueInteger>
public class ValueTypeListProxyPositionedTankCapacities
extends ValueTypeListProxyPositioned<ValueTypeInteger,ValueTypeInteger.ValueInteger>
implements org.cyclops.cyclopscore.persist.nbt.INBTProvider
A list proxy for a tank's capacities at a certain position.
-
Constructor Summary
ConstructorsConstructorDescriptionValueTypeListProxyPositionedTankCapacities(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
-
ValueTypeListProxyPositionedTankCapacities
public ValueTypeListProxyPositionedTankCapacities(org.cyclops.cyclopscore.datastructure.DimPos pos, net.minecraft.core.Direction side) -
ValueTypeListProxyPositionedTankCapacities
public ValueTypeListProxyPositionedTankCapacities()
-
-
Method Details
-
getTank
protected net.minecraftforge.common.util.LazyOptional<net.minecraftforge.fluids.capability.IFluidHandler> getTank() -
getLength
public int getLength()- Specified by:
getLengthin interfaceIValueTypeListProxy<ValueTypeInteger,ValueTypeInteger.ValueInteger> - Returns:
- The list length
-
get
Description copied from interface:IValueTypeListProxyGet the element at the given index.- Specified by:
getin interfaceIValueTypeListProxy<ValueTypeInteger,ValueTypeInteger.ValueInteger> - Parameters:
index- The index.- Returns:
- The element at the given index.
-