public class NearestAttackableTargetGoal<T extends LivingEntity>
extends TargetGoal
| cnm | |
| net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal | |
| net.minecraft.class_1400 | |
| net.minecraft.entity.ai.goal.ActiveTargetGoal | |
| net.minecraft.src.C_738_ | |
| net.minecraft.world.entity.ai.goal.target.PathfinderGoalNearestAttackableTarget |
Field summary
| Modifier and Type | Field | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| private static final int |
| ||||||||||
| protected final Class<T> |
| ||||||||||
| protected final int |
| ||||||||||
| protected LivingEntity |
| ||||||||||
| protected TargetingConditions |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (Mob mob, Class<T> targetClass, boolean checkVisibility) |
| public | (Mob mob, Class<T> targetClass, boolean checkVisibility, TargetingConditions$Selector predicate) |
| public | (Mob mob, Class<T> targetClass, boolean checkVisibility, boolean checkCanNavigate) |
| public | (Mob mob, Class<T> targetClass, int reciprocalChance, boolean checkVisibility, boolean checkCanNavigate, TargetingConditions$Selector targetPredicate) |
Method summary
| Modifier and Type | Method | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public boolean |
| ||||||||||
| protected AABB |
| ||||||||||
| protected void |
| ||||||||||
| public void |
| ||||||||||
| public void |
| ||||||||||
| private TargetingConditions |
|