public class FleeEntityGoal<T extends LivingEntity>
extends Goal
| net.minecraft.world.entity.ai.goal.AvoidEntityGoal | |
| net.minecraft.class_1338 | |
| net.minecraft.entity.ai.goal.FleeEntityGoal |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| protected final PathAwareEntity |
|
||||||
| private final double |
|
||||||
| private final double |
|
||||||
| protected T |
|
||||||
| protected final float |
|
||||||
| protected Path |
|
||||||
| protected final EntityNavigation |
|
||||||
| protected final Class<T> |
|
||||||
| protected final Predicate<? super LivingEntity> |
|
||||||
| protected final Predicate<? super LivingEntity> |
|
||||||
| private final TargetPredicate |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (PathAwareEntity mob, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed) |
| public | (PathAwareEntity mob, Class<T> fleeFromType, Predicate<LivingEntity> extraInclusionSelector, float distance, double slowSpeed, double fastSpeed, Predicate<? super LivingEntity> inclusionSelector) |
| public | (PathAwareEntity fleeingEntity, Class<T> classToFleeFrom, float fleeDistance, double fleeSlowSpeed, double fleeFastSpeed, Predicate<? super LivingEntity> inclusionSelector) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public boolean |
|
||||||
| public boolean |
|
||||||
| public void |
|
||||||
| public void |
|
||||||
| public void |
|
||||||
| private static boolean |
|
||||||
| private static boolean |
|
||||||
| private static boolean |
|
||||||
| private static boolean |
|