Skip to content

Test - #29

Closed
Moggla wants to merge 10 commits into
mainfrom
CI-CD
Closed

Test#29
Moggla wants to merge 10 commits into
mainfrom
CI-CD

Conversation

@Moggla

@Moggla Moggla commented Sep 20, 2026

Copy link
Copy Markdown
Owner

No description provided.

Moggla and others added 10 commits September 21, 2026 00:19
Remove the legacy overlays, raise min_format to 101 and update the
incompatibility warning.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
timber:help now opens a dialog, which is also added to the pause screen.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The dialog is filled with the current scores on every open and writes
them back on Done. Chop Slowly / Drop Loot exclusivity and the
Stop Chopping -> Wear Out dependency are enforced, and the slow chop
and auto plant loops are started when enabled.

Closes #17

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Replaced by the dialogs. toggle/timber stays for /trigger TimberToggle.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Overlay formats is deprecated since pack format 82 and makes the pack
fail to load.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The toggle button runs /trigger TimberToggle, which every player can use.
The settings button now hints that operator permissions are required.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The checkbox dialog needed `function timber:settings/set`, which shows a
confirmation screen for every click. Dialog buttons now only run
`/trigger`, and the datapack reacts to it.

Settings menu
- Every setting is a button "Name: ON/OFF" with its description as a
  tooltip. Settings which depend on another one show "Locked" and the
  reason as a tooltip (Chop Slowly / Loot to Inventory, Stop on Axe
  Break / Wear Out Tool More).
- The menu is built by functions on every open, so it always shows the
  current values. ON/OFF, Locked and the "Name: value" format use
  Minecraft's own translations.
- The four number settings get their own slider dialog. The value is
  sent as `1<value>` in a single trigger.
- Tools (the axes) is a sub page, everything else is on the main page.
  Long names are shortened, the full text stays in the tooltip.

Triggers
- `TimberToggle` stays enabled for everybody. Values above 1 are used by
  the help dialog (open settings, toggle, close).
- `TimberSettings` and the slider triggers are only enabled while the
  menu is used and disabled again on leaving it or after 5 minutes
  without a click.
- Only players with the tag `timber_admin` can change settings; everybody
  else gets a message with a clickable `/tag @s add timber_admin`.

Help dialog
- Buttons: check for updates, settings, toggle Timber for me.
- The dialog opened from the pause screen is static and shows a neutral
  toggle label; the dynamic version shows Timber ON/OFF for the player.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- Add tests datapack with a test that mines the bottom log of an oak
  tree with a fake player and expects the whole tree to be chopped
- Add test workflow for pull requests and pushes to main, run on
  Minecraft 26.1.2 and 26.3, with a "Test result" job to require in
  the branch ruleset
- Add weekly latest workflow that tests newer Minecraft releases and
  opens an issue with the result
- Add script to set up the Fabric server, Fabric API and PackTest

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Moggla Moggla closed this Sep 20, 2026
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