private void switchNavigator(boolean inSand) { if (inSand) { this.moveHelper = new EntityDeathWorm.SandMoveHelper(); this.navigator = new PathNavigateDeathWormSand(this, world); this.isSandNavigator = true; } else { this.moveHelper = new EntityMoveHelper(this); this.navigator = new PathNavigateDeathWormLand(this, world); this.isSandNavigator = false; } }
private void switchNavigator(boolean onLand) { if (onLand) { this.moveHelper = new EntityMoveHelper(this); this.navigator = new PathNavigateClimber(this, world); this.isLandNavigator = true; } else { this.moveHelper = new EntityMyrmexRoyal.FlyMoveHelper(this); this.navigator = new PathNavigateFlying(this, world); this.isLandNavigator = false; } }
private void switchNavigator(boolean onLand) { if (onLand) { this.moveHelper = new EntityMoveHelper(this); this.navigator = new PathNavigateAmphibious(this, world); this.isLandNavigator = true; } else { this.moveHelper = new EntitySiren.SwimmingMoveHelper(); this.navigator = new PathNavigateSwimmer(this, world); this.isLandNavigator = false; } }
private void switchNavigator(boolean onLand) { if (onLand) { this.moveHelper = new EntityMoveHelper(this); this.navigator = new PathNavigateClimber(this, world); this.isLandNavigator = true; } else { this.moveHelper = new EntityAmphithere.FlyMoveHelper(this); this.navigator = new PathNavigateFlyingCreature(this, world); this.isLandNavigator = false; } }
private void switchNavigator(boolean onLand) { if (onLand) { this.moveHelper = new EntityMoveHelper(this); this.navigator = new PathNavigateAmphibious(this, world); this.isLandNavigator = true; } else { this.moveHelper = new EntityHippocampus.SwimmingMoveHelper(); this.navigator = new PathNavigateSwimmer(this, world); this.isLandNavigator = false; } }