Class ValueTypeListProxyEntityCapability<C,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.ValueTypeListProxyEntityBase<T,V>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyEntityCapability<C,T,V>
- All Implemented Interfaces:
Iterable<V>,org.cyclops.cyclopscore.persist.nbt.INBTProvider,IValueTypeListProxy<T,V>
- Direct Known Subclasses:
ValueTypeListProxyEntityFluids,ValueTypeListProxyEntityItems
public abstract class ValueTypeListProxyEntityCapability<C,T extends IValueType<V>,V extends IValue>
extends ValueTypeListProxyEntityBase<T,V>
A list proxy for a capability of an entity.
-
Constructor Summary
ConstructorsConstructorDescriptionValueTypeListProxyEntityCapability(net.minecraft.resources.ResourceLocation name, T valueType, net.minecraft.world.level.Level world, net.minecraft.world.entity.Entity entity, net.minecraftforge.common.capabilities.Capability<C> capability, net.minecraft.core.Direction side) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraftforge.common.util.LazyOptional<C>voidreadGeneratedFieldsFromNBT(net.minecraft.nbt.CompoundTag tag) voidwriteGeneratedFieldsToNBT(net.minecraft.nbt.CompoundTag tag) Methods 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 java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.cyclops.integrateddynamics.api.evaluate.variable.IValueTypeListProxy
get, getLength
-
Constructor Details
-
ValueTypeListProxyEntityCapability
-
-
Method Details
-
getCapability
-
writeGeneratedFieldsToNBT
public void writeGeneratedFieldsToNBT(net.minecraft.nbt.CompoundTag tag) - Specified by:
writeGeneratedFieldsToNBTin interfaceorg.cyclops.cyclopscore.persist.nbt.INBTProvider- Overrides:
writeGeneratedFieldsToNBTin classValueTypeListProxyEntityBase<T extends IValueType<V>,V extends IValue>
-
readGeneratedFieldsFromNBT
public void readGeneratedFieldsFromNBT(net.minecraft.nbt.CompoundTag tag) - Specified by:
readGeneratedFieldsFromNBTin interfaceorg.cyclops.cyclopscore.persist.nbt.INBTProvider- Overrides:
readGeneratedFieldsFromNBTin classValueTypeListProxyEntityBase<T extends IValueType<V>,V extends IValue>
-