VillagerTypeKeySerializer

A TypedKeySerializer for Villager.Type in RegistryKey.VILLAGER_TYPE using the default RegistryAccess.

Properties

Link copied to clipboard
override val descriptor: SerialDescriptor
Link copied to clipboard
val registryKey: RegistryKey<Villager.Type>

The registry this serializer is for.

Functions

Link copied to clipboard
override fun deserialize(decoder: Decoder): TypedKey<Villager.Type>
Link copied to clipboard
override fun serialize(encoder: Encoder, value: TypedKey<Villager.Type>)