PaperRegistryEntryBinarySerializer

class PaperRegistryEntryBinarySerializer<T : Keyed>(registryKey: RegistryKey<T>, registryAccess: RegistryAccess) : UnversionedBinarySerializer<RegistryEntry.Paper<T>>

A binary serializer for RegistryEntry.Paper that serializes the entry by its key.

Constructors

Link copied to clipboard
constructor(registryKey: RegistryKey<T>, registryAccess: RegistryAccess)

Functions

Link copied to clipboard
Link copied to clipboard
override fun read(reader: ByteReader): RegistryEntry.Paper<T>?
Link copied to clipboard
override fun write(obj: RegistryEntry.Paper<T>?, writer: ByteWriter)