Class RandomSwim
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<PathfinderMob>
net.minecraft.world.entity.ai.behavior.RandomStroll
net.minecraft.world.entity.ai.behavior.RandomSwim
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status -
Field Summary
FieldsFields inherited from class net.minecraft.world.entity.ai.behavior.RandomStroll
maxHorizontalDistance, maxVerticalDistanceFields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
entryCondition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckExtraStartConditions(ServerLevel p_147858_, PathfinderMob p_147859_) protected Vec3getTargetPos(PathfinderMob p_147861_) Methods inherited from class net.minecraft.world.entity.ai.behavior.RandomStroll
startMethods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
XY_DISTANCE_TIERS
public static final int[][] XY_DISTANCE_TIERS
-
-
Constructor Details
-
RandomSwim
public RandomSwim(float p_147853_)
-
-
Method Details
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditionsin classRandomStroll
-
getTargetPos
- Overrides:
getTargetPosin classRandomStroll
-