mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 16:55:15 +00:00
Update API and Cleanup Unused Code
This commit is contained in:
1 parent
27a41e3a8e
commit
b28a7a5c4d
33 files changed
+592
-32
No files matched your search
@@ -6,20 +6,24 @@ package noppes.npcs.api.ability;
|
||||
*/
|
||||
public interface IAbilityAction {
|
||||
|
||||
/** @return The unique identifier/name of this action. */
|
||||
String getName();
|
||||
|
||||
/** @return Whether this action is enabled. */
|
||||
boolean isEnabled();
|
||||
|
||||
/** @return Selection weight for random ability selection (higher = more likely). */
|
||||
int getWeight();
|
||||
|
||||
/** @return Cooldown duration in ticks after this action is used. */
|
||||
int getCooldownTicks();
|
||||
|
||||
/** @return Minimum range in blocks at which this action can be used. */
|
||||
float getMinRange();
|
||||
|
||||
/** @return Maximum range in blocks at which this action can be used. */
|
||||
float getMaxRange();
|
||||
|
||||
/**
|
||||
* Whether this action is a chained ability (sequence) vs an individual ability.
|
||||
*/
|
||||
/** @return Whether this action is a chained ability (sequence) vs an individual ability. */
|
||||
boolean isChain();
|
||||
}
|
||||
Reference in new issue
Block a user