Datapacks & tags¶
Datapacks let a modpack classify weapons, eligible ores, bosses, elites, training targets, and reward exclusions without modifying the Sol's Leveling System JAR.
Weapon classification overrides¶
Place JSON files under:
data/<your_namespace>/solslevelingsystem/classification/*.json
{
"schema_version": 1,
"items": {
"examplemod:greatsword": "MELEE",
"examplemod:longbow": "RANGED",
"examplemod:glaive": "HYBRID",
"examplemod:training_glove": "UNARMED",
"examplemod:utility_tool": "EXCLUDED"
}
}
Valid values are MELEE, RANGED, HYBRID, UNARMED, EXCLUDED, and NONE; they are case-insensitive. A reload is transactional: malformed data is rejected and the previous valid snapshot remains active. The default safety limit is 2,048 unique overrides.
Important item tags¶
All are under solslevelingsystem:
melee,ranged,hybrid,unarmed, anddeniedclassify mastery use;mobile_handling_compatibleandmobile_handling_excludedcontrol DEX use-item behavior;lucky_drop_excludedandlucky_drop_nbt_allowedcontrol Fortune duplication;limit_breaker_bonus_eligible,limit_breaker_bonus_excluded, andlimit_breaker_bonus_nbt_allowedcontrol challenge loot.
Important block tags¶
str_ore_breaker_istr_ore_breaker_iistr_ancient_breakeragile_climber_compatible
Add modded natural ores to the appropriate STR tier. Placed-block tracking still prevents them from becoming a hand-mining Mastery farm.
Important entity tags¶
valid,denied, andtrainingaffect progression eligibility;bossesandlimit_breaker_elitesdefine worthy encounters;limit_breaker_deniedexcludes unsuitable targets;aggressive_neutralidentifies neutral creatures behaving as hostiles.
Use standard Minecraft tag JSON with "replace": false unless the pack deliberately wants to replace the shipped set.
Reload and verify¶
Run /sol leveling admin reload, then use /sol leveling admin debugmob <entity> for entity rules. Test a weapon against a controlled target and confirm which Mastery gains EXP. Invalid classification reloads are logged and do not replace the last known-good classification map.