You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* updated baritone proof of concept
* Use updated official baritone maven
* set baritone versions as "changing"
* Add more Baritone settings to configure
privateval buildInLayers by setting("Build In Layers", false, { page ==Page.BASIC }, description ="Build/mine one layer at a time in schematics and selections.")
38
-
privateval layerOrder by setting("Top To Bottom", false, { buildInLayers && page ==Page.BASIC }, description ="Build/mine from top to bottom in schematics and selections.")
39
37
40
38
/* Visual */
41
39
privateval freeLook by setting("Free Look", true, { page ==Page.VISUAL }, description ="Move without having to force the client-sided rotations.")
@@ -50,6 +48,22 @@ object Baritone : Module(
50
48
privateval allowWaterBucketFall by setting("Water Bucket Clutch", true, { page ==Page.FALL }, description ="Uses a water bucket to get down quickly.")
51
49
privateval maxFallHeightBucket by setting("Max Bucket Height", 20, 10..250, 10, { allowWaterBucketFall && page ==Page.FALL }, description ="Max height that baritone can use a water bucket.")
52
50
51
+
/* Build */
52
+
privateval buildInLayers by setting("Build In Layers", false, { page ==Page.BUILD }, description ="Build/mine one layer at a time in schematics and selections.")
53
+
privateval layerOrder by setting("Top To Bottom", false, { buildInLayers && page ==Page.BUILD }, description ="Build/mine from top to bottom in schematics and selections.")
54
+
privateval startAtLayer by setting("Start At Layer", 0, 0..256, 1, visibility = { buildInLayers && page ==Page.BUILD }, description ="Start building the schematic at a specific layer.")
55
+
privateval layerHeight by setting("Layer Height", 1, 1..50, 1, visibility = { buildInLayers && page ==Page.BUILD }, description ="How high should the individual layers be?")
56
+
privateval skipFailedLayers by setting("Skip Failed Layers", false, { buildInLayers && page ==Page.BUILD }, description ="If a layer is unable to be constructed, just skip it.")
57
+
privateval buildOnlySelection by setting("Build Only Selection", false, { page ==Page.BUILD }, description ="Only build the selected part of schematics")
58
+
privateval buildIgnoreExisting by setting("Build Ignore Existing", false, { page ==Page.BUILD }, description ="If this is true, the builder will treat all non-air blocks as correct. It will only place new blocks.")
59
+
privateval buildIgnoreDirection by setting("Build Ignore Direction", false, { page ==Page.BUILD }, description ="If this is true, the builder will ignore directionality of certain blocks like glazed terracotta.")
60
+
privateval mapArtMode by setting("Map Art Mode", false, { page ==Page.BUILD }, description ="Build in map art mode, which makes baritone only care about the top block in each column")
61
+
privateval schematicOrientationX by setting("Schematic Orientation X", false, { page ==Page.BUILD }, description ="When this setting is true, build a schematic with the highest X coordinate being the origin, instead of the lowest")
62
+
privateval schematicOrientationY by setting("Schematic Orientation Y", false, { page ==Page.BUILD }, description ="When this setting is true, build a schematic with the highest Y coordinate being the origin, instead of the lowest")
63
+
privateval schematicOrientationZ by setting("Schematic Orientation Z", false, { page ==Page.BUILD }, description ="When this setting is true, build a schematic with the highest Z coordinate being the origin, instead of the lowest")
64
+
privateval okIfWater by setting("Ok If Water", false, { page ==Page.BUILD }, description ="Override builder's behavior to not attempt to correct blocks that are currently water")
65
+
privateval incorrectSize by setting("Incorrect Size", 100, 1..1000, 1, { page ==Page.BUILD }, description ="The set of incorrect blocks can never grow beyond this size")
66
+
53
67
/* Advanced */
54
68
privateval blockReachDistance by setting("Reach Distance", 4.5f, 1.0f..10.0f, 0.5f, { page ==Page.ADVANCED }, description ="Max distance baritone can place blocks.")
55
69
privateval enterPortals by setting("Enter Portals", true, { page ==Page.ADVANCED }, description ="Baritone will walk all the way into the portal, instead of stopping one block before.")
@@ -62,9 +76,19 @@ object Baritone : Module(
62
76
privateval mobAvoidanceCoefficient by setting("Mob Avoidance Coefficient", 1.5f, 0f..5f, 0.5f, visibility = { avoidance && page ==Page.ADVANCED }, description ="Set to 1.0 to effectively disable this feature. Set below 1.0 to go out of your way to walk near mobs.")
privateval mobSpawnerAvoidanceCoefficient by setting("Mob Spawner Avoidance Coefficient", 1.5f, 0f..5f, 0.5f, visibility = { avoidance && page ==Page.ADVANCED }, description ="Set to 1.0 to effectively disable this feature. Set below 1.0 to go out of your way to walk near mob spawners.")
79
+
privateval preferSilkTouch by setting("Prefer Silk Touch", false, { page ==Page.ADVANCED }, description ="Always prefer silk touch tools over regular tools.")
80
+
privateval backfill by setting("Backfill", false, { page ==Page.ADVANCED }, description ="Fill in blocks behind you")
81
+
privateval chunkCaching by setting("Chunk Caching", true, { page ==Page.ADVANCED }, description ="Download all chunks in simplified 2-bit format and save them for better very-long-distance pathing.")
82
+
privateval assumeStep by setting("Assume Step", false, { page ==Page.ADVANCED }, description ="Assume step functionality; don't jump on an Ascend.")
83
+
privateval assumeExternalAutoTool by setting("Assume External AutoTool", false, { page ==Page.ADVANCED }, description ="Disable baritone's auto-tool at runtime, but still assume that another mod will provide auto tool functionality")
84
+
privateval autoTool by setting("AutoTool", true, { page ==Page.ADVANCED }, description ="Automatically select the best available tool")
85
+
privateval assumeSafeWalk by setting("Assume Safe Walk", false, { page ==Page.ADVANCED }, description ="Assume safe walk functionality; don't sneak on a backplace traverse.")
86
+
privateval allowJumpAt256 by setting("Allow Jump At 256", false, { page ==Page.ADVANCED }, description ="If true, parkour is allowed to make jumps when standing on blocks at the maximum height, so player feet is y=256")
87
+
privateval allowDiagonalDescend by setting("Allow Diagonal Descend", false, { page ==Page.ADVANCED }, description ="Allow descending diagonally. Safer than allowParkour yet still slightly unsafe, can make contact with unchecked adjacent blocks, so it's unsafe in the nether.")
88
+
privateval allowDiagonalAscend by setting("Allow Diagonal Ascend", false, { page ==Page.ADVANCED }, description ="Allow diagonal ascending. Actually pretty safe, much safer than diagonal descend tbh")
65
89
66
90
privateenumclassPage {
67
-
BASIC, VISUAL, FALL, ADVANCED
91
+
BASIC, VISUAL, FALL, BUILD, ADVANCED
68
92
}
69
93
70
94
init {
@@ -105,14 +129,12 @@ object Baritone : Module(
105
129
it.chatControl.value =false// enable chatControlAnyway if you want to use it
0 commit comments