Custom Effects and Player Events API

This commit is contained in:
Kam committed 2025-02-10 14:26:22 -05:00
1 parent f91f9b43ba
commit 5a8246f728
4 files changed
+168

No files matched your search

@@ -0,0 +1,58 @@
package noppes.npcs.api.handler.data;
public interface ICustomEffect {
int getID();
String getName();
boolean isCustom();
void setMenuName(String name);
String getMenuName();
void setName(String name);
String getIcon();
void setIcon(String icon);
int getEveryXTick();
void setEveryXTick(int everyXTick);
int getIconX();
void setIconX(int iconX);
int getIconY();
void setIconY(int iconY);
int getWidth();
void setWidth(int width);
int getHeight();
void setHeight(int height);
boolean isLossOnDeath();
void setLossOnDeath(boolean lossOnDeath);
ICustomEffect save();
void setID(int id);
/**
* Utilized by DBC Addon or other Addons to tell
* which map of Effects to Match to.
* Index: 0 - CNPC+
* Index: 1 - DBC Addon
*/
int getIndex();
}