Config for Gobber attributes
ImWhiff opened this issue ยท 4 comments
Would it be possible to add in the configs to have the option to configure weapon attributes from the Gobber mod? I customized the configs from the original mod, and I was hoping I could have similar attributes of that in the Gobber weapons from this mod.
That's awesome that you figured that out, ImWhiff - and I'm sorry you had to go through that whole process!
I've gone ahead and added Gobber & Mythic Metal damage modifiers into the Weapon Attributes config in the latest version - hopefully that makes life a bit easier ๐
How to modify gobber weapon attributes
It seems that you can't modify the weapon attribute of gobber
Yeah, you can't change the attributes through the config file. I downloaded the source zip file and changed the attributes from within, and then built the jar file.
Here are the steps I did that worked for me.
-
Download the latest zip from the source by using the Architectury branch (Good news! Sweenus just had a major update [1.40])
-
In the folder, go through the folders src->main->java->net->sweenus->simplyswords->item, and open the ModToolMaterial JAVA file
-
Scroll down until you see the GOBBER attributes, and change them to your liking (note: the order goes from mining level, durability, mining speed, attack damage, and enchantability as written on the bottom)
-
After, go back to the first page of the main file and highlight as shown by just clicking
-
The command prompt will show up, and simply type "gradlew build"
-
It should start building the jar file, and after some time, it will say BUILD SUCCESSFUL as shown
-
Close the prompt and on the first page of the main folder, select forge or fabric depending on which you use
-
Lastly, go through the files build->libs and the jar you want is the first one without the words
I believe you can do this kind of internal changes with any mod that has open source file that does not have a private lib and has gradlew.bat in their zip, but anyone correct me if I am wrong. For example, the original Gobber mod has a private lib; therefore, you cannot gradlew build it and get the jar file with the changes you made.
As you can see, kwpugh has a private lib, and does not have the gradlew.bat property. I know this, because for some reason, changing the weapon attributes within the gobber config file causes axe and sword to have the same damage which I wanted to change because it makes no sense for the attributes to be the same, but alas, I found out I couldn't make any changes.
Anyway, I hope this helps.