mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 23:04:44 +00:00
New Attack Functions
- Knockback [GET/SET] - Melee Range [GET/SET] - Aggro Range [GET/SET]
This commit is contained in:
1 parent
698c8c7680
commit
a5dcba72db
1 file changed
+30
@@ -624,6 +624,36 @@ public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T> {
|
||||
*/
|
||||
void setMeleeSpeed(int speed);
|
||||
|
||||
/**
|
||||
* @return The melee range
|
||||
*/
|
||||
public int getMeleeRange();
|
||||
|
||||
/**
|
||||
* @param range The melee range
|
||||
*/
|
||||
public void setMeleeRange(int range);
|
||||
|
||||
/**
|
||||
* @return The knockback strength
|
||||
*/
|
||||
public int getKnockback();
|
||||
|
||||
/**
|
||||
* @param knockback The melee range
|
||||
*/
|
||||
public void setKnockback(int knockback);
|
||||
|
||||
/**
|
||||
* @return The aggro range
|
||||
*/
|
||||
public int getAggroRange();
|
||||
|
||||
/**
|
||||
* @param aggroRange The new aggro range
|
||||
*/
|
||||
public void setAggroRange(int aggroRange);
|
||||
|
||||
/**
|
||||
* @return The ranged strength
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user