mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-11 23:07:37 +00:00
Commenting out Fly Changes for Build
This commit is contained in:
1 parent
f9bdc66956
commit
65eeca72cf
2 files changed
+11
-11
No files matched your search
@@ -34,7 +34,7 @@ public class DataAI {
|
||||
public int tacticalRadius = 8;
|
||||
|
||||
// Fly Change
|
||||
public int movementType = 0;
|
||||
// public int movementType = 0;
|
||||
|
||||
public EnumAnimation animationType = EnumAnimation.NONE;
|
||||
public EnumStandingType standingType = EnumStandingType.RotateBody;
|
||||
|
||||
@@ -163,8 +163,8 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
|
||||
public boolean updateAI = false;
|
||||
|
||||
// Fly Change
|
||||
protected EntityMoveHelper moveHelper;
|
||||
protected PathNavigate navigator;
|
||||
// protected EntityMoveHelper moveHelper;
|
||||
// protected PathNavigate navigator;
|
||||
|
||||
public EntityNPCInterface(World world) {
|
||||
super(world);
|
||||
@@ -603,15 +603,15 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
|
||||
this.targetTasks.addTask(4, new EntityAIOwnerHurtTarget(this));
|
||||
|
||||
|
||||
if(canFly()){
|
||||
this.moveHelper = new FlyingMoveHelper(this);
|
||||
this.navigator = new PathNavigateFlying(this, worldObj);
|
||||
}
|
||||
else{
|
||||
this.moveHelper = new EntityMoveHelper(this);
|
||||
this.navigator = new PathNavigateGround(this, worldObj);
|
||||
// if(canFly()){
|
||||
// this.moveHelper = new FlyingMoveHelper(this);
|
||||
// this.navigator = new PathNavigateFlying(this, worldObj);
|
||||
// }
|
||||
// else{
|
||||
// this.moveHelper = new EntityMoveHelper(this);
|
||||
// this.navigator = new PathNavigateGround(this, worldObj);
|
||||
this.tasks.addTask(0, new EntityAIWaterNav(this));
|
||||
}
|
||||
// }
|
||||
// this.tasks.addTask(0, new EntityAIWaterNav(this));
|
||||
this.taskCount = 1;
|
||||
this.doorInteractType();
|
||||
|
||||
Reference in new issue
Block a user