public static class KilledTrigger.Instance extends AbstractCriterionInstance
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
public Instance(ResourceLocation criterionIn, EntityPredicate entity, DamageSourcePredicate killingBlow)
public boolean test(EntityPlayerMP player, Entity entity, DamageSource source)