Function: transformItemData()


# Function: transformItemData()

transformItemData(value): Promise<NBTInventory>

This helper will transform NBT data into a typed object using prismarine-nbt. It will also transform any backpacks/bags with item data so you can explore those as well.

# Parameters

value: string | number[] | Buffer

A Base64 item data string, NBT byte array, or buffer.

# Returns

Promise<NBTInventory>