Files
bworld/mods/curios

Curios

A port of Curios: accessory slots, like rings, necklaces and belts, for any mod's items. They're in 2 columns left of the player's inventory, there whenever it's open. Shift clicking a curio in the inventory puts it in the first slot it fits.

Like the original, Curios adds no items and no slots of its own. A slot type only shows up once some mod puts an item in its tag.

Making an Item a Curio

Add the item to the slot type's item tag. For a ring, tags/items/curios/ring.json in your mod:

{ "format_version": 1, "tag": { "values": ["jewelry:gold_ring"] } }
Tag Slot
#curios:curio Any slot, and its own.
#curios:head Head
#curios:necklace Necklace
#curios:back Back
#curios:body Body
#curios:bracelet Bracelet
#curios:hands Hands
#curios:ring Ring
#curios:belt Belt
#curios:feet Feet
#curios:charm Charm

Every player has one slot of each type. Curios drop when the player dies, like the rest of what they carry.

Attribute Modifiers

An item with the curios:attribute_modifiers component changes the wearer's attributes while it's in a curio slot, and says so in its tooltip. The Power Glove from Artifacts:

"components": {
	"curios:attribute_modifiers": [{ "attribute": "bworld:attack_damage", "amount": 4, "operation": "add_value" }]
}

Depend on curios to use it.