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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic floatapproach(float target, float current, float limit) void
-
Constructor Details
-
SmoothBodyControl
-
-
Method Details
-
clientTick
public void clientTick()- Overrides:
clientTickin classnet.minecraft.world.entity.ai.control.BodyRotationControl
-
approach
public static float approach(float target, float current, float limit)
-