Conditions
data class Conditions(val player: Optional<LootContextPredicate>, val item: Optional<ItemPredicate>, val damageType: Optional<DamageSourcePredicate>) : AbstractCriterion.Conditions(source)
Conditions of TakeDamageWhileUsingItemCriterion.
Parameters
player
Predicate matching the player
item
Predicate matching the item the player is using
damage Type
Predicate matching the damage the player took
Constructors
Link copied to clipboard
constructor(player: Optional<LootContextPredicate>, item: Optional<ItemPredicate>, damageType: Optional<DamageSourcePredicate>)