The minecraft:entity_properties
predicate has two new optional fields.
Name | Description | Type | Default Value |
---|---|---|---|
used_item_ticks | Whether the entity has been using an item stack for the specified number of ticks. The target entity must be a living entity. | An optional integer range | |
in_water_or_rain | Whether the entity is submerged in water or standing in rain. | An optional boolean |
{ "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "used_item_ticks": { "min": 10 }, "in_water_or_rain": true } }