Inherited properties

Link copied to clipboard

Gets all the registered keys in this registry.

Functions

Link copied to clipboard
operator fun contains(key: Item): Boolean

Checks if the given key is present in the registry

Link copied to clipboard
operator fun get(key: Item): StaffItemRenderer

Gets the value associated with the given key or throws an exception, if the key is not present in this registry.

Link copied to clipboard
fun register(key: Item, value: StaffItemRenderer)

Registers an entry to this registry.

Inherited functions

Link copied to clipboard
operator fun contains(key: Identifier): Boolean

Checks if the given key is present in the registry

Link copied to clipboard
Link copied to clipboard
operator fun get(key: Identifier): StaffItemRenderer

Gets the value associated with the given key or throws an exception, if the key is not present in this registry.

Link copied to clipboard
open operator override fun iterator(): Iterator<Map.Entry<Identifier, StaffItemRenderer>>
Link copied to clipboard
open fun register(key: Identifier, value: StaffItemRenderer)

Registers an entry to this registry.

Link copied to clipboard
Link copied to clipboard

Validates an entry to be registered. Throws an exception, if the entry is invalid.