Skip to content

Resource Files Overview

Belongs to: Reference · Related: Config File · Built-in Content Inventory

A map of all config / resource files under plugins/QinhItems/: what each file manages, key structure points, and where to find the detailed chapter.

These YAML files all carry Chinese comments at the top. This page does not repeat the original text; it only gives "which file manages what + key structure + jump links". The only page with line-by-line annotations is the config.yml original text page.


1. Root Directory Files

FileManagesDetails
config.ymlMain config (directories / write domains / action routing / gem bridge / combat / binding / attribute mapping)Config File · Original Text
item_types.ymlItem types and capabilities (see full table below)Item Types
item_tiers.ymlTiers (weight / capacity / glow)Tiers & Display · Built-in Inventory
enchant_limits.ymlTotal enchant level caps (by type / tier)Enchant Limits
plugin.ymlPlugin metadata / permissions / dependenciesPermissions · Config File §plugin.yml

2. Content Directories

Directory / FileManagesDetails
items/<type>.ymlItem definitions (one type per file, ~140 examples)Item Definitions · Example Library
fragments/*.ymlFragments (reusable snippets)Fragments & Templates
sections/*.ymlSections / affix pools / tier pools + affixes sectionsSections · Affixes
sets/*.ymlSet definitionsSets · Built-in Inventory

3. Integration Directory integrations/

FileManagesDetails
gem_socket_types.ymlGem socket types (mapping LI / MG backends)Gem Sockets
legendinlay_sockets.ymlLegendinlay socket catalog (lore must match LI verbatim)Gem Sockets
magicgem_sockets.ymlMagicGem socket catalogSame as above
legendinlay_guide.yml / magicgem_guide.ymlBackend integration notes (documentation-type, self-commented)Integration Practice
action_handlers.ymlAction handler namespace notes (documentation-type)Handlers
bridges.ymlBridge switchesIntegration
resource_models.ymlEditor model catalog (models listed by category)Resource Pack

4. LegendCore Directory legendcore/

FileManages
QinhItemsModule.groovyLegendCore fallback bridge script (auto-deployed)
README.txtNotes

5. item_types.yml Full Type Table

item_types.yml defines not only capabilities, but also default material, editor icon, aliases, and library category. Full table (40+ built-in types):

TypeDisplay NameDefault MaterialIconLibrary CategoryCapabilities
weaponWeaponiron_swordIRON_SWORDcombatskill·attribute·gem_socket·render
armorArmoriron_chestplateIRON_CHESTPLATEcombatattribute·render
helmetHelmetiron_helmetIRON_HELMETcombat(inherits armor)
chestplateChestplateiron_chestplateIRON_CHESTPLATEcombat(inherits armor)
leggingsLeggingsiron_leggingsIRON_LEGGINGScombat(inherits armor)
bootsBootsiron_bootsIRON_BOOTScombat(inherits armor)
shieldShieldshieldSHIELDcombatattribute·render·set
projectileProjectilearrowARROWcombatprojectile·render
bowBowbowBOWcombatprojectile·attribute·render
crossbowCrossbowcrossbowCROSSBOWcombatprojectile·attribute·render
tridentTridenttridentTRIDENTcombatprojectile·skill·attribute·render
ringRinggold_ingotGOLD_INGOTaccessoryskill·attribute·gem_socket·render
necklaceNecklaceemeraldEMERALDaccessoryskill·attribute·gem_socket·render
braceletBraceletboneBONEaccessoryskill·attribute·gem_socket·render
accessoryAccessorynether_starNETHER_STARaccessoryskill·attribute·gem_socket·render
gemGemamethyst_shardAMETHYST_SHARDcraftrender·attribute
materialMaterialiron_ingotIRON_INGOTcraftrender·set
consumableConsumablepotionPOTIONutilityconsumable·render·set
foodFoodbreadBREADutilityconsumable·render
scrollScrollbookBOOKutilityconsumable·skill·render
seedSeedwheat_seedsWHEAT_SEEDScraftconsumable·render
baitBaitbreadBREADutilityconsumable·render
toolTooldiamond_pickaxeDIAMOND_PICKAXEutilityrender·attribute
fishing_rodFishing Rodfishing_rodFISHING_RODutilityrender·set
wandWandblaze_rodBLAZE_RODmagicskill·attribute·gem_socket·render
horse_armorHorse Armordiamond_horse_armorDIAMOND_HORSE_ARMORequipmentattribute·render
horseHorsesaddleSADDLEequipmentrender·set
skullSkullcreeper_headCREEPER_HEADdecorativerender
currencyCurrencygold_ingotGOLD_INGOTeconomyrender
tokenTokennetherite_ingotNETHERITE_INGOTeconomyrender·consumable
trophyTrophygolden_appleGOLDEN_APPLEspecialrender·consumable
propPropclockCLOCKutilityskill·consumable·render
miscMiscpaperPAPERmiscrender

Type Field Reference

FieldMeaning
display_nameDisplay name (editor + the type line of structured Lore)
iconEditor icon material
displayWhether to show in the type browser
default_materialDefault material when creating items of this type
capabilitiesCapability flags, see Item Types
aliasesAliases (used for type lookup)
parentParent type (inherits capabilities)
library_categoryLibrary panel category

6. Gem Socket Type Table (gem_socket_types.yml)

Built-in socket types and backend mappings:

Socket TypeDisplay Namelegendinlaymagicgem
绿色Greennormalweapon_slot
黄色Yellownormalweapon_slot
无色Colorlessnormalweapon_slot
qi_weaponWeapon Socketqi_weapon
normalDecade Soul Ringnormal
armorArmor Socketarmor_slot (carries lore)

The fields display / legendinlay / magicgem / lore are covered in Gem Sockets.


Next Steps