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): StaffHandler

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: StaffHandler)

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): StaffHandler

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, StaffHandler>>
Link copied to clipboard
open fun register(key: Identifier, value: StaffHandler)

Registers an entry to this registry.

Link copied to clipboard
Link copied to clipboard
open fun validateEntry(key: Identifier, value: StaffHandler)

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