Types

Link copied to clipboard

Returns the value of propertyName from the block state stored in the minecraft:block_state component.

Link copied to clipboard

Returns the charge type stored in the minecraft:charged_projectiles component.

Link copied to clipboard

Returns the id of the dimension in context, if any.

Link copied to clipboard

Returns the holding entity type, if present.

Link copied to clipboard

Returns the value at index from strings of the minecraft:custom_model_data component.

Link copied to clipboard

Returns the context the item is rendered in.

Link copied to clipboard
class LocalTime(pattern: String, timeZone: String? = null, locale: String = "") : SelectItemModelProperty<String>

Returns the current time in timeZone formatted according to the given pattern

Link copied to clipboard

Returns the main hand of the holding player.

Link copied to clipboard

Returns the value of material from the minecraft:trim component, if present.