Class ValueTypeListProxyMaterializedFactory
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyMaterializedFactory
- All Implemented Interfaces:
IValueTypeListProxyFactoryTypeRegistry.IProxyFactory<IValueType<IValue>,IValue, ValueTypeListProxyMaterialized<IValueType<IValue>, IValue>>
public class ValueTypeListProxyMaterializedFactory
extends Object
implements IValueTypeListProxyFactoryTypeRegistry.IProxyFactory<IValueType<IValue>,IValue,ValueTypeListProxyMaterialized<IValueType<IValue>,IValue>>
Factory for
ValueTypeListProxyMaterialized.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(ValueDeseralizationContext valueDeseralizationContext, net.minecraft.nbt.Tag value) Deserialize the given value.net.minecraft.resources.ResourceLocationgetName()net.minecraft.nbt.TagSerialize the given value.
-
Constructor Details
-
ValueTypeListProxyMaterializedFactory
public ValueTypeListProxyMaterializedFactory()
-
-
Method Details
-
getName
public net.minecraft.resources.ResourceLocation getName()- Specified by:
getNamein interfaceIValueTypeListProxyFactoryTypeRegistry.IProxyFactory<IValueType<IValue>,IValue, ValueTypeListProxyMaterialized<IValueType<IValue>, IValue>> - Returns:
- The unique indentifier of this proxy.
-
serialize
public net.minecraft.nbt.Tag serialize(ValueTypeListProxyMaterialized<IValueType<IValue>, IValue> values) throws IValueTypeListProxyFactoryTypeRegistry.SerializationExceptionDescription copied from interface:IValueTypeListProxyFactoryTypeRegistry.IProxyFactorySerialize the given value.- Specified by:
serializein interfaceIValueTypeListProxyFactoryTypeRegistry.IProxyFactory<IValueType<IValue>,IValue, ValueTypeListProxyMaterialized<IValueType<IValue>, IValue>> - Parameters:
values- The value to serialize.- Returns:
- The serialized value.
- Throws:
IValueTypeListProxyFactoryTypeRegistry.SerializationException- If something goes wrong while serializing.
-
deserialize
public ValueTypeListProxyMaterialized<IValueType<IValue>,IValue> deserialize(ValueDeseralizationContext valueDeseralizationContext, net.minecraft.nbt.Tag value) throws IValueTypeListProxyFactoryTypeRegistry.SerializationException Description copied from interface:IValueTypeListProxyFactoryTypeRegistry.IProxyFactoryDeserialize the given value.- Specified by:
deserializein interfaceIValueTypeListProxyFactoryTypeRegistry.IProxyFactory<IValueType<IValue>,IValue, ValueTypeListProxyMaterialized<IValueType<IValue>, IValue>> value- The value to deserialize.- Returns:
- The deserialized value.
- Throws:
IValueTypeListProxyFactoryTypeRegistry.SerializationException- If something goes wrong while deserializing.
-