# Functions
InvFromNBT decodes the data of an NBT slice into the inventory passed.
InvToNBT encodes an inventory to a data slice which may be encoded as NBT.
ItemFromNBT decodes the data of an item into an item stack.
ItemToNBT encodes an item stack to its NBT representation.