public class PrepareRamTask<E extends PathAwareEntity>
extends MultiTickTask<E>
All mapped superinterfaces:
| net.minecraft.world.entity.ai.behavior.PrepareRamNearestTarget | |
| net.minecraft.class_6336 | |
| net.minecraft.entity.ai.brain.task.PrepareRamTask |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| public static final int |
|
||||||
| private final ToIntFunction<E> |
|
||||||
| private final int |
|
||||||
| private final int |
|
||||||
| private final float |
|
||||||
| private final TargetPredicate |
|
||||||
| private final int |
|
||||||
| private final Function<E, SoundEvent> |
|
||||||
| private Optional<Long> |
|
||||||
| private Optional<PrepareRamTask$Ram> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (ToIntFunction<E> cooldownFactory, int minDistance, int maxDistance, float speed, TargetPredicate targetPredicate, int prepareTime, Function<E, SoundEvent> soundFactory) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| protected void |
|
||||||
| protected void |
|
||||||
| protected boolean |
|
||||||
| protected void |
|
||||||
| private Vec3d |
|
||||||
| private Optional<BlockPos> |
|
||||||
| private boolean |
|
||||||
| private void |
|
||||||
| protected boolean |
|
||||||
| protected void |
|
||||||
| protected void |
|
||||||
| protected void |
|
||||||
| private static PrepareRamTask$Ram |
|
||||||
| private static boolean |
|
||||||
| private void |
|
||||||
| private Optional |
|
||||||
| private boolean |
|