just one is not good enough tbh
This commit is contained in:
parent
2fcf9ace64
commit
af0c3bbd5c
@ -577,6 +577,11 @@ public final class Settings {
|
|||||||
*/
|
*/
|
||||||
public final Setting<Integer> worldExploringChunkOffset = new Setting<>(0);
|
public final Setting<Integer> worldExploringChunkOffset = new Setting<>(0);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Take the 10 closest chunks, even if they aren't strictly tied for distance metric from origin.
|
||||||
|
*/
|
||||||
|
public final Setting<Integer> exploreChunkSetMinimumSize = new Setting<>(10);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* When the cache scan gives less blocks than the maximum threshold (but still above zero), scan the main world too.
|
* When the cache scan gives less blocks than the maximum threshold (but still above zero), scan the main world too.
|
||||||
* <p>
|
* <p>
|
||||||
@ -595,7 +600,7 @@ public final class Settings {
|
|||||||
public final Setting<Integer> buildRepeatDistance = new Setting<>(0);
|
public final Setting<Integer> buildRepeatDistance = new Setting<>(0);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* What direction te repeat the build in
|
* What direction to repeat the build in
|
||||||
*/
|
*/
|
||||||
public final Setting<EnumFacing> buildRepeatDirection = new Setting<>(EnumFacing.NORTH);
|
public final Setting<EnumFacing> buildRepeatDirection = new Setting<>(EnumFacing.NORTH);
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ public class ExploreProcess extends BaritoneProcessHelper implements IExplorePro
|
|||||||
centers.add(new BlockPos(offsetCenterX, 0, offsetCenterZ));
|
centers.add(new BlockPos(offsetCenterX, 0, offsetCenterZ));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!centers.isEmpty()) {
|
if (centers.size() > Baritone.settings().exploreChunkSetMinimumSize.value) {
|
||||||
return centers.stream().map(pos -> new GoalXZ(pos.getX(), pos.getZ())).toArray(Goal[]::new);
|
return centers.stream().map(pos -> new GoalXZ(pos.getX(), pos.getZ())).toArray(Goal[]::new);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user