ConditionItemModelProperty
Types
Returns true
if the item is damageable and has only one use remaining before breaking.
Returns true
if the bundle is "open", i.e. it has a selected item visible in the GUI.
Returns true
if the item is currently on the mouse cursor.
Returns the value from index in flags
of the minecraft:custom_model_data
component.
Returns true
if the item is damageable and has any amount of damage.
Returns true
if the player has requested extended details by holding the shift key down. Only works for items displayed in the GUI. Not a keybind, can't be rebound.
Returns true
if the item is a fishing rod that is currently cast.
Returns true
if a dataComponent identified by component is present on the item. To interpret default components as "no component", set ignoreDefault to true
.
Returns true
if the player is currently holding the keybind keybind.
Returns true
if the item is selected in the hotbar.
Returns true
if the player is currently using this item.