Class ValueTypeListProxyBase<T extends IValueType<V>,V extends IValue>
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyBase<T,V>
- Type Parameters:
T- The value type type.V- The value type.
- All Implemented Interfaces:
Iterable<V>,IValueTypeListProxy<T,V>
- Direct Known Subclasses:
ValueTypeListProxyAppend,ValueTypeListProxyConcat,ValueTypeListProxyEntityBase,ValueTypeListProxyLazyBuilt,ValueTypeListProxyMaterialized,ValueTypeListProxyNbtAsListGeneric,ValueTypeListProxyNbtKeys,ValueTypeListProxyNbtValueListGeneric,ValueTypeListProxyOperatorMapped,ValueTypeListProxyPositioned,ValueTypeListProxySlice,ValueTypeListProxyTail
public abstract class ValueTypeListProxyBase<T extends IValueType<V>,V extends IValue>
extends Object
implements IValueTypeListProxy<T,V>
A list proxy base implementation.
-
Constructor Summary
ConstructorsConstructorDescriptionValueTypeListProxyBase(net.minecraft.resources.ResourceLocation name, T valueType) -
Method Summary
Methods 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
-
ValueTypeListProxyBase
-
-
Method Details
-
getValueType
- Specified by:
getValueTypein interfaceIValueTypeListProxy<T extends IValueType<V>,V extends IValue> - Returns:
- The list element value type.
-
getName
public net.minecraft.resources.ResourceLocation getName()- Specified by:
getNamein interfaceIValueTypeListProxy<T extends IValueType<V>,V extends IValue> - Returns:
- The proxy type name that must exist in the
IValueTypeListProxyFactoryTypeRegistryso that this can be correctly (de)serialized.
-
toCompactString
public net.minecraft.network.chat.MutableComponent toCompactString()- Specified by:
toCompactStringin interfaceIValueTypeListProxy<T extends IValueType<V>,V extends IValue> - Returns:
- A short string representation used in guis to show the value.
-
iterator
- Specified by:
iteratorin interfaceIterable<T extends IValueType<V>>
-
equals
-
hashCode
public int hashCode() -
isInfinite
public boolean isInfinite()- Specified by:
isInfinitein interfaceIValueTypeListProxy<T extends IValueType<V>,V extends IValue> - Returns:
- If this is an infinite list.
-