mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 18:24:44 +00:00
New AimType
This commit is contained in:
1 parent
dfa15687d0
commit
b3031b2f71
1 file changed
+16
@@ -473,6 +473,7 @@ public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T>,
|
||||
*
|
||||
* @return true if aiming while shooting is enabled, false otherwise.
|
||||
*/
|
||||
@Deprecated
|
||||
boolean canAimWhileShooting();
|
||||
|
||||
/**
|
||||
@@ -480,8 +481,23 @@ public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T>,
|
||||
*
|
||||
* @param aimWhileShooting true to enable aiming, false to disable.
|
||||
*/
|
||||
@Deprecated
|
||||
void aimWhileShooting(boolean aimWhileShooting);
|
||||
|
||||
/**
|
||||
* Sets the Aim Type for an NPC
|
||||
*
|
||||
* @param aimWhileShooting 0: No, 1: Yes, 2: On Shot
|
||||
*/
|
||||
void setAimType(byte aimWhileShooting);
|
||||
|
||||
/**
|
||||
* Gets the Aim Type for an NPC
|
||||
*
|
||||
* @return 0: No, 1: Yes, 2: On Shot
|
||||
*/
|
||||
byte getAimType();
|
||||
|
||||
/**
|
||||
* Sets the minimum delay (in ticks) between projectiles.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user