Take Damage While Using Item Criterion
public final class TakeDamageWhileUsingItemCriterion extends AbstractCriterion<TakeDamageWhileUsingItemCriterion.Conditions>(source)
A fusion criterion between UsingItemCriterion and EntityHurtPlayerCriterion.
Types
Link copied to clipboard
Conditions of TakeDamageWhileUsingItemCriterion.
Inherited functions
Link copied to clipboard
public final Unit beginTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<TakeDamageWhileUsingItemCriterion.Conditions> conditions)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Unit endTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<TakeDamageWhileUsingItemCriterion.Conditions> conditions)
Link copied to clipboard
protected Unit trigger(ServerPlayerEntity player, Predicate<TakeDamageWhileUsingItemCriterion.Conditions> predicate)