mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 22:45:12 +00:00
Attack Speed API
This commit is contained in:
1 parent
305a3778c8
commit
d003d6d870
2 files changed
+14
No files matched your search
@@ -61,6 +61,13 @@ public interface IItemCustom extends IItemCustomizable {
|
||||
*/
|
||||
void setItemUseAction(int action);
|
||||
|
||||
/**
|
||||
* Sets the attack speed for the scripted item.
|
||||
* Speed is the max resistantance time between two attacks in ticks.
|
||||
* @param speed The attack speed
|
||||
*/
|
||||
void setAttackSpeed(int speed);
|
||||
|
||||
/**
|
||||
* Sets the enchantability for the scripted item.
|
||||
* @param enchantability The enchantability
|
||||
|
||||
Reference in new issue
Block a user