-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include locked recipe information in WAILA tooltip #3855
Merged
Merged
+337
−20
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
serenibyss
added
the
enhancement
Improve an existing mechanic. Please explain the change with a before/after comparison.
label
Jan 24, 2025
@mak8427 I know this is a draft, but peeking at the code, I think you need to set |
Thank you for doing this! <3 |
- Added configurable multi-line output in SingleRecipeCheck#getDisplayString(boolean includeInputs, boolean includeOutputs, boolean showStackAmounts, boolean multiLine) - Allows showing only outputs (or inputs) over multiple lines without stack amounts. - Updated getWailaNBTData to store the locked recipe string using the new multi-line formatting. - Modified getWailaBody to split the stored locked recipe string on "\n" and add each line individually to the tooltip, ensuring proper multi-line display even when "\n" is not rendered automatically.
@KleinGrrmpf Do you have any other suggestion ? |
serenibyss
reviewed
Feb 2, 2025
Looks great! I just don't know how crowded it could get with some recipes with multiple outputs. |
serenibyss
approved these changes
Feb 3, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
Improve an existing mechanic. Please explain the change with a before/after comparison.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request modifies the WAILA tooltip to always show the locked recipe information, including the item that is producing, even if the recipe is not currently running.
Issue:
GTNewHorizons/GT-New-Horizons-Modpack#18793