Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.19.2] Unable to modify modded armors #17

Open
B4CKU opened this issue Jun 8, 2023 · 1 comment
Open

[1.19.2] Unable to modify modded armors #17

B4CKU opened this issue Jun 8, 2023 · 1 comment

Comments

@B4CKU
Copy link

B4CKU commented Jun 8, 2023

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

@vizthex123
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants