GiveAction v3 - RealMegaMinds/ActionInventoryMod GitHub Wiki

Give Action

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)

Loot Tables (defaults to none) Added: 3.1

The items to give the player are gotten from these loot tables. This is an array of loot table identifiers. See Common Types v3.

Give Clicked (defaults to false) Added: 3.1

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.

Items To Give (defaults to nothing) Removed: 3.1

These are the items that are given to the player. This is an array of objects. See Common Types v3.

⚠️ **GitHub.com Fallback** ⚠️