RegistryHolder

interface RegistryHolder

Something that holds registries.

Functions

Link copied to clipboard

Gets a defaulted registry from this registry holder with the given key.

Link copied to clipboard
abstract fun <E> getRegistry(key: ResourceKey<out Registry<E>>): Registry<E>?

Gets a registry from this registry holder with the given key.

Properties

Link copied to clipboard
abstract val registries: Collection<Registry<*>>

All the registries contained within this registry holder.