mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-18 13:49:11 +00:00
Add Hook Name to Custom Hooks
This commit is contained in:
1 parent
d6450380c7
commit
76ce22d713
12 files changed
+143
-1
No files matched your search
@@ -2,7 +2,9 @@ package noppes.npcs.api.event;
|
||||
|
||||
public interface ILinkedItemEvent extends IItemEvent {
|
||||
|
||||
// Version Change Event
|
||||
/**
|
||||
* @hookName versionChanged
|
||||
*/
|
||||
interface VersionChangeEvent extends IItemEvent {
|
||||
|
||||
int getVersion();
|
||||
@@ -10,6 +12,9 @@ public interface ILinkedItemEvent extends IItemEvent {
|
||||
int getPreviousVersion();
|
||||
}
|
||||
|
||||
/**
|
||||
* @hookName buildingItem
|
||||
*/
|
||||
interface BuildEvent extends IItemEvent {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user