cabaletta / cabaletta/baritone

Bridging with mineable materials results in an infinite bridge block placing/breaking loop

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

Description

## Useful information
Minecraft version: 1.21.11 Fabric
Baritone version: latest for fabric 1.21.11

## How to reproduce
1. Select an area
2. Start area clearing (`#sel cleararea`), or replace specific blocks in the area to air (e.g. `#sel replace stone air dirt air`)
3. Bridge with any block, or a block specified in the case of replacing
4. Baritone loops infinitely, starting a bridge to access other blocks, and immediately after destroying it

## Video demonstration
https://github.com/user-attachments/assets/b935e6c7-0387-41c4-bc5e-ffbde3b308ec

## Proposed solution
Once placed, exclude blocks conforming bridge from being removed until accessed blocks are broken, then mark bridge blocks as allowed to be destroyed.

## Modified settings
I feel like this is irrelevant. Correct me if I'm wrong.

## Final checklist
- [x] I know how to properly use check boxes
- [X] I have included the version of Minecraft I'm running, baritone's version and forge mods (if used).
- [X] I have included logs, exceptions and / or steps to reproduce the issue.
- [x] I have not used any OwO's or UwU's in this issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the loop with Minecraft 1.21.11 on Fabric using #sel cleararea or #sel replace, then bridge with a block while observing the supplied video. Trace the area-clearing and bridging behavior involved in repeatedly placing and breaking bridge blocks. Done means the selected area is cleared or replaced without an infinite bridge placement/breaking loop.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.