mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
More consolidated fluid container management- I've been meaning to get to this for a long time
This commit is contained in:
1 parent
d77de295f2
commit
d332ad49b7
11 files changed
+321
-564
No files matched your search
@@ -65,7 +65,14 @@ public final class StackUtils
|
||||
|
||||
public static boolean equalsWildcardWithNBT(ItemStack wild, ItemStack check)
|
||||
{
|
||||
return equalsWildcard(wild, check) && (wild.stackTagCompound == null ? check.stackTagCompound == null : (wild.stackTagCompound == check.stackTagCompound || wild.stackTagCompound.equals(check.stackTagCompound)));
|
||||
boolean wildcard = equalsWildcard(wild, check);
|
||||
|
||||
if(wild == null || check == null)
|
||||
{
|
||||
return wildcard;
|
||||
}
|
||||
|
||||
return wildcard && (wild.stackTagCompound == null ? check.stackTagCompound == null : (wild.stackTagCompound == check.stackTagCompound || wild.stackTagCompound.equals(check.stackTagCompound)));
|
||||
}
|
||||
|
||||
public static List<ItemStack> even(ItemStack stack1, ItemStack stack2)
|
||||
|
||||
Reference in new issue
Block a user