public static class KilledTrigger.Instance extends AbstractCriterionInstance
Modifier and Type | Field and Description |
---|---|
private EntityPredicate |
entity |
private DamageSourcePredicate |
killingBlow |
Constructor and Description |
---|
Instance(ResourceLocation criterionIn,
EntityPredicate entity,
DamageSourcePredicate killingBlow) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(EntityPlayerMP player,
Entity entity,
DamageSource source) |
getId, toString
private final EntityPredicate entity
private final DamageSourcePredicate killingBlow
public Instance(ResourceLocation criterionIn, EntityPredicate entity, DamageSourcePredicate killingBlow)
public boolean test(EntityPlayerMP player, Entity entity, DamageSource source)