Skip to content

feat(builders): add Excavate toggle to the Builder GUI#4761

Open
ghshhf wants to merge 1 commit into
BuildCraft:8.0.x-1.12.2from
ghshhf:fix/builder-excavate-toggle
Open

feat(builders): add Excavate toggle to the Builder GUI#4761
ghshhf wants to merge 1 commit into
BuildCraft:8.0.x-1.12.2from
ghshhf:fix/builder-excavate-toggle

Conversation

@ghshhf

@ghshhf ghshhf commented Jul 17, 2026

Copy link
Copy Markdown

Summary

The Builder has long supported canExcavate on its tile (the same plumbing the Filler uses via NET_CAN_EXCAVATE), but it was never exposed in the Builder's GUI. This adds an Excavate toggle button so players can disable block breaking and have the Builder only place.

  • GuiBuilder: add an Excavate toggle using the existing TileBuilder#canExcavate / sendCanExcavate methods.
  • en_US.lang: add the gui.builder.canExcavate localization key (mirrors the Filler's "Excavate" / "Do Not Excavate" wording).

This brings the Builder in line with the Filler's excavate UX.

Test plan

  • Open a Builder GUI on 1.12.2 (Forge 14.23.5.2859).
  • Toggle Excavate off and confirm the Builder only places and does not break existing blocks.
  • Toggle back on and confirm normal excavate behaviour returns.

Mirror the Filler's canExcavate behaviour on the Builder. The GUI now
exposes a toggle (using the existing TileBuilder#canExcavate /
sendCanExcavate plumbing) so players can disable block breaking and have
the Builder only place.

Adds the gui.builder.canExcavate localization key to en_US.lang.
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