cabaletta / cabaletta/baritone

strip mining command/mode

Open
#3,759 4 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
9.2k
Forks
2.1k
Avg merge
4d 3h
Merged PRs (30d)
3

Description

## Describe your suggestion
When strip mining mode is activated: the bot should start `#tunnel`ing. if an ore is found, mine the whole vein then continue tunneling. if the tunnel can't be continued for some reason, go a couple blocks to the side and start tunneling backwards

## Settings
a list of ores should either be specified via the command like `#mine` (e.g. `#stripmine diamond_ore`) or via a setting
`stripMineYLevel`: if set, stripmine will first drop to this Y level before beginning mining
`stripMineOffset`: the amount of blocks between each strip. should default to 2 for human-like mining though a larger distance might be better, hence the setting
`stripMineLength`: if set, baritone will turn around after mining this many blocks instead of just going straight forever
![image](https://user-images.githubusercontent.com/35177464/207414371-b1f103f4-fe7e-4029-9c55-b6176b3ccf67.png)
`stripMineDistance`: if set, maximum distance in blocks an ore has to be from the strip mine before baritone will mine it. set to 1 for legit human mine, any higher values basically use x-ray but still look legit if an admin is looking at your mines in spectator mode

## Context
for servers that have anti-xray, strip mining is much more efficient (and safer) than `#mine`, but having to pause every time I want to is mildly annoying enough and is a common enough usage I think its worth it
`#tunnel` already does the work of avoiding lava and being smart
related to #3393 and #773

## Final checklist
- [x] I know how to properly use check boxes
- [ ] I have not used any OwO's or UwU's in this issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.