public class NearestAttackableTargetGoal<T extends LivingEntity>
extends TargetGoal
| bkh | |
| 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 |
字段概要
| 修饰符与类型 | 字段 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| private static final int |
| ||||||||||
| protected final Class<T> |
| ||||||||||
| protected final int |
| ||||||||||
| protected LivingEntity |
| ||||||||||
| protected TargetingConditions |
|
构造函数概要
| 修饰符 | 构造函数 |
|---|---|
| public | (Mob mob, Class<T> targetClass, boolean checkVisibility) |
| public | (Mob mob, Class<T> targetClass, boolean checkVisibility, Predicate<LivingEntity> targetPredicate) |
| public | (Mob mob, Class<T> targetClass, boolean checkVisibility, boolean checkCanNavigate) |
| public | (Mob mob, Class<T> targetClass, int reciprocalChance, boolean checkVisibility, boolean checkCanNavigate, Predicate<LivingEntity> targetPredicate) |
方法概要
| 修饰符与类型 | 方法 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public boolean |
| ||||||||||
| protected AABB |
| ||||||||||
| protected void |
| ||||||||||
| public void |
| ||||||||||
| public void |
|