mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 18:04:30 +00:00
Proper Reformating
This commit is contained in:
1 parent
ce75880aba
commit
180d257024
1179 files changed
+59847
-61583
No files matched your search
@@ -5,33 +5,51 @@ import net.minecraft.nbt.NBTTagCompound;
|
||||
import noppes.npcs.entity.EntityNPCInterface;
|
||||
|
||||
public abstract class JobInterface {
|
||||
public EntityNPCInterface npc;
|
||||
|
||||
public boolean overrideMainHand = false;
|
||||
public boolean overrideOffHand = false;
|
||||
public EntityNPCInterface npc;
|
||||
|
||||
public boolean overrideMainHand = false;
|
||||
public boolean overrideOffHand = false;
|
||||
|
||||
public ItemStack mainhand = null;
|
||||
public ItemStack offhand = null;
|
||||
|
||||
public JobInterface(EntityNPCInterface npc) {
|
||||
this.npc = npc;
|
||||
}
|
||||
|
||||
public abstract NBTTagCompound writeToNBT(NBTTagCompound nbttagcompound);
|
||||
|
||||
public abstract void readFromNBT(NBTTagCompound nbttagcompound);
|
||||
|
||||
public void killed() {
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
public void delete() {
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
public boolean aiShouldExecute() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean aiContinueExecute() {
|
||||
return aiShouldExecute();
|
||||
}
|
||||
|
||||
public void aiStartExecuting() {
|
||||
}
|
||||
|
||||
public void aiUpdateTask() {
|
||||
}
|
||||
|
||||
public void reset() {
|
||||
}
|
||||
|
||||
public void resetTask() {
|
||||
}
|
||||
|
||||
|
||||
public ItemStack mainhand = null;
|
||||
public ItemStack offhand = null;
|
||||
|
||||
public JobInterface(EntityNPCInterface npc){
|
||||
this.npc = npc;
|
||||
}
|
||||
public abstract NBTTagCompound writeToNBT(NBTTagCompound nbttagcompound);
|
||||
public abstract void readFromNBT(NBTTagCompound nbttagcompound);
|
||||
public void killed(){};
|
||||
public void delete(){};
|
||||
|
||||
public boolean aiShouldExecute() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean aiContinueExecute() {
|
||||
return aiShouldExecute();
|
||||
}
|
||||
public void aiStartExecuting() {}
|
||||
public void aiUpdateTask() {}
|
||||
public void reset() {}
|
||||
public void resetTask() {}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user