public class ActiveTargetGoal<T extends LivingEntity>
extends TrackTargetGoal
| uy | |
| net.minecraft.class_927 | |
| net.minecraft.entity.ai.goal.ActiveTargetGoal | |
| net.minecraft.entity.ai.EntityAINearestAttackableTarget |
Field summary
| Modifier and Type | Field | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| protected final Class<T> |
| ||||||||
| private final int |
| ||||||||
| protected final ActiveTargetGoal$EntityDistanceComparator |
| ||||||||
| protected final com.google.common.base.Predicate<? super T> |
| ||||||||
| protected T |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (PathFinderMobEntity entity, Class<T> targetType, boolean checkVisibility) |
| public | (PathFinderMobEntity entity, Class<T> targetType, boolean checkVisibility, boolean checkCanNavigate) |
| public | (PathFinderMobEntity entity, Class<T> targetType, int chanceToStartGoal, boolean checkVisibility, boolean checkCanNavigate, com.google.common.base.Predicate<? super T> targetFilter) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public boolean |
| ||||||||
| protected Box |
| ||||||||
| public void |
|