mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 14:54:43 +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,55 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by FernFlower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.api.handler.data;
|
||||
|
||||
import noppes.npcs.api.entity.ICustomNpc;
|
||||
import noppes.npcs.api.entity.IPlayer;
|
||||
|
||||
public interface IFaction {
|
||||
int getId();
|
||||
|
||||
String getName();
|
||||
|
||||
void setName(String name);
|
||||
|
||||
void setDefaultPoints(int var1);
|
||||
|
||||
int getDefaultPoints();
|
||||
|
||||
void setFriendlyPoints(int p);
|
||||
|
||||
int getFriendlyPoints();
|
||||
|
||||
void setNeutralPoints(int p);
|
||||
|
||||
int getNeutralPoints();
|
||||
|
||||
void setColor(int c);
|
||||
|
||||
int getColor();
|
||||
|
||||
int playerStatus(IPlayer player);
|
||||
|
||||
boolean isAggressiveToNpc(ICustomNpc npc);
|
||||
|
||||
boolean getIsHidden();
|
||||
|
||||
void setIsHidden(boolean hidden);
|
||||
|
||||
boolean attackedByMobs();
|
||||
|
||||
void setAttackedByMobs(boolean attacked);
|
||||
|
||||
boolean isEnemyFaction(IFaction faction);
|
||||
|
||||
IFaction[] getEnemyFactions();
|
||||
|
||||
void addEnemyFaction(IFaction faction);
|
||||
|
||||
void removeEnemyFaction(IFaction faction);
|
||||
|
||||
void save();
|
||||
}
|
||||
Reference in new issue
Block a user