(BlockPos destination, boolean appendDestination)
| 328 | } |
| 329 | |
| 330 | private void pathTo0(BlockPos destination, boolean appendDestination) { |
| 331 | if (ctx.player() == null || ctx.player().level().dimension() != Level.NETHER) { |
| 332 | return; |
| 333 | } |
| 334 | this.onLostControl(); |
| 335 | this.predictingTerrain = Baritone.settings().elytraPredictTerrain.value; |
| 336 | this.behavior = new ElytraBehavior(this.baritone, this, destination, appendDestination); |
| 337 | if (ctx.world() != null) { |
| 338 | this.behavior.repackChunks(); |
| 339 | } |
| 340 | this.behavior.pathTo(); |
| 341 | } |
| 342 | |
| 343 | @Override |
| 344 | public void pathTo(Goal iGoal) { |
no test coverage detected