Class ValueTypeListProxySlice.Factory
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyNBTFactorySimple<IValueType<IValue>,IValue,ValueTypeListProxySlice<IValueType<IValue>,IValue>>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxySlice.Factory
- All Implemented Interfaces:
IValueTypeListProxyFactoryTypeRegistry.IProxyFactory<IValueType<IValue>,IValue, ValueTypeListProxySlice<IValueType<IValue>, IValue>>
- Enclosing class:
- ValueTypeListProxySlice<T extends IValueType<V>,
V extends IValue>
public static class ValueTypeListProxySlice.Factory
extends ValueTypeListProxyNBTFactorySimple<IValueType<IValue>,IValue,ValueTypeListProxySlice<IValueType<IValue>,IValue>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ValueTypeListProxySlice<IValueType<IValue>,IValue> deserializeNbt(ValueDeseralizationContext valueDeseralizationContext, net.minecraft.nbt.CompoundTag tag) net.minecraft.resources.ResourceLocationgetName()protected voidserializeNbt(ValueTypeListProxySlice<IValueType<IValue>, IValue> value, net.minecraft.nbt.CompoundTag tag) Methods inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyNBTFactorySimple
deserialize, serialize
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
getName
public net.minecraft.resources.ResourceLocation getName()- Returns:
- The unique indentifier of this proxy.
-
serializeNbt
protected void serializeNbt(ValueTypeListProxySlice<IValueType<IValue>, IValue> value, net.minecraft.nbt.CompoundTag tag) throws IValueTypeListProxyFactoryTypeRegistry.SerializationException- Specified by:
serializeNbtin classValueTypeListProxyNBTFactorySimple<IValueType<IValue>,IValue, ValueTypeListProxySlice<IValueType<IValue>, IValue>> - Throws:
IValueTypeListProxyFactoryTypeRegistry.SerializationException
-
deserializeNbt
protected ValueTypeListProxySlice<IValueType<IValue>,IValue> deserializeNbt(ValueDeseralizationContext valueDeseralizationContext, net.minecraft.nbt.CompoundTag tag) throws IValueTypeListProxyFactoryTypeRegistry.SerializationException - Specified by:
deserializeNbtin classValueTypeListProxyNBTFactorySimple<IValueType<IValue>,IValue, ValueTypeListProxySlice<IValueType<IValue>, IValue>> - Throws:
IValueTypeListProxyFactoryTypeRegistry.SerializationException
-