mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-27 15:33:19 +00:00
Added the ability to add variants to the item panel
This commit is contained in:
1 parent
0b54b83728
commit
e523e6c4e8
3 files changed
+19
-1
No files matched your search
@@ -56,6 +56,7 @@ public class ItemInfo
|
||||
public static final ItemStackSet hiddenItems = new ItemStackSet();
|
||||
public static final ItemStackSet finiteItems = new ItemStackSet();
|
||||
public static final ArrayListMultimap<Item, ItemStack> itemOverrides = ArrayListMultimap.create();
|
||||
public static final ArrayListMultimap<Item, ItemStack> itemVariants = ArrayListMultimap.create();
|
||||
|
||||
public static final LinkedList<IInfiniteItemHandler> infiniteHandlers = new LinkedList<IInfiniteItemHandler>();
|
||||
public static final ArrayListMultimap<Block, IHighlightHandler> highlightIdentifiers = ArrayListMultimap.create();
|
||||
@@ -82,6 +83,11 @@ public class ItemInfo
|
||||
return !finiteItems.contains(stack);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* Use field directly
|
||||
*/
|
||||
@Deprecated
|
||||
public static List<ItemStack> getItemOverrides(Item item) {
|
||||
return itemOverrides.get(item);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user