public static class PlayerHurtEntityTrigger.Instance extends AbstractCriterionInstance
Constructor and Description |
---|
Instance(DamagePredicate damage,
EntityPredicate entity) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(EntityPlayerMP player,
Entity entity,
DamageSource source,
float dealt,
float taken,
boolean blocked) |
getId, toString
public Instance(DamagePredicate damage, EntityPredicate entity)
public boolean test(EntityPlayerMP player, Entity entity, DamageSource source, float dealt, float taken, boolean blocked)