isMergeable

inline fun ItemStack.isMergeable(other: ItemStack): Boolean

Return

if this item stack has same Item and net.minecraft.core.component.DataComponentPatch with the other item stack