mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-23 21:49:59 +00:00
Fixed / Improved Track Speed Handling on NPCs
This commit is contained in:
1 parent
6faa544f6f
commit
c46ca50683
1 file changed
+6
-6
@@ -191,17 +191,17 @@ public interface IAbility extends IAbilityAction {
|
|||||||
void setRotationPhaseType(int type);
|
void setRotationPhaseType(int type);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get track delay for TRACK rotation mode.
|
* Get track speed for TRACK rotation mode (blocks/second).
|
||||||
* 0 = instant tracking (legacy). Higher values = slower lerp toward target.
|
* 0 = instant tracking. Comparable to player sprint speed (~5.6 blocks/sec).
|
||||||
*/
|
*/
|
||||||
float getTrackDelayValue();
|
float getTrackSpeedValue();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set track delay for TRACK rotation mode.
|
* Set track speed for TRACK rotation mode (blocks/second).
|
||||||
*
|
*
|
||||||
* @param delay 0 = instant tracking. Higher values = slower lerp toward target.
|
* @param speed 0 = instant tracking. ~4 = dodgeable while sprinting. ~6 = barely undodgeable.
|
||||||
*/
|
*/
|
||||||
void setTrackDelayValue(float delay);
|
void setTrackSpeedValue(float speed);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if movement (pathfinding/motion) is locked during the WINDUP phase.
|
* Check if movement (pathfinding/motion) is locked during the WINDUP phase.
|
||||||
|
|||||||
Reference in new issue
Block a user