public class PrepareRamNearestTarget<E extends PathfinderMob>
extends Behavior<E>
All mapped superinterfaces:
| cks | |
| 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 TargetingConditions |
| ||||||||
| private final int |
| ||||||||
| private final Function<E, SoundEvent> |
| ||||||||
| private Optional<Long> |
| ||||||||
| private Optional<PrepareRamNearestTarget$RamCandidate> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (ToIntFunction<E> cooldownFactory, int minDistance, int maxDistance, float speed, TargetingConditions targetPredicate, int prepareTime, Function<E, SoundEvent> soundFactory) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| protected void |
| ||||||||
| protected void |
| ||||||||
| protected boolean |
| ||||||||
| protected void |
| ||||||||
| private Vec3 |
| ||||||||
| private Optional<BlockPos> |
| ||||||||
| private boolean |
| ||||||||
| private void |
|