EntityTypeSerializer

A PaperRegistryElementSerializer for EntityType in RegistryKey.ENTITY_TYPE 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<EntityType>

The registry this serializer is for.

Functions

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