Skip to content

Commit b28c739

Browse files
authored
Update Baritone.kt (#391)
Adds Water bucket clutch with Max bucket height
1 parent 8c5d68b commit b28c739

File tree

1 file changed

+4
-0
lines changed
  • src/main/kotlin/com/lambda/client/module/modules/client

1 file changed

+4
-0
lines changed

src/main/kotlin/com/lambda/client/module/modules/client/Baritone.kt

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ object Baritone : Module(
2626
private val allowPlace by setting("Allow Place", true)
2727
private val allowInventory by setting("Allow Inventory", false)
2828
private val freeLook by setting("Free Look", true)
29+
private val allowWaterBucketFall by setting("Water bucket clutch", true, description = "Uses a water bucket to get down quickly.")
30+
private val maxFallHeightBucket by setting("Max bucket height", 20, 5..255, 5, { allowWaterBucketFall }, description = "Max height that baritone can use a water bucket.")
2931
private val allowDownwardTunneling by setting("Downward Tunneling", true)
3032
private val allowParkour by setting("Allow Parkour", true)
3133
private val allowParkourPlace by setting("Allow Parkour Place", true)
@@ -75,6 +77,8 @@ object Baritone : Module(
7577
it.allowPlace.value = allowPlace
7678
it.allowInventory.value = allowInventory
7779
it.freeLook.value = freeLook
80+
it.allowWaterBucketFall.value = allowWaterBucketFall
81+
it.maxFallHeightBucket.value = maxFallHeightBucket
7882
it.allowDownward.value = allowDownwardTunneling
7983
it.allowParkour.value = allowParkour
8084
it.allowParkourPlace.value = allowParkourPlace

0 commit comments

Comments
 (0)