VillagerProfessionEntrySerializer

A PaperRegistryEntrySerializer for Villager.Profession in RegistryKey.VILLAGER_PROFESSION 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<Villager.Profession>

The registry this serializer is for.

Functions

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