Skip to content

Lang Handler and tooltips#66

Draft
trulyno wants to merge 2 commits intomainfrom
multiblock-tooltips
Draft

Lang Handler and tooltips#66
trulyno wants to merge 2 commits intomainfrom
multiblock-tooltips

Conversation

@trulyno
Copy link
Copy Markdown
Contributor

@trulyno trulyno commented Mar 7, 2026

Moved away from using a hardcoded lang file to a lang provider. This fixes the issue of having to delete the lang file generated using the Data gen gradle task.

How to use the lang handler:

  1. Add a new entry in /lang/LangHandler as provider.add("key", "value")
  2. Use methods from builders that set lang values (usually .langValue() or .lang()).

The lang file will be autogenerated in the generated folder.

Additionally, added the recipe modifier tooltips to the core multiblocks, as well as the "Added by Star Technology" tooltip.
A known issue is that for the fusion reactors, an extra "Has Batching" tooltip is present due to being added from KubeJS. The fix is done and ready to be PR'd as soon as this PR gets merged.

Fixed some typos and issues in tooltips. Added some missing tooltips for consistency.

@trulyno trulyno marked this pull request as ready for review March 7, 2026 20:46
@trulyno
Copy link
Copy Markdown
Contributor Author

trulyno commented Mar 9, 2026

Waiting on solar to be merged so solar lang can be added

@trulyno trulyno marked this pull request as draft March 14, 2026 13:29
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