Class SwimTask
-
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canStillUse
(ServerWorld p_212834_1_, MobEntity p_212834_2_, long p_212834_3_) protected boolean
checkExtraStartConditions
(ServerWorld p_212832_1_, MobEntity p_212832_2_) protected void
tick
(ServerWorld p_212833_1_, MobEntity p_212833_2_, long p_212833_3_)
-
Field Details
-
chance
private final float chance
-
-
Constructor Details
-
SwimTask
public SwimTask(float p_i231540_1_)
-
-
Method Details
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditions
in classTask<MobEntity>
-
canStillUse
- Overrides:
canStillUse
in classTask<MobEntity>
-
tick
-