Property Modifier

Property Modifier

2M Downloads

[1.19.2] Unable to modify modded armors

B4CKU opened this issue ยท 1 comments

commented

Issue description

I've been trying to change armor values of the modded armor sets available in the mod Iron's Spells and Spellbooks.

The config file is successfully loaded - its other changes do work as expected, though the armor values themselves do not change.

Config snippet

	#Set the values for armor.
	[items.armor]

		#Set the defense value of an armor item. May not work on modded armors, please file an issue if that's the case. Example (without the leading #):
		#"minecraft:golden_chestplate" = 10
		[items.armor.defense]
			"irons_spellbooks:wandering_magician_helmet" = 1
			"irons_spellbooks:pumpkin_helmet" = 1
			"irons_spellbooks:pyromancer_helmet" = 1
			"irons_spellbooks:electromancer_helmet" = 1
			"irons_spellbooks:archevoker_helmet" = 1
			"irons_spellbooks:cultist_helmet" = 1
			"irons_spellbooks:cryomancer_helmet" = 1
			"irons_spellbooks:shadowwalker_helmet" = 1
			"irons_spellbooks:priest_helmet" = 1
			"irons_spellbooks:plagued_helmet" = 1
			"irons_spellbooks:wandering_magician_chestplate" = 3
			"irons_spellbooks:pumpkin_chestplate" = 3
			"irons_spellbooks:pyromancer_chestplate" = 3
			"irons_spellbooks:electromancer_chestplate" = 3
			"irons_spellbooks:archevoker_chestplate" = 3
			"irons_spellbooks:cultist_chestplate" = 3
			"irons_spellbooks:cryomancer_chestplate" = 3
			"irons_spellbooks:shadowwalker_chestplate" = 3
			"irons_spellbooks:priest_chestplate" = 3
			"irons_spellbooks:plagued_chestplate" = 3
			"irons_spellbooks:wandering_magician_leggings" = 2
			"irons_spellbooks:pumpkin_leggings" = 2
			"irons_spellbooks:pyromancer_leggings" = 2
			"irons_spellbooks:electromancer_leggings" = 2
			"irons_spellbooks:archevoker_leggings" = 2
			"irons_spellbooks:cultist_leggings" = 2
			"irons_spellbooks:cryomancer_leggings" = 2
			"irons_spellbooks:shadowwalker_leggings" = 2
			"irons_spellbooks:priest_leggings" = 2
			"irons_spellbooks:plagued_leggings" = 2
			"irons_spellbooks:wandering_magician_boots" = 1
			"irons_spellbooks:pumpkin_boots" = 1
			"irons_spellbooks:pyromancer_boots" = 1
			"irons_spellbooks:electromancer_boots" = 1
			"irons_spellbooks:archevoker_boots" = 1
			"irons_spellbooks:cultist_boots" = 1
			"irons_spellbooks:cryomancer_boots" = 1
			"irons_spellbooks:shadowwalker_boots" = 1
			"irons_spellbooks:priest_boots" = 1
			"irons_spellbooks:plagued_boots" = 1

Screenshots

image

image

Minecraft version

1.19.2

Mod version

propertymodifier-1.19.2-0.3.3

Forge version

1.19.2-forge-43.2.3

commented

I also found that the defense section uses the wrong syntax.

it says defense {} instead of [items.armor.defense], which prevents it from loading unless you change it.