mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 12:15:13 +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
@@ -8,14 +8,23 @@ public interface IForgeEvent extends ICustomNPCsEvent {
|
||||
|
||||
Event getEvent();
|
||||
|
||||
/**
|
||||
* @hookName forgeWorld
|
||||
*/
|
||||
interface WorldEvent extends IForgeEvent {
|
||||
IWorld getWorld();
|
||||
}
|
||||
|
||||
/**
|
||||
* @hookName forgeEntity
|
||||
*/
|
||||
interface EntityEvent extends IForgeEvent {
|
||||
IEntity getEntity();
|
||||
}
|
||||
|
||||
/**
|
||||
* @hookName forgeInit
|
||||
*/
|
||||
interface InitEvent extends IForgeEvent {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user