mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 15:24:47 +00:00
Linked Item API methods
This commit is contained in:
1 parent
3c063d8bc1
commit
253ef73298
2 files changed
+24
-17
No files matched your search
@@ -0,0 +1,21 @@
|
||||
package noppes.npcs.api.handler;
|
||||
|
||||
import noppes.npcs.api.handler.data.ILinkedItem;
|
||||
import noppes.npcs.api.item.IItemStack;
|
||||
import noppes.npcs.controllers.data.LinkedItem;
|
||||
|
||||
public interface ILinkedItemHandler {
|
||||
ILinkedItem createItem(String name);
|
||||
|
||||
IItemStack createItemStack(int id);
|
||||
|
||||
void add(ILinkedItem linkedItem);
|
||||
|
||||
ILinkedItem remove(int id);
|
||||
|
||||
ILinkedItem get(int id);
|
||||
|
||||
boolean contains(int id);
|
||||
|
||||
boolean contains(ILinkedItem linkedItem);
|
||||
}
|
||||
Reference in new issue
Block a user