Add 'Hide Item List Until Searching' option (#572)

Co-authored-by: slprime <[email protected]>
Co-authored-by: Martin Robertz <[email protected]>
Co-authored-by: Maya <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-01-09 07:53:27 +00:00
1 parent 3ec4f8dd68
commit 0c0cf37eb0
8 files changed
+42 -10

No files matched your search

@@ -66,6 +66,10 @@ public class ItemsGrid {
return realItems.size();
}
public boolean isEmpty() {
return realItems.isEmpty();
}
public int indexOf(ItemStack stackA, boolean useNBT) {
for (int idx = 0; idx < realItems.size(); idx++) {