Package-level declarations

Types

Link copied to clipboard
object KeyBinarySerializer : UnversionedBinarySerializer<Key>

A binary serializer for Key that serializes to a string of namespace:value.

Link copied to clipboard
object NamespacedKeyBinarySerializer : UnversionedBinarySerializer<NamespacedKey>

A binary serializer for NamespacedKey that serializes to a string of namespace:value.

Link copied to clipboard
class NovaRegistryElementBinarySerializer<T : NovaRegistryElement<T>>(registry: NovaRegistry<T>) : UnversionedBinarySerializer<T>

A binary serializer for NovaRegistryElement that serializes the element by its key.

Link copied to clipboard
class NovaRegistryEntryBinarySerializer<T : NovaRegistryElement<T>>(registry: NovaRegistry<T>) : UnversionedBinarySerializer<RegistryEntry.Nova<T>>

A binary serializer for RegistryEntry.Nova that serializes the entry by its key.

Link copied to clipboard

A binary serializer for RegistryEntrySet.Nova that serializes the set by its entries' keys.

Link copied to clipboard
class PaperRegistryElementBinarySerializer<T : Keyed>(registryKey: RegistryKey<T>, registryAccess: RegistryAccess, enumEntries: Map<String, T> = emptyMap()) : UnversionedBinarySerializer<T>

A binary serializer for Paper registry elements that serializes the element by its key. For registry elements that are also an enum, enumEntries can be used to provide the enum name mapping as a secondary input format.

Link copied to clipboard
class PaperRegistryEntryBinarySerializer<T : Keyed>(registryKey: RegistryKey<T>, registryAccess: RegistryAccess) : UnversionedBinarySerializer<RegistryEntry.Paper<T>>

A binary serializer for RegistryEntry.Paper that serializes the entry by its key.

Link copied to clipboard
class PaperRegistryEntrySetBinarySerializer<T : Keyed>(registryKey: RegistryKey<T>, registryAccess: RegistryAccess) : BinarySerializer<RegistryEntrySet.Paper<T>>

A binary serializer for RegistryEntrySet.Paper that serializes the set by its entries' keys.

Link copied to clipboard
class RegistryKeySetBinarySerializer<T : Keyed>(registryKey: RegistryKey<T>, registryAccess: RegistryAccess) : BinarySerializer<RegistryKeySet<T>>

A binary serializer for RegistryKeySet that serializes the set by its entries' keys.

Link copied to clipboard
class TagKeyBinarySerializer<T : Keyed>(registryKey: RegistryKey<T>) : UnversionedBinarySerializer<TagKey<T>>

A binary serializer for TagKey that serializes to a string of namespace:value.

Link copied to clipboard
class TypedKeyBinarySerializer<T : Keyed>(registryKey: RegistryKey<T>) : UnversionedBinarySerializer<TypedKey<T>>

A binary serializer for TypedKey that serializes to a string of namespace:value.

Functions

Link copied to clipboard
inline fun <T : Enum<T>, Keyed> Cbf.registerRegistrySerializers(registry: RegistryKey<T>, registryAccess: RegistryAccess = RegistryAccess.registryAccess())
inline fun <T : Keyed> Cbf.registerRegistrySerializers(registry: RegistryKey<T>, registryAccess: RegistryAccess = RegistryAccess.registryAccess())
Link copied to clipboard
inline fun <T : Keyed> Cbf.registerRegistrySerializersCommon(registry: RegistryKey<T>, registryAccess: RegistryAccess)