Skip to content

Add BranchMineProcess for automated branch mining#5042

Open
ThomasAusHH wants to merge 2 commits into
cabaletta:1.21.11from
ThomasAusHH:feature/branchmine
Open

Add BranchMineProcess for automated branch mining#5042
ThomasAusHH wants to merge 2 commits into
cabaletta:1.21.11from
ThomasAusHH:feature/branchmine

Conversation

@ThomasAusHH

@ThomasAusHH ThomasAusHH commented May 30, 2026

Copy link
Copy Markdown

Summary

Adds a fully automated branch mining process with serpentine pattern generation, multi-layer support, and integrated ore vein collection.

New Command

  • #branchmine (alias: #bm)

Usage with selection:
#sel pos1
#sel pos2
#branchmine

Usage with coordinates:
#branchmine x1 y1 z1 x2 y2 z2

Configuration

All settings start with #set:

  • branchMineInterval (default: 3) - Distance between parallel lanes
  • branchMineTunnelHeight (default: 2) - Height of the mined tunnel
  • branchMineOreCollection (default: true) - Collect exposed ores automatically
  • branchMineScanInterval (default: 20) - Ticks between ore scans
  • branchMineStaircase (default: true) - Descend via staircase to next layer
  • branchMineLayerHeight (default: 3) - Vertical distance between layers
  • branchMineStaggerOffset (default: 1) - Stagger offset for multi-layer patterns

Example: #branchMineInterval 5

Features

  • Serpentine pattern: Mines forward, steps sideways, mines back
  • Ore vein mining: Scans 4-block radius after breaking an ore for adjacent ores
  • Active block breaking: Uses LookBehavior + tool switching + left-click
  • Safe ore timeout: Gives up on unreachable ores after 6 seconds

Fixes #3759
Fixes #773
Fixes #3393

2026-05-30_20 40 25

Adds a new branch mining process with the following features:
- Automated serpentine branch mine pattern with configurable intervals
- Multi-layer support with optional staircase descent between layers
- Integrated ore vein collection using active block breaking (LookBehavior + click)
- 7 new settings (branchMineInterval, branchMineTunnelHeight, etc.)
- New chat command: #branchmine / #bm (supports sel or raw coordinates)

Fixes cabaletta#3759
Fixes cabaletta#773
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant