Overview
The equipment configuration API manages all weapons and armor sets in the Bards RPG mod. Configuration is handled through theitemConfig manager, which reads from and writes to the equipment.json file in the mod’s config directory.
Configuration manager
The equipment configuration is managed byBardsMod.itemConfig:
Properties
The configuration file name (generates
equipment.json)The mod’s configuration directory
Automatically sanitizes and validates configuration values
Configuration structure
The equipment configuration file contains two main sections:Armor sets
Armor sets are stored in thearmor_sets map with the following structure:
Armor set configuration
Chestplate piece configuration (same structure as head)
Leggings piece configuration (same structure as head)
Boots piece configuration (same structure as head)
Weapons
Weapons are stored in theweapons map:
Weapon configuration
Base attack damage for the weapon
Attack speed modifier (negative values slow down attacks)
List of attribute modifiers applied when equipped
Weapon types
The mod includes three weapon categories:Rapiers
- Attack speed:
-2.0 - Weapon type:
SWORD - Available tiers: Golden, Iron, Diamond, Netherite, Ruby, Aeternium, Aether, and unique variants
Lutes
- Attack speed:
-3.0 - Weapon type:
DAMAGE_STAFF - Spell power bonus (Arcane & Healing):
- T1 (Wooden):
3.5 - T2 (Diamond):
4.0 - T3 (Netherite):
4.5 - T4 (Ruby/Aeternium/Aether):
5.0
- T1 (Wooden):
Lyres
- Attack speed:
-2.2 - Attack damage:
3.0 - Weapon type:
HEALING_STAFF - Spell power bonuses:
- Arcane: 50% of lute power
- Healing: 150% of lute power
Armor tiers
The mod provides four armor tiers:Entertainer’s garb (Tier 1)
- Protection: 1/3/2/1 (head/chest/legs/feet)
- Spell power bonus:
0.15(15%) - Movement speed:
0.03(3%) - Enchantability:
9
Troubadour’s garb (Tier 2)
- Protection: 1/3/2/1
- Spell power bonus:
0.2(20%) - Movement speed:
0.04(4%) - Enchantability:
10
Netherite troubadour’s garb (Tier 3)
- Protection: 1/3/2/1
- Spell power bonus:
0.25(25%) - Movement speed:
0.05(5%) - Enchantability:
15
Storyteller’s garb (Tier 5)
- Protection: 1/3/2/1
- Spell power bonus:
0.3(30%) - Movement speed:
0.06(6%) - Enchantability:
18 - Requires:
armory_rpgsmod (orignore_items_required_modstweak)