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
-
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, strafe
-
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
-