Consumables v3 - RealMegaMinds/ActionInventoryMod GitHub Wiki
Consumables are things that can be consumed by a consume action. These are the types:
Types
- XpConsumable v3
- ItemConsumable v3 Added: 3.1
These are objects and look like:
{
"type": "",
"requireFull": false
***Other Fields***
}
This is the type of the consumable. This is a string.
Types
"Xp"
"Item"
Whether the full amount needs to be paid at once. (true->nothing is consumed until everything can be, false->will consume as much as possible). Regardless of choice, this consumable is not marked as done until the full amount has been consumed. This is a boolean.