Companion

Functions

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

Checks, if a staff item handler for the given item is registered.

Link copied to clipboard
operator fun get(staffItem: Identifier): StaffItemHandler?

Gets the registered staff item handler for the given item or null, if no staff item handler was registered.

Link copied to clipboard
fun register(staffItem: Identifier, handler: StaffItemHandler, staffItemModelSupplierFactory: Supplier<Supplier<out IStaffItemUnbakedModel>>): Boolean

Registers a StaffItemHandler for the given item ID.