PlatformItemTransform

Defines the display context for an item model.

These values correspond to the display settings in a Minecraft item model file.

Since

2.0.0

Entries

Link copied to clipboard

No specific transform.

Link copied to clipboard

Displayed in the left hand in third-person view.

Link copied to clipboard

Displayed in the right hand in third-person view.

Link copied to clipboard

Displayed in the left hand in first-person view.

Link copied to clipboard

Displayed in the right hand in first-person view.

Link copied to clipboard

Displayed on the head (e.g., helmet).

Link copied to clipboard

Displayed in a GUI slot.

Link copied to clipboard

Displayed on the ground as an item entity.

Link copied to clipboard

Displayed in an item frame.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.