public class AnimalPanic<E extends PathfinderMob>
extends Behavior<E>
All mapped superinterfaces:
| cix | |
| 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<PathfinderMob, TagKey<DamageType>> |
| ||||||||
| private final Function<E, Vec3> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (float speed) |
| public | (float speed, int startHeight) |
| public | (float speed, Function<PathfinderMob, TagKey<DamageType>> entityToDangerousDamageTypes) |
| public | (float speed, Function<PathfinderMob, TagKey<DamageType>> entityToDangerousDamageTypes, Function<E, Vec3> pathFinder) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| protected boolean |
| ||||||||
| protected boolean |
| ||||||||
| protected void |
| ||||||||
| protected void |
| ||||||||
| protected void |
| ||||||||
| private Vec3 |
| ||||||||
| private Optional<BlockPos> |
|