Class SmoothBodyControl

java.lang.Object
net.minecraft.world.entity.ai.control.BodyRotationControl
nokunami.floral_warfare.common.entity.ai.control.SmoothBodyControl
All Implemented Interfaces:
net.minecraft.world.entity.ai.control.Control

public class SmoothBodyControl extends net.minecraft.world.entity.ai.control.BodyRotationControl
Based on @lgh877's codes:link
  • Constructor Details

    • SmoothBodyControl

      public SmoothBodyControl(BasePlant mob)
  • Method Details

    • clientTick

      public void clientTick()
      Overrides:
      clientTick in class net.minecraft.world.entity.ai.control.BodyRotationControl
    • approach

      public static float approach(float target, float current, float limit)