Class HuntCelebrationTask<E extends MobEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<E>
net.minecraft.entity.ai.brain.task.HuntCelebrationTask<E>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final float
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static BlockPos
getCelebrateLocation
(MobEntity p_233899_0_) private static BlockPos
getNearbyPos
(MobEntity p_233900_0_, BlockPos p_233900_1_) private static int
getRandomOffset
(Random p_233901_0_) protected void
start
(ServerWorld p_212831_1_, MobEntity p_212831_2_, long p_212831_3_) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
canStillUse, checkExtraStartConditions, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
closeEnoughDist
private final int closeEnoughDist -
speedModifier
private final float speedModifier
-
-
Constructor Details
-
HuntCelebrationTask
public HuntCelebrationTask(int p_i231518_1_, float p_i231518_2_)
-
-
Method Details