Functions
Loot Functions (sometimes referred as Item Modifiers) are small self contained bits of logic that can change the data of the item generated (such as changing its NBT) or that of affecting parameters (such as the player opening the chest or player completing the challenge).
For a list of vanilla functions please check this Minecraft Wiki page.
Mine Mine no Mi functions makes use of Number Providers which you should be familiar with before reading further.
Keep in mind the above links display all functions available in current day Minecraft, however in our case we can only make use of functions available in 1.16.5 or before.
The mineminenomi
namespace is omitted from below for readability, assume all functions have mineminenomi:
as a prefix.
If a function does not have any parameters below that simply means it has none, simply calling it as a function will be enough to trigger it.