public class FleeTask<E extends PathAwareEntity>
extends MultiTickTask<E>
All mapped superinterfaces:
| net.minecraft.world.entity.ai.behavior.AnimalPanic | |
| net.minecraft.class_6028 | |
| net.minecraft.entity.ai.brain.task.FleeTask |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private static final int |
|
||||||
| private static final int |
|
||||||
| private static final int |
|
||||||
| private static final int |
|
||||||
| private final float |
|
||||||
| private final Function<PathAwareEntity, TagKey<DamageType>> |
|
||||||
| private final Function<E, Vec3d> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (float speed) |
| public | (float speed, int startHeight) |
| public | (float speed, Function<PathAwareEntity, TagKey<DamageType>> entityToDangerousDamageTypes) |
| public | (float speed, Function<PathAwareEntity, TagKey<DamageType>> entityToDangerousDamageTypes, Function<E, Vec3d> pathFinder) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| protected boolean |
|
||||||
| protected boolean |
|
||||||
| protected void |
|
||||||
| protected void |
|
||||||
| protected void |
|
||||||
| private Vec3d |
|
||||||
| private Optional<BlockPos> |
|
||||||
| protected boolean |
|
||||||
| protected boolean |
|
||||||
| protected void |
|
||||||
| protected void |
|
||||||
| protected void |
|
||||||
| private static boolean |
|
||||||
| private static boolean |
|
||||||
| private static boolean |
|
||||||
| private Boolean |
|
||||||
| private static Vec3d |
|
||||||
| private static Vec3d |
|
||||||
| private static TagKey |
|
||||||
| private static Vec3d |
|
||||||
| private static TagKey |
|