public static class EntityHurtPlayerTrigger.Instance extends AbstractCriterionInstance
Modifier and Type | Field and Description |
---|---|
private DamagePredicate |
damage |
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
private final DamagePredicate damage
public Instance(DamagePredicate damage)
public boolean test(EntityPlayerMP player, DamageSource source, float amountDealt, float amountTaken, boolean wasBlocked)