isMatching

open override fun isMatching(itemStack: ItemStack): Boolean(source)

Checks if the given ItemStack is matching with the itemStack. This is done by comparing the NamespacedKey of the itemStack and the ItemStack, which contains a specified UUID

Return

A Boolean which is true when the ItemStack is matching with the itemStack

Parameters

itemStack

The ItemStack which should be checked