Class WalkToHouseTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.WalkToHouseTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.longs.Long2LongMap
private long
private final float
private int
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected void
start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
canStillUse, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
speedModifier
private final float speedModifier -
batchCache
private final it.unimi.dsi.fastutil.longs.Long2LongMap batchCache -
triedCount
private int triedCount -
lastUpdate
private long lastUpdate
-
-
Constructor Details
-
WalkToHouseTask
public WalkToHouseTask(float p_i50353_1_)
-
-
Method Details
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditions
in classTask<LivingEntity>
-
start
- Overrides:
start
in classTask<LivingEntity>
-