mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 05:15:12 +00:00
A lot of GOOD API DOCUMENTATION
This commit is contained in:
1 parent
a6c55ca331
commit
319e774518
131 files changed
+3363
-175
No files matched your search
@@ -17,17 +17,25 @@ public interface IAbilityHandler {
|
||||
|
||||
/**
|
||||
* Check if an ability type is registered.
|
||||
*
|
||||
* @param typeId the type ID to check
|
||||
* @return true if registered
|
||||
*/
|
||||
boolean hasType(String typeId);
|
||||
|
||||
/**
|
||||
* Get all registered ability type IDs.
|
||||
*
|
||||
* @return array of registered type IDs
|
||||
*/
|
||||
String[] getTypes();
|
||||
|
||||
/**
|
||||
* Create a new ability of the given type.
|
||||
* Returns null if the type is not registered.
|
||||
*
|
||||
* @param typeId the type ID
|
||||
* @return the new ability, or null
|
||||
*/
|
||||
IAbility create(String typeId);
|
||||
|
||||
|
||||
Reference in new issue
Block a user