Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Baritone.kt #391

Merged
merged 1 commit into from
Oct 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ object Baritone : Module(
private val allowPlace by setting("Allow Place", true)
private val allowInventory by setting("Allow Inventory", false)
private val freeLook by setting("Free Look", true)
private val allowWaterBucketFall by setting("Water bucket clutch", true, description = "Uses a water bucket to get down quickly.")
private val maxFallHeightBucket by setting("Max bucket height", 20, 5..255, 5, { allowWaterBucketFall }, description = "Max height that baritone can use a water bucket.")
private val allowDownwardTunneling by setting("Downward Tunneling", true)
private val allowParkour by setting("Allow Parkour", true)
private val allowParkourPlace by setting("Allow Parkour Place", true)
Expand Down Expand Up @@ -75,6 +77,8 @@ object Baritone : Module(
it.allowPlace.value = allowPlace
it.allowInventory.value = allowInventory
it.freeLook.value = freeLook
it.allowWaterBucketFall.value = allowWaterBucketFall
it.maxFallHeightBucket.value = maxFallHeightBucket
it.allowDownward.value = allowDownwardTunneling
it.allowParkour.value = allowParkour
it.allowParkourPlace.value = allowParkourPlace
Expand Down