Simply Swords [Fabric & Forge]

Simply Swords [Fabric & Forge]

3M Downloads

Config for Gobber attributes

ImWhiff opened this issue ยท 4 comments

commented

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.

commented

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 ๐Ÿ™‚

commented

How to modify gobber weapon attributes
It seems that you can't modify the weapon attribute of gobber

commented

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.

  1. Download the latest zip from the source by using the Architectury branch (Good news! Sweenus just had a major update [1.40])
    download zip

  2. Unzip the file, and within, select the common folder
    common

  3. In the folder, go through the folders src->main->java->net->sweenus->simplyswords->item, and open the ModToolMaterial JAVA file
    modtoolmaterial

  4. 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)
    gobber

  5. After, go back to the first page of the main file and highlight as shown by just clicking
    highlight

  6. Then, type cmd
    cmd

  7. The command prompt will show up, and simply type "gradlew build"
    gradlew build

  8. It should start building the jar file, and after some time, it will say BUILD SUCCESSFUL as shown
    5m

  9. Close the prompt and on the first page of the main folder, select forge or fabric depending on which you use
    fabric

  10. Lastly, go through the files build->libs and the jar you want is the first one without the words
    simplyswords

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.
sweenus
gobber
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.
priv
Anyway, I hope this helps.

commented

No worries lol. I really appreciate the update tho. Thanks once again!