Companion

@Environment(value = EnvType.CLIENT)
object Companion(source)

Functions

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

Checks if a renderer for the given item is registered.

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

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

Link copied to clipboard

Registers a renderer for a given item ID.