* Update buildscript
* Show a full recipe widget in item tooltips for bookmarked recipes
* Make recipe tooltips configurable and only show in the bookmarks panel
* Fix layout relative to tooltip boxes
* Fix wildcard import
* spotlessApply (#401)
Co-authored-by: GitHub GTNH Actions <>
* Fix handler tooltip offsets for new&legacy handlers
* Fix render order to draw crafting tooltips on top of container manager buttons
* Fix wrong mouse Y half-point calculation
* Allow saving recipes with empty item ingredient lists to bookmarks (e.g. fluid-only)
* Fix waila vs. non-waila tooltip offsets
Co-authored-by: Wilhelm Schuster <dev@rot13.io>
---------
Co-authored-by: Wilhelm Schuster <dev@rot13.io>
* Store heighthackhandlers.cfg as an internal asset instead of an array of strings
Is copied into the config directory upon first launch. Also, comments
are now allowed (only from the beginning of the file).
* Store serialhandlers.cfg as an internal asset instead of an array of strings
Is copied into the config directory upon first launch. Also, comments
are now allowed (only from the beginning of the file).
Removes GTNH-specific code to be replaced with a configuration file.
* Extend the height hack to also cover guiTop and getRecipePosition
Certain legacy recipe handlers hardcode even more of the NEI recipe
screen layout, requiring only the singular recipe handler switcher
widget at the top, whereas this improved NEI moves the recipe pager to
the top as well expecting recipe handler to move down another 16px. One
such mod that breaks is Immersive Engineering. To fix it we move the top
edge of the gui (guiTop) down by 16px so that the old gap calculation
works correctly. This required special handling in getRecipePosition()
and refreshSlots().
* Fix Immersive Engineering recipe handlers
* Fix Ex Nihilo recipe handlers
* Fix Thermal Expansion recipe handlers
These handlers expect only two recipes to be displayed at a time. This can only be fixed through asm AFAICT.
* Update buildscript
* Rework recipe handler tab scrolling again
Move the recipe handler tab scrolling before the handler-specific
scrolling again. This ensures that tab scrolling while hovering over the
tab bar will always be possible, regardless of how a recipe handler
handles scrolling itself. This mostly reverts back to how this feature
was implemented originally with one change: the Shift-scrolling behavior
is moved outside the recipe tabs scroll handler after the recipe
handler-specific scroll handling to prevent this from overwriting any
other behavior.
* Rename variable in GuiRecipeTabs to avoid confusion
Based on feedback in a previous PR review.
* Make sure recipe handler-specific scrolling behavior takes precedence over recipe handler tab scrolling
In addition to scrolling through all recipes of a single handler, you
can now scroll through all the recipe handlers while hovering over the
handler tab bar (or anywhere in the recipe area while holding left
shift).
* Focus the previous recipe if it's still visible when loading usage recipes.
* Reduced code duplication by extracting getRecipeHandlers
* Moved RecipeHandlerQuery to its own package-private file
* Refactored RecipeHandlerQuery methods
* Saving the current recipe when left clicking a machine's "Recipes" button
* Restored prevScreen so we can restore it with overlay
* Genericized GuiRecipe so that currentHandlers is no longer hidden in subclasses
* Cleaned up overlay handling
* Fixed trivial IDE warnings & bad JavaDoc on files I touched
* panel settings
* Highlight hidden items; mark item with recipe
* open gui usage with recipeId
* small changes
* restore gl after draw item
Co-authored-by: Serghei Borovetchi <sborovetchi@estatim.com>
* Add bookmarks sets; save items count in bookmarks; change counts in bookmarks; save ingredients in bookmarks; fill fluidcontainers in bookmarks;
* change fill container controls
* fix fill container
* rollback public variables
Co-authored-by: Serghei Borovetchi <sborovetchi@estatim.com>
* Update build script
* Update build script to import fix for shadow in dev and sources artifacts
* Update fixed build script to shadow csv dependency in dev jar as well
* Moved jitpack
* Move new files