An extra trait so Scala's derives has something to latch on to.
- Companion
- object
Value members
Inherited methods
Create a new serializer that uses this serializer as a stepping stone.
Create a new serializer that uses this serializer as a stepping stone.
- Inherited from
- NBTSerializer
Create a new deserializer that changes the NBT type and uses this deserializer as a stepping stone.
Create a new deserializer that changes the NBT type and uses this deserializer as a stepping stone.
- Inherited from
- NBTDeserializer
- Inherited from
- NBTView
Map the result of running this deserializer.
Map the result of running this deserializer.
- Inherited from
- NBTDeserializer
Maps the NBT that resulted from using this serializer.
Maps the NBT that resulted from using this serializer.
- Inherited from
- NBTSerializer
Modifies a nbt in value form before returning a new NBT. Thew two types of NBT does not have to be the same.
Modifies a nbt in value form before returning a new NBT. Thew two types of NBT does not have to be the same.
- Type Params
- NewNBT
The new NBT type
- NewRepr
The new value type
- Value Params
- f
The function to apply to the NBT
- nbt
The NBT to modify
- newView
A view providing a way to get back to the world of NBTs after the modification.
- Example
val stringNbt: Option[NBTString] = NBTView.TagInt.modify(NBTInt(5))(_.toString)
- Inherited from
- NBTView
Map the result of running this deserializer using a function that can fail.
Map the result of running this deserializer using a function that can fail.
- Inherited from
- NBTDeserializer