-
Notifications
You must be signed in to change notification settings - Fork 3
GiveAction v3
Hoid2 edited this page Jan 23, 2022
·
5 revisions
Give actions give players items (other stuff in the future).
They look like:
{
...common fields...
"lootTables": [],
"giveClicked": false
}
(common fields are specified in Actions v3)
The items to give the player are gotten from these loot tables. This is an array of loot table identifiers. See Common Types v3.
If true, gives the clicked item stack to the player. If this is used as a recipe action, the output of the recipe is given. This is a boolean.
These are the items that are given to the player. This is an array of objects. See Common Types v3.