mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 01:24:44 +00:00
Custom Effects and Player Events API
This commit is contained in:
1 parent
f91f9b43ba
commit
5a8246f728
4 files changed
+168
No files matched your search
@@ -0,0 +1,26 @@
|
||||
package noppes.npcs.api.handler.data;
|
||||
|
||||
import noppes.npcs.api.entity.IPlayer;
|
||||
|
||||
public interface IPlayerEffect {
|
||||
|
||||
void kill();
|
||||
|
||||
int getId();
|
||||
|
||||
int getDuration();
|
||||
|
||||
void setDuration(int duration);
|
||||
|
||||
byte getLevel();
|
||||
|
||||
void setLevel(byte level);
|
||||
|
||||
String getName();
|
||||
|
||||
void performEffect(IPlayer player);
|
||||
|
||||
int getIndex();
|
||||
|
||||
void setIndex();
|
||||
}
|
||||
Reference in new issue
Block a user