CowVariantSerializer

A PaperRegistryElementSerializer for Cow.Variant in RegistryKey.COW_VARIANT using the default RegistryAccess.

Properties

Link copied to clipboard
override val descriptor: SerialDescriptor
Link copied to clipboard
val registryAccess: RegistryAccess

The registry access to retrieve the registry from.

Link copied to clipboard
val registryKey: RegistryKey<Cow.Variant>

The registry this serializer is for.

Functions

Link copied to clipboard
override fun deserialize(decoder: Decoder): Cow.Variant
Link copied to clipboard
override fun serialize(encoder: Encoder, value: Cow.Variant)