mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-22 13:09:56 +00:00
Add CNPC+ Api
This commit is contained in:
1 parent
0c4db676e4
commit
95e2f9df01
109 files changed
+7308
No files matched your search
@@ -0,0 +1,34 @@
|
||||
package noppes.npcs.api.jobs;
|
||||
|
||||
import noppes.npcs.api.entity.IPlayer;
|
||||
import noppes.npcs.api.handler.data.IAvailability;
|
||||
import noppes.npcs.api.item.IItemStack;
|
||||
|
||||
public interface IJobItemGiver extends IJob {
|
||||
|
||||
void setCooldown(int cooldown);
|
||||
|
||||
void setCooldownType(int type);
|
||||
|
||||
int getCooldownType();
|
||||
|
||||
void setGivingMethod(int method);
|
||||
|
||||
int getGivingMethod();
|
||||
|
||||
void setLines(String[] lines);
|
||||
|
||||
String[] getLines();
|
||||
|
||||
void setAvailability(IAvailability availability);
|
||||
|
||||
IAvailability getAvailability();
|
||||
|
||||
void setItem(int slot, IItemStack item);
|
||||
|
||||
IItemStack[] getItems();
|
||||
|
||||
boolean giveItems(IPlayer player);
|
||||
|
||||
boolean canPlayerInteract(IPlayer player);
|
||||
}
|
||||
Reference in new issue
Block a user