public class StayCloseToTarget<E extends LivingEntity>
extends Behavior<E>
| bgd | |
| net.minecraft.world.entity.ai.behavior.StayCloseToTarget | |
| net.minecraft.class_7297 | |
| net.minecraft.unmapped.C_xwbaenjp | |
| net.minecraft.entity.ai.brain.task.WalkTowardsLookTargetTask | |
| net.minecraft.entity.ai.brain.task.StayCloseToTargetTask | |
| net.minecraft.src.C_213015_ | |
| net.minecraft.world.entity.ai.behavior.StayCloseToTarget |
Field summary
| Modifier and Type | Field | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| private final Function<LivingEntity, Optional<PositionTracker>> |
| ||||||||||||||
| private final int |
| ||||||||||||||
| private final int |
| ||||||||||||||
| private final float |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (Function<LivingEntity, Optional<PositionTracker>> lookTargetFunction, int completionRange, int searchRange, float speed) |
Method summary
| Modifier and Type | Method | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| protected boolean |
| ||||||||||||||
| protected void |
|