mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 14:54:43 +00:00
Remove Contexts from Hook Handler
This commit is contained in:
1 parent
339e0f164e
commit
c962f678a4
1 file changed
+2
-10
@@ -16,19 +16,11 @@ import java.util.List;
|
||||
* - "global_npc" - Global NPC scripts editor
|
||||
* - "recipe" - Recipe scripts editor
|
||||
* - "effect" - Custom effect scripts editor
|
||||
*
|
||||
* Note: Context constants are deprecated. Use ScriptContext.XXX.hookContext instead.
|
||||
*/
|
||||
public interface IScriptHookHandler {
|
||||
|
||||
// Context constants
|
||||
String CONTEXT_NPC = "npc";
|
||||
String CONTEXT_PLAYER = "player";
|
||||
String CONTEXT_BLOCK = "block";
|
||||
String CONTEXT_ITEM = "item";
|
||||
String CONTEXT_LINKED_ITEM = "linked_item";
|
||||
String CONTEXT_FORGE = "forge";
|
||||
String CONTEXT_RECIPE = "recipe";
|
||||
String CONTEXT_EFFECT = "effect";
|
||||
|
||||
/**
|
||||
* Register a hook for a single context.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user