embeddedt 8f7d698e7d Add option to cache item grid rendering (#250)
* Add option to cache item grid rendering

* Fix highlighting for bookmarks

* Tweak GL state slightly

* Fix focus box being in the wrong place

* Fix flickering for one frame when searching

* Prevent potion effects from rendering over NEI slots

Fixes #231

* Invalidate the buffer if `invalidSlotMap` changes

* Clean up imports

* Delay blitting until after the buffer is refreshed

but still avoid waiting for the next frame

* Refactor slot focus logic to handle highlighting multiple slots

* Refresh grid when sorting bookmarks

* Minor code cleanup, fix some more hovering issues

* Remove `slotNeedsOutline`, it is now redundant

* Remove focus parameter from drawItem
2022-05-27 13:42:41 +02:00
2022-01-17 20:27:25 -08:00
2021-12-11 20:00:21 +01:00
2022-03-12 12:22:17 +01:00
2022-05-16 10:40:12 -07:00
2022-01-17 20:27:25 -08:00
2021-04-12 20:20:36 -07:00
2021-04-12 20:20:36 -07:00
2021-11-22 08:56:35 -08:00
2022-02-07 12:10:36 -08:00
2022-02-07 12:10:36 -08:00
2022-02-11 08:12:11 -08:00

NotEnoughItems Unofficial - By the GTNH Team

A continuation of NotEnoughItems for 1.7.10 by the developers of Gregtech: New Horizons modpack, with features either inspired and/or backported from JustEnoughItems

We've tested this against all of the mods included in GTNH, as well as a limited set of other mods (like Reika's mods). Every effort has been made to maintain backwards compatibility, however the focus is on the mods contained in the GTNH modpack.

If you have issues with NEI outside of the GTNH modpack you may report them in the GTNH NEI GitHub.

New Features:

  • Speed
    • Uses a parallel stream to search the item list over multiple cores, resulting in 2-6x faster searches on average
    • Loads the recipe handlers in parallel
  • A textbox for search with most of the features you'd expect - moving forward, backwards, selection, etc
  • Bookmarks! What are you in the process of crafting? Bookmark it using either 'A' or configure your own key.
  • Toggle bookmark pane. Default shortcut key B. Item Subsets menu is only available if bookmarks are not visible.
  • Utility/Cheat buttons line up and wrap based on GUI size
  • ItemList is no longer regenerated from the ItemRegistry on every inventory load
  • JEI (Or Creative) Style tabs [Optional] Note: Requires explicit support to be added for an ItemStack to render, otherwise falls back to the first two letters of the handler name.
  • Tabs/Handlers are loaded from a CSV config in the JAR (or optionally from the config folder). NBT IMCEvents registerHandlerInfo and removeHandlerInfo are available for mod authors to add handler information, using the same fields as the CSV file
  • @[Mod]->[item] searching. ex: @Mod.gregtech->iron ingot
  • Cycle between Recipe, Utility, and Cheat mode by ctrl clicking on the Wrench Icon
  • GT5u Tools/Items and GT6 tools should now properly work with the Overlay Recipe Transfer

Other items of note:

  • Remove TMI style
  • Removed inventory Load/Save state

License

GTNH Modifications Copyright (c) 2019-2022 mitchej123 and the GTNH Team

Licensed under LGPL-3.0 or later - use this however you want, but please give back any modifications

Parts inspired/borrowed/backported from JEI under the MIT License.

Originial code Copyright (c) 2014-2015 mezz and was licensed under the MIT License.

S
Description
No description provided
Readme
7.6 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 99.2%
Assembly 0.7%
ANTLR 0.1%