mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 10:49:07 +00:00
Proper Reformating
This commit is contained in:
1 parent
ce75880aba
commit
180d257024
1179 files changed
+59847
-61583
No files matched your search
@@ -6,36 +6,40 @@ import noppes.npcs.roles.JobGuard;
|
||||
import noppes.npcs.scripted.constants.JobType;
|
||||
|
||||
public class ScriptJobGuard extends ScriptJobInterface implements IJobGuard {
|
||||
private JobGuard job;
|
||||
public ScriptJobGuard(EntityNPCInterface npc){
|
||||
super(npc);
|
||||
this.job = (JobGuard) npc.jobInterface;
|
||||
}
|
||||
private JobGuard job;
|
||||
|
||||
public boolean attackCreepers() {
|
||||
return job.attackCreepers;
|
||||
}
|
||||
public void attackCreepers(boolean value) {
|
||||
job.attackCreepers = value;
|
||||
}
|
||||
public ScriptJobGuard(EntityNPCInterface npc) {
|
||||
super(npc);
|
||||
this.job = (JobGuard) npc.jobInterface;
|
||||
}
|
||||
|
||||
public boolean attacksAnimals() {
|
||||
return job.attacksAnimals;
|
||||
}
|
||||
public void attacksAnimals(boolean value) {
|
||||
job.attacksAnimals = value;
|
||||
}
|
||||
public boolean attackCreepers() {
|
||||
return job.attackCreepers;
|
||||
}
|
||||
|
||||
public void attackCreepers(boolean value) {
|
||||
job.attackCreepers = value;
|
||||
}
|
||||
|
||||
public boolean attacksAnimals() {
|
||||
return job.attacksAnimals;
|
||||
}
|
||||
|
||||
public void attacksAnimals(boolean value) {
|
||||
job.attacksAnimals = value;
|
||||
}
|
||||
|
||||
public boolean attackHostileMobs() {
|
||||
return job.attackHostileMobs;
|
||||
}
|
||||
|
||||
public void attackHostileMobs(boolean value) {
|
||||
job.attackHostileMobs = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getType() {
|
||||
return JobType.GUARD;
|
||||
}
|
||||
|
||||
public boolean attackHostileMobs() {
|
||||
return job.attackHostileMobs;
|
||||
}
|
||||
public void attackHostileMobs(boolean value) {
|
||||
job.attackHostileMobs = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getType(){
|
||||
return JobType.GUARD;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user