public static class EntityHurtPlayerTrigger.Instance extends AbstractCriterionInstance
Constructor and Description |
---|
Instance(DamagePredicate damage) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(EntityPlayerMP player,
DamageSource source,
float amountDealt,
float amountTaken,
boolean wasBlocked) |
getId, toString
public Instance(DamagePredicate damage)
public boolean test(EntityPlayerMP player, DamageSource source, float amountDealt, float amountTaken, boolean wasBlocked)