Take Damage While Using Item Criterion. Conditions
public TakeDamageWhileUsingItemCriterion.Conditions TakeDamageWhileUsingItemCriterion.Conditions(Optional<LootContextPredicate> player, Optional<ItemPredicate> item, Optional<DamageSourcePredicate> damageType)(source)
Parameters
player
Predicate matching the player
item
Predicate matching the item the player is using
damage Type
Predicate matching the damage the player took