Luke100000 / ImmersiveArmors

Unique vanilla-friendly armor sets for Minecraft
GNU General Public License v3.0
11 stars 17 forks source link

How to configure correctly ?? #69

Closed vlad1m closed 1 year ago

vlad1m commented 1 year ago

I am trying to make a modpack (currently at the very beginning of the process ) and i cant figure out how to correctly modify armor values,i tried to follow the guide but it doesnt seem to work,minecraft version is fabric 1.18.2 ,the config file looks like that:

{
  "hideSecondLayerUnderArmor": true,
  "enableEffects": true,
  "enableEnchantmentGlint": true,
  "_documentation": "https://github.com/Luke100000/ImmersiveArmors/blob/HEAD/config.md",
  "overwriteValues": {
   "wither:bootsProtection": 1.0,
   "warrior:leggingsProtection": 4.0,
   "robe:helmetProtection": 1.0,
   "robe:chestplateProtection": 2.0,
   "robe:leggingsProtection": 1.0,
   "robe:bootsProtection": 1.0,
   "slime:helmetProtection": 1.0,
   "slime:chestplateProtection": 2.0,
   "slime:leggingsProtection": 1.0,
   "slime:bootsProtection": 1.0,
   "divine:helmetProtection": 2.0,
   "divine:chestplateProtection": 6.0,
   "divine:leggingsProtection": 3.0,
  "divine:bootsProtection": 1.0,
   "prismarine:leggingsProtection": 5.0,
   "prismarine:bootsProtection": 2.0
   "wooden:helmetProtection": 2.0,
   "wooden:chestplateProtection": 2.0,
   "wooden:leggingsProtection": 1.0,
   "wooden:bootsProtection": 1.0,
   "steampunk:helmetProtection": 4.0
  },
  "hudClockXOffhand": -140,
  "hudClockX": -111,
  "hudClockY": -20,
  "hudCompassXOffhand": 124,
  "hudCompassX": 95,
  "hudCompassY": -20,
  "lootChance": 0.025,
  "mobEntityUseImmersiveArmorChance": 0.5,
  "enabledArmors": {
    "prismarine": true,
    "steampunk": true,
    "warrior": true,
    "robe": true,
    "wooden": true,
    "bone": true,
    "divine": true,
    "wither": true,
    "heavy": true,
    "slime": true
  },
  "version": 1
}
Luke100000 commented 1 year ago

There is a missing colon after "prismarine:bootsProtection": 2.0 and there is indeed an issue with applying custom protection values. Fixed in 1.5.1