removeItemData

fun removeItemData(tag: CompoundTag): CompoundTag

Sanitizes tag from item-related data by removing commonly used keys for items.