Class ItemStackUtil

java.lang.Object
alexiil.mc.lib.attributes.item.ItemStackUtil

public final class ItemStackUtil
extends java.lang.Object
  • Method Summary

    Modifier and Type Method Description
    static boolean areEqualIgnoreAmounts​(net.minecraft.item.ItemStack a, net.minecraft.item.ItemStack b)
    Checks to see if the two ItemStack's are equal, but ignoring the counts.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • areEqualIgnoreAmounts

      public static boolean areEqualIgnoreAmounts​(net.minecraft.item.ItemStack a, net.minecraft.item.ItemStack b)
      Checks to see if the two ItemStack's are equal, but ignoring the counts.