Class ValueTypeListProxyEntityItems
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyBase<T,V>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyEntityBase<T,V>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyEntityCapability<net.minecraftforge.items.IItemHandler,ValueObjectTypeItemStack,ValueObjectTypeItemStack.ValueItemStack>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyEntityItems
- All Implemented Interfaces:
Iterable<ValueObjectTypeItemStack.ValueItemStack>,org.cyclops.cyclopscore.persist.nbt.INBTProvider,IValueTypeListProxy<ValueObjectTypeItemStack,ValueObjectTypeItemStack.ValueItemStack>
public class ValueTypeListProxyEntityItems
extends ValueTypeListProxyEntityCapability<net.minecraftforge.items.IItemHandler,ValueObjectTypeItemStack,ValueObjectTypeItemStack.ValueItemStack>
implements org.cyclops.cyclopscore.persist.nbt.INBTProvider
A list proxy for the item handler items of an entity.
-
Constructor Summary
ConstructorsConstructorDescriptionValueTypeListProxyEntityItems(net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, net.minecraft.core.Direction side) -
Method Summary
Methods inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyEntityCapability
getCapability, readGeneratedFieldsFromNBT, writeGeneratedFieldsToNBTMethods inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyEntityBase
getEntityMethods 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
-
ValueTypeListProxyEntityItems
public ValueTypeListProxyEntityItems(net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, @Nullable net.minecraft.core.Direction side) -
ValueTypeListProxyEntityItems
public ValueTypeListProxyEntityItems()
-
-
Method Details
-
getLength
public int getLength()- Specified by:
getLengthin interfaceIValueTypeListProxy<ValueObjectTypeItemStack,ValueObjectTypeItemStack.ValueItemStack> - Returns:
- The list length
-
get
Description copied from interface:IValueTypeListProxyGet the element at the given index.- Specified by:
getin interfaceIValueTypeListProxy<ValueObjectTypeItemStack,ValueObjectTypeItemStack.ValueItemStack> - Parameters:
index- The index.- Returns:
- The element at the given index.
-