public class FollowTargetGoal<T extends LivingEntity>
extends TrackTargetGoal
| aoy | |
| net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal | |
| net.minecraft.class_1400 | |
| net.minecraft.entity.ai.goal.FollowTargetGoal | |
| net.minecraft.unmapped.C_rxeqeznw | |
| net.minecraft.entity.ai.goal.ActiveTargetGoal | |
| net.minecraft.entity.ai.goal.NearestAttackableTargetGoal | |
| net.minecraft.entity.ai.goal.NearestAttackableTargetGoal |
Field summary
| Modifier and Type | Field | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| protected final Class<T> |
| ||||||||||||||||
| protected final int |
| ||||||||||||||||
| protected LivingEntity |
| ||||||||||||||||
| protected TargetPredicate |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (MobEntity mob, Class<T> targetClass, boolean checkVisibility) |
| public | (MobEntity mob, Class<T> targetClass, boolean checkVisibility, boolean checkCanNavigate) |
| public | (MobEntity mob, Class<T> targetClass, int reciprocalChance, boolean checkVisibility, boolean checkCanNavigate, Predicate<LivingEntity> targetPredicate) |
Method summary
| Modifier and Type | Method | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public boolean |
| ||||||||||||||||
| protected Box |
| ||||||||||||||||
| protected void |
| ||||||||||||||||
| public void |
|