mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 23:04:44 +00:00
SwingWarmup API
This commit is contained in:
1 parent
c3dc88bbf8
commit
021a35e25d
1 file changed
+10
@@ -634,6 +634,16 @@ public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T> {
|
||||
*/
|
||||
public void setMeleeRange(int range);
|
||||
|
||||
/**
|
||||
* @return The swing warmup time in ticks
|
||||
*/
|
||||
public int getSwingWarmup();
|
||||
|
||||
/**
|
||||
* @param ticks The amount of time before damage to swing arm
|
||||
*/
|
||||
public void setSwingWarmup(int ticks);
|
||||
|
||||
/**
|
||||
* @return The knockback strength
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user