mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-14 19:04:53 +00:00
27 lines
381 B
Java
27 lines
381 B
Java
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(int index);
|
|
}
|