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

    Constructors
    Constructor
    Description
    SmootherSwimmingMoveControl(net.minecraft.world.entity.Mob mob, float maxTurnX, float maxTurnY, float inWaterSpeedModifier, float outsideWaterSpeedModifier, boolean applyGravity)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class net.minecraft.world.entity.ai.control.MoveControl

    getSpeedModifier, getWantedX, getWantedY, getWantedZ, hasWanted, rotlerp, setWantedPosition, strafe

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      tick in class net.minecraft.world.entity.ai.control.MoveControl