public class NearestAttackableTargetGoal<T extends LivingEntity>
extends TargetGoal
bmr | |
net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal | |
net.minecraft.class_1400 | |
net.minecraft.unmapped.C_rxeqeznw | |
net.minecraft.entity.ai.goal.ActiveTargetGoal | |
net.minecraft.entity.ai.goal.TargetGoal | |
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, 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) |
Method summary
Modifier and Type | Method | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
public boolean |
| ||||||||||||||
protected AABB |
| ||||||||||||||
protected void |
| ||||||||||||||
public void |
| ||||||||||||||
public void |
|