Package net.minecraft.entity.monster
Class GuardianEntity.TargetPredicate
- java.lang.Object
-
- net.minecraft.entity.monster.GuardianEntity.TargetPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<LivingEntity>
- Enclosing class:
- GuardianEntity
static class GuardianEntity.TargetPredicate extends java.lang.Object implements java.util.function.Predicate<LivingEntity>
-
-
Field Summary
Fields Modifier and Type Field Description private GuardianEntity
guardian
-
Constructor Summary
Constructors Constructor Description TargetPredicate(GuardianEntity p_i45832_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(LivingEntity p_test_1_)
-
-
-
Field Detail
-
guardian
private final GuardianEntity guardian
-
-
Constructor Detail
-
TargetPredicate
public TargetPredicate(GuardianEntity p_i45832_1_)
-
-
Method Detail
-
test
public boolean test(@Nullable LivingEntity p_test_1_)
- Specified by:
test
in interfacejava.util.function.Predicate<LivingEntity>
-
-