XpConsumable v3 - RealMegaMinds/ActionInventoryMod GitHub Wiki

Xp Consumable

Xp consumables consume experience.

They look like:

{
  ...common fields...
  "level": 0,
  "amount": 0
}

(common fields are specified in Consumables v3)

Level (defaults to 0)

This is the number of xp levels to consume. This is an integer.

Amount (defaults to 0)

This is the number of raw xp points to consume. This is an integer.

Note

  • Xp levels are consumed before xp points.
  • There should only be a maximum of 1 xp consumable per action inventory slot.
⚠️ **GitHub.com Fallback** ⚠️