mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 23:04:44 +00:00
Linked Item Push
This commit is contained in:
1 parent
73b263c69d
commit
eb1b259134
2 files changed
+56
No files matched your search
@@ -0,0 +1,52 @@
|
||||
package noppes.npcs.api.handler.data;
|
||||
|
||||
public interface ILinkedItem {
|
||||
|
||||
int getId();
|
||||
|
||||
void setId(int id);
|
||||
|
||||
int getVersion();
|
||||
|
||||
void setVersion(int version);
|
||||
|
||||
String getName();
|
||||
|
||||
void setName(String name);
|
||||
|
||||
double getDurabilityValue();
|
||||
|
||||
void setDurabilityValue(double durabilityValue);
|
||||
|
||||
int getStackSize();
|
||||
|
||||
void setStackSize(int stackSize);
|
||||
|
||||
int getMaxItemUseDuration();
|
||||
|
||||
void setMaxItemUseDuration(int maxItemUseDuration);
|
||||
|
||||
int getItemUseAction();
|
||||
|
||||
void setItemUseAction(int itemUseAction);
|
||||
|
||||
boolean isNormalItem();
|
||||
|
||||
void setNormalItem(boolean normalItem);
|
||||
|
||||
boolean isTool();
|
||||
|
||||
void setTool(boolean tool);
|
||||
|
||||
int getDigSpeed();
|
||||
|
||||
void setDigSpeed(int digSpeed);
|
||||
|
||||
int getArmorType();
|
||||
|
||||
void setArmorType(int armorType);
|
||||
|
||||
int getEnchantability();
|
||||
|
||||
void setEnchantability(int enchantability);
|
||||
}
|
||||
@@ -1,5 +1,9 @@
|
||||
package noppes.npcs.api.item;
|
||||
|
||||
import noppes.npcs.api.handler.data.ILinkedItem;
|
||||
|
||||
public interface IItemLinked extends IItemCustomizable {
|
||||
|
||||
public ILinkedItem getLinkedItem();
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user