Class TargetingConditions
java.lang.Object
net.minecraft.world.entity.ai.targeting.TargetingConditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
static TargetingConditions
private boolean
private static double
private double
private Predicate<LivingEntity>
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
static TargetingConditions
static TargetingConditions
range(double p_26884_)
selector(Predicate<LivingEntity> p_26889_)
boolean
test(LivingEntity p_26886_, LivingEntity p_26887_)
-
Field Details
-
DEFAULT
-
MIN_VISIBILITY_DISTANCE_FOR_INVISIBLE_TARGET
private static final double MIN_VISIBILITY_DISTANCE_FOR_INVISIBLE_TARGET- See Also:
- Constant Field Values
-
isCombat
private final boolean isCombat -
range
private double range -
checkLineOfSight
private boolean checkLineOfSight -
testInvisible
private boolean testInvisible -
selector
-
-
Constructor Details
-
TargetingConditions
private TargetingConditions(boolean p_148351_)
-
-
Method Details
-
forCombat
-
forNonCombat
-
copy
-
range
-
ignoreLineOfSight
-
ignoreInvisibilityTesting
-
selector
-
test
-