mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 06:09:05 +00:00
Full Imports and Code Format Optimization
This commit is contained in:
1 parent
250edf099c
commit
6815f579a7
1192 files changed
+60344
-62167
No files matched your search
@@ -8,32 +8,33 @@ import noppes.npcs.scripted.NpcAPI;
|
||||
import noppes.npcs.scripted.constants.JobType;
|
||||
|
||||
public class ScriptJobInterface implements IJob {
|
||||
public final EntityNPCInterface npc;
|
||||
public final JobInterface jobInterface;
|
||||
public final EntityNPCInterface npc;
|
||||
public final JobInterface jobInterface;
|
||||
|
||||
public ScriptJobInterface(JobInterface jobInterface) {
|
||||
this.npc = null;
|
||||
this.jobInterface = jobInterface;
|
||||
}
|
||||
public ScriptJobInterface(JobInterface jobInterface) {
|
||||
this.npc = null;
|
||||
this.jobInterface = jobInterface;
|
||||
}
|
||||
|
||||
public ScriptJobInterface(EntityNPCInterface npc){
|
||||
this.npc = npc;
|
||||
this.jobInterface = npc.jobInterface;
|
||||
}
|
||||
/**
|
||||
* @see noppes.npcs.scripted.constants.JobType
|
||||
* @return Returns the JobType
|
||||
*/
|
||||
public int getType(){
|
||||
return JobType.UNKNOWN;
|
||||
}
|
||||
public ScriptJobInterface(EntityNPCInterface npc) {
|
||||
this.npc = npc;
|
||||
this.jobInterface = npc.jobInterface;
|
||||
}
|
||||
|
||||
public JobInterface getJobInterface() {
|
||||
return jobInterface;
|
||||
}
|
||||
/**
|
||||
* @return Returns the JobType
|
||||
* @see noppes.npcs.scripted.constants.JobType
|
||||
*/
|
||||
public int getType() {
|
||||
return JobType.UNKNOWN;
|
||||
}
|
||||
|
||||
public ICustomNpc getNpc() {
|
||||
return (ICustomNpc) NpcAPI.Instance().getIEntity(npc);
|
||||
}
|
||||
public JobInterface getJobInterface() {
|
||||
return jobInterface;
|
||||
}
|
||||
|
||||
public ICustomNpc getNpc() {
|
||||
return (ICustomNpc) NpcAPI.Instance().getIEntity(npc);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user