T
- the type of the deserialized objects this class producespublic interface NBTDeserializer<T>
Modifier and Type | Method and Description |
---|---|
T |
deserialize(NBTBaseTag dataStore,
SerializationContext context)
Serialize the item into the data store.
|
T deserialize(NBTBaseTag dataStore, SerializationContext context)
dataStore
- the existing tag where the data is being writtencontext
- the SerializationContext
that complex serialization can be delegated
to. It should also be used to obtain a reference to the appropriate TagFactory