sefodopo / FabricAutoBackup

GNU General Public License v3.0
6 stars 2 forks source link

1.18 support #15

Open ublubu opened 2 years ago

ublubu commented 2 years ago

I changed the Minecraft version constraint in fabric.mod.json inside the JAR, which gets it working in 1.18.

i.e. I unzipped the JAR, changed this line to "minecraft": "1.18.x", and zipped the JAR back up: https://github.com/sefodopo/FabricAutoBackup/blob/9904072c05617fb15bbc863f60fa2066c860514f/src/main/resources/fabric.mod.json#L35

I did the same thing for https://github.com/LoganDark/fabric-languagehack

Dunno what changes are needed to do this the right way, but this quick hack got me running. Maybe we can get by with more permissive version bounds on these two mods. (>=1.17.0?)

(side note: I would've built from source, but I ran into a could not resolve plugin artifact 'fabric-loom:fabric-loom.gradle.plugin:0.8-SNAPSHOT' on gradle build.)

Grawl commented 2 years ago

seems like its not working even if I change required Minecraft version in jar file (I did it using 7zip)

autobackup-1.18.2-1.4.5.zip

mod loaded, I see it in mods menu, I can change its settings, but /backup command is not available and no backups created after default 60 seconds interval.