IStaffModClientPlatform

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

Loader-specific functionality

See also

Inheritors

Types

Link copied to clipboard
public class Instance implements IStaffModClientPlatform

Wrapper around the current loader's IStaffModClientPlatform implementation.

Functions

Link copied to clipboard
public abstract Collection<Item> getStaffModelItems()

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

Link copied to clipboard
public abstract BakedModel getStandaloneModel(Identifier modelId)

Returns a model registered through loader-specific API.

Link copied to clipboard
public abstract Unit renderAsStaffModel(Item item)

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