Class SmootherSwimmingMoveControl
java.lang.Object
net.minecraft.world.entity.ai.control.MoveControl
net.frozenblock.lib.entity.api.behavior.SmootherSwimmingMoveControl
- All Implemented Interfaces:
net.minecraft.world.entity.ai.control.Control
public class SmootherSwimmingMoveControl
extends net.minecraft.world.entity.ai.control.MoveControl
A smoother version of
SmoothSwimmingMoveControl.-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.control.MoveControl
net.minecraft.world.entity.ai.control.MoveControl.Operation -
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.control.MoveControl
MAX_TURN, MIN_SPEED, MIN_SPEED_SQR, mob, operation, speedModifier, strafeForwards, strafeRight, wantedX, wantedY, wantedZ -
Constructor Summary
ConstructorsConstructorDescriptionSmootherSwimmingMoveControl(net.minecraft.world.entity.Mob mob, float maxTurnX, float maxTurnY, float inWaterSpeedModifier, float outsideWaterSpeedModifier, boolean applyGravity) -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.control.MoveControl
getSpeedModifier, getWantedX, getWantedY, getWantedZ, hasWanted, rotlerp, setWantedPosition, strafeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.entity.ai.control.Control
rotateTowards
-
Constructor Details
-
SmootherSwimmingMoveControl
public SmootherSwimmingMoveControl(net.minecraft.world.entity.Mob mob, float maxTurnX, float maxTurnY, float inWaterSpeedModifier, float outsideWaterSpeedModifier, boolean applyGravity)
-
-
Method Details
-
tick
public void tick()- Overrides:
tickin classnet.minecraft.world.entity.ai.control.MoveControl
-