mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-18 11:29:35 +00:00
* 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.