Skip to content

Improved clipboard integration and added EMI recipe tree support#20

Open
brokestar233 wants to merge 2 commits into
LIUKRAST:1.21.xfrom
brokestar233:1.21.x
Open

Improved clipboard integration and added EMI recipe tree support#20
brokestar233 wants to merge 2 commits into
LIUKRAST:1.21.xfrom
brokestar233:1.21.x

Conversation

@brokestar233

Copy link
Copy Markdown

Summary

This PR changes the clipboard integration from EMI favourites to an EMI recipe tree workflow.

Unchecked clipboard entries are now merged into a virtual root recipe and opened directly in EMI's recipe tree, which makes it much easier to follow schematic material dependencies from a single entry point.

It also adjusts progress handling for that virtual root so the tree focuses on the actual child crafts and remaining materials instead of treating the synthetic top-level recipe as a real craft target.

Changes

  • replaced the clipboard action with direct EMI recipe tree creation
  • added a virtual clipboard recipe used as the tree root
  • merged duplicate clipboard entries before building the tree
  • hid the synthetic root task from EMI's synthetic favourites list
  • updated tree root progress so completion follows child material progress
  • refreshed button tooltip and localization strings for the new behavior

Testing

  • ran bash ./gradlew build

Screenshot

image image

Tips

This PR was generated with AI assistance. If you do not like it, feel free to close it directly.

Signed-off-by: brokestar233 <3765589194@qq.com>
Signed-off-by: brokestar233 <3765589194@qq.com>
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