public class NearestAttackableTargetGoal<T extends LivingEntity>
extends TargetGoal
aqx | |
net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal | |
net.minecraft.class_1400 | |
net.minecraft.entity.ai.goal.FollowTargetGoal | |
net.minecraft.entity.ai.goal.NearestAttackableTargetGoal | |
net.minecraft.server.v1_15_R1.PathfinderGoalNearestAttackableTarget |
Field summary
Modifier and Type | Field | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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, boolean checkCanNavigate) |
public | (Mob mob, Class<T> targetClass, int reciprocalChance, boolean checkVisibility, boolean checkCanNavigate, Predicate<LivingEntity> targetPredicate) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public boolean |
| ||||||||||
protected AABB |
| ||||||||||
protected void |
| ||||||||||
public void |
|