Kotlin utilities for Quilt mod development
//kettle/coffee.cypher.kettle.item/equals
[jvm]
fun ItemStack?.equals(that: ItemStack?, ignoreDurability: Boolean = false, ignoreSize: Boolean = false, ignoreNBT: Boolean = false): Boolean
Compares this ItemStack to a given target.
Strictly compares durability (or whether stacks are damageable), stack size and NBT tags, unless ignoreDurability, ignoreSize, or ignoreNBT are set to true.