Class LookTask
- java.lang.Object
-
- net.minecraft.entity.ai.brain.task.Task<MobEntity>
-
- net.minecraft.entity.ai.brain.task.LookTask
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
entryCondition
-
-
Constructor Summary
Constructors Constructor Description LookTask(int p_i50358_1_, int p_i50358_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canStillUse(ServerWorld p_212834_1_, MobEntity p_212834_2_, long p_212834_3_)
protected void
stop(ServerWorld p_212835_1_, MobEntity p_212835_2_, long p_212835_3_)
protected void
tick(ServerWorld p_212833_1_, MobEntity p_212833_2_, long p_212833_3_)
-
Methods inherited from class net.minecraft.entity.ai.brain.task.Task
checkExtraStartConditions, doStop, getStatus, start, tickOrStop, timedOut, toString, tryStart
-
-
-
-
Method Detail
-
canStillUse
protected boolean canStillUse(ServerWorld p_212834_1_, MobEntity p_212834_2_, long p_212834_3_)
- Overrides:
canStillUse
in classTask<MobEntity>
-
stop
protected void stop(ServerWorld p_212835_1_, MobEntity p_212835_2_, long p_212835_3_)
-
tick
protected void tick(ServerWorld p_212833_1_, MobEntity p_212833_2_, long p_212833_3_)
-
-