mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 17:19:05 +00:00
1.7.10 Files
Files added
This commit is contained in:
1 parent
393ea9b463
commit
a31efb2dc3
1768 files changed
+84831
No files matched your search
@@ -0,0 +1,37 @@
|
||||
package noppes.npcs.roles;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
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 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