BiomeSerializer

A PaperRegistryElementSerializer for Biome in RegistryKey.BIOME 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<Biome>

The registry this serializer is for.

Functions

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