readUUIDFromNBT

fun readUUIDFromNBT(item: ItemStack): UUID?

Reads the UUID from an item, if it has one

Return

UUID if the item has one, null otherwise

Parameters

item

ItemStack