mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 15:24:47 +00:00
Update IAbility.java
This commit is contained in:
1 parent
3f8ccc087f
commit
f383fc3037
1 file changed
+24
-2
@@ -127,15 +127,37 @@ public interface IAbility {
|
||||
void setLockMovementType(int type);
|
||||
|
||||
/**
|
||||
* Check if movement is locked during the WINDUP phase.
|
||||
* Get the lock type for this ability.
|
||||
* @return 0=MOVEMENT, 1=ROTATION, 2=BOTH
|
||||
*/
|
||||
int getLockTypeOrdinal();
|
||||
|
||||
/**
|
||||
* Set the lock type for this ability.
|
||||
* @param type 0=MOVEMENT, 1=ROTATION, 2=BOTH
|
||||
*/
|
||||
void setLockTypeOrdinal(int type);
|
||||
|
||||
/**
|
||||
* Check if movement (pathfinding/motion) is locked during the WINDUP phase.
|
||||
*/
|
||||
boolean isMovementLockedDuringWindup();
|
||||
|
||||
/**
|
||||
* Check if movement is locked during the ACTIVE phase.
|
||||
* Check if movement (pathfinding/motion) is locked during the ACTIVE phase.
|
||||
*/
|
||||
boolean isMovementLockedDuringActive();
|
||||
|
||||
/**
|
||||
* Check if rotation (yaw/pitch) is locked during the WINDUP phase.
|
||||
*/
|
||||
boolean isRotationLockedDuringWindup();
|
||||
|
||||
/**
|
||||
* Check if rotation (yaw/pitch) is locked during the ACTIVE phase.
|
||||
*/
|
||||
boolean isRotationLockedDuringActive();
|
||||
|
||||
/**
|
||||
* Check if this ability is currently being executed.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user