MCPcopy Create free account
hub / github.com/cabaletta/baritone / pathTo0

Method pathTo0

src/main/java/baritone/process/ElytraProcess.java:330–341  ·  view source on GitHub ↗
(BlockPos destination, boolean appendDestination)

Source from the content-addressed store, hash-verified

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) {

Callers 2

onTickMethod · 0.95
pathToMethod · 0.95

Calls 6

onLostControlMethod · 0.95
settingsMethod · 0.95
playerMethod · 0.65
worldMethod · 0.65
repackChunksMethod · 0.65
pathToMethod · 0.65

Tested by

no test coverage detected