IStaffModClientPlatform

@Environment(value = EnvType.CLIENT)
interface IStaffModClientPlatform(source)

Loader-specific functionality

See also

Inheritors

Types

Link copied to clipboard

Wrapper around the current loader's IStaffModClientPlatform implementation.

Properties

Link copied to clipboard

Gets the items requested to be rendered as a staff model. Do not modify, call renderAsStaffModel instead.

Functions

Link copied to clipboard
abstract fun getStandaloneModel(modelId: Identifier): BakedModel

Returns a model registered through loader-specific API.

Link copied to clipboard
abstract fun renderAsStaffModel(item: Item)

Tells Minecraft to render the given item as a staff model. When called on the server, it does nothing