Class ValueTypeListProxyPositioned<T extends IValueType<V>,V extends IValue>
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyBase<T,V>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyPositioned<T,V>
- All Implemented Interfaces:
Iterable<V>,org.cyclops.cyclopscore.persist.nbt.INBTProvider,IValueTypeListProxy<T,V>
- Direct Known Subclasses:
ValueTypeListProxyPositionedInventory,ValueTypeListProxyPositionedRecipes,ValueTypeListProxyPositionedTankCapacities,ValueTypeListProxyPositionedTankFluidStacks
public abstract class ValueTypeListProxyPositioned<T extends IValueType<V>,V extends IValue>
extends ValueTypeListProxyBase<T,V>
implements org.cyclops.cyclopscore.persist.nbt.INBTProvider
A list proxy for a certain position.
-
Constructor Summary
ConstructorsConstructorDescriptionValueTypeListProxyPositioned(net.minecraft.resources.ResourceLocation name, T valueType, org.cyclops.cyclopscore.datastructure.DimPos pos, net.minecraft.core.Direction side) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.cyclops.cyclopscore.datastructure.DimPosgetPos()protected net.minecraft.core.DirectiongetSide()voidreadGeneratedFieldsFromNBT(net.minecraft.nbt.CompoundTag tag) protected voidsetPos(org.cyclops.cyclopscore.datastructure.DimPos pos) protected voidsetSide(net.minecraft.core.Direction side) voidwriteGeneratedFieldsToNBT(net.minecraft.nbt.CompoundTag tag) Methods 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 java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.cyclops.integrateddynamics.api.evaluate.variable.IValueTypeListProxy
get, getLength
-
Constructor Details
-
ValueTypeListProxyPositioned
public ValueTypeListProxyPositioned(net.minecraft.resources.ResourceLocation name, T valueType, org.cyclops.cyclopscore.datastructure.DimPos pos, net.minecraft.core.Direction side)
-
-
Method Details
-
writeGeneratedFieldsToNBT
public void writeGeneratedFieldsToNBT(net.minecraft.nbt.CompoundTag tag) - Specified by:
writeGeneratedFieldsToNBTin interfaceorg.cyclops.cyclopscore.persist.nbt.INBTProvider
-
readGeneratedFieldsFromNBT
public void readGeneratedFieldsFromNBT(net.minecraft.nbt.CompoundTag tag) - Specified by:
readGeneratedFieldsFromNBTin interfaceorg.cyclops.cyclopscore.persist.nbt.INBTProvider
-
getPos
protected org.cyclops.cyclopscore.datastructure.DimPos getPos() -
setPos
protected void setPos(org.cyclops.cyclopscore.datastructure.DimPos pos) -
getSide
protected net.minecraft.core.Direction getSide() -
setSide
protected void setSide(net.minecraft.core.Direction side)
-