mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-12 16:37:45 +00:00
Add more util function
This commit is contained in:
1 parent
00dacef241
commit
49b22e0683
2 files changed
+14
No files matched your search
@@ -98,6 +98,9 @@ public class PositionedStack
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* NBT-friendly version of {@link #contains(ItemStack)}
|
||||
*/
|
||||
public boolean containsWithNBT(ItemStack ingredient) {
|
||||
for(ItemStack item : items)
|
||||
if(NEIServerUtils.areStacksSameTypeCraftingWithNBT(item, ingredient))
|
||||
|
||||
Reference in new issue
Block a user