static class GuardianEntity.TargetPredicate extends java.lang.Object implements java.util.function.Predicate<LivingEntity>
Modifier and Type | Field and Description |
---|---|
private GuardianEntity |
parentEntity |
Constructor and Description |
---|
TargetPredicate(GuardianEntity guardian) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(LivingEntity p_test_1_) |
private final GuardianEntity parentEntity
public TargetPredicate(GuardianEntity guardian)
public boolean test(@Nullable LivingEntity p_test_1_)
test
in interface java.util.function.Predicate<LivingEntity>