Starting Equipment - apace100/origins-fabric GitHub Wiki

Power Type. Provides the player with items when the power is chosen.

Type ID: origins:starting_equipment

Fields:

stack, Positioned Item Stack, optional: If set, this item stack will be given to the player, optionally into the specified inventory slot.

stacks, array of Positioned Item Stacks, optional: If set, these item stacks will be given to the player, optionally into the specified inventory slots.

recurrent, boolean, default = false: When set to true, the starting equipment will always be given to the player after they died, otherwise only once when the power is gained.

Example:

{
  "type": "origins:starting_equipment",
  "stacks": [
    {
      "item": "minecraft:compass"
    },
    {
      "item": "minecraft:clock"
    },
    {
      "item": "minecraft:map",
      "amount": 9
    }
  ]
}

Players with this power will receive the "Explorer Kit" known from Origins: Classes. It contains a compass, a clock, and 9 empty maps.