From d1a91f7effc54460eb1e71f6df4cb4b2633f4a9c Mon Sep 17 00:00:00 2001 From: FlashyGuitar603 <61090010+BigGame2004@users.noreply.github.com> Date: Wed, 15 Apr 2026 05:52:33 -0700 Subject: [PATCH 1/3] Update README.md --- README.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index fc6156c5..0f3426ad 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,2 @@ -# Techguns2 - -1.12.2 Port/Rewrite of Techguns mod for Minecraft. WIP - -Techguns 2 is still an early version and not well tested. Bugs may happen. Use at own risk. - -Mod Information: https://github.com/pWn3d1337/Techguns2/wiki +Compiling instrutions: +Clone this repository, change gradle jvm to 1.8, sync the gradle project (wait for it to error out) then run the "setupDecompWorkSpace" and "build" gradle commands and wait (a long time). From da128c1e48b64e57de0f145d6d73668ac7b409dc Mon Sep 17 00:00:00 2001 From: FlashyGuitar603 Date: Wed, 15 Apr 2026 05:57:56 -0700 Subject: [PATCH 2/3] Fixed gradle and compile errors (it's not nice, but it works) --- .gitignore | 1 - build.gradle | 63 +++++++++++-------- gradle/wrapper/gradle-wrapper.properties | 6 ++ .../java/techguns/client/ClientProxy.java | 2 +- 4 files changed, 45 insertions(+), 27 deletions(-) create mode 100644 gradle/wrapper/gradle-wrapper.properties diff --git a/.gitignore b/.gitignore index b348090a..2e162c41 100644 --- a/.gitignore +++ b/.gitignore @@ -28,7 +28,6 @@ run /README.txt /forge-1.12-14.21.0.2321-changelog.txt /gradle/wrapper/gradle-wrapper.jar -/gradle/wrapper/gradle-wrapper.properties /gradlew /gradlew.bat /logs/latest.log diff --git a/build.gradle b/build.gradle index 58caf2ab..fd4b1a1a 100644 --- a/build.gradle +++ b/build.gradle @@ -1,11 +1,17 @@ buildscript { - repositories { - jcenter() - maven { url = "http://files.minecraftforge.net/maven" } - } - dependencies { - classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' - } + repositories { + jcenter() + maven { + name = "forge" + url = "https://files.minecraftforge.net/maven" + } + } + dependencies { + classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' + } +} +plugins { + id 'com.matthewprenger.cursegradle' version '1.0.9' } apply plugin: 'net.minecraftforge.gradle.forge' //Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. @@ -37,6 +43,10 @@ repositories { maven { url 'https://repo.elytradev.com/' } + maven { + name = "CurseMaven" + url = "https://cursemaven.com" + } maven { // location of the maven that hosts JEI files name = "Progwml6 maven" @@ -52,14 +62,14 @@ repositories { url = "https://minecraft.curseforge.com/api/maven/" } //ivy { name "com.latmod.mods"; artifactPattern "http://mods.latmod.com/[module]/[revision]/[module]-[revision](-[classifier]).[ext]" } - maven { - name="Latmods" - url "https://maven.latmod.com/" - } - maven { - name = "OpenComputers" - url = "http://maven.cil.li/" - } + //maven { + // name="Latmods" + // url "https://maven.latmod.com/" + //} + //maven { + // name = "OpenComputers" + // url = "http://maven.cil.li/" + //} } dependencies { // you may put jars on which you depend on in ./libs @@ -85,24 +95,27 @@ dependencies { //compile 'elucent:albedo:2.0-SNAPSHOT' //deobfCompile 'albedo:albedo:0.1.3:deobf' - compile 'albedo:albedo:1.12.2:1.1.0' - - compile 'crafttweaker:CraftTweaker2:1.12:4.1.13' + compileOnly 'albedo:albedo:1.12.2:1.1.0' + + compileOnly 'crafttweaker:CraftTweaker2:1.12:4.1.13' //provided 'chisel:Chisel-MC1.12:0.0.14.18:api' //provided 'chisel:Chisel:MC1.12:0.0.14.18' - - compile 'the-lost-cities:lostcities:1.12:2.0.12' - + + compileOnly 'the-lost-cities:lostcities:1.12:2.0.12' + + compileOnly "curse.maven:ftb-library-legacy-forge-237167:2985811" //compile 'com.latmod.mods:FTBLib:4.2.5:api' - deobfCompile "com.feed_the_beast.mods:FTBLib:5.4.0.64" + //deobfCompile "com.feed_the_beast.mods:FTBLib:5.4.0.64" // compile against the JEI API but do not include it at runtime - deobfProvided "mezz.jei:jei_${mc_version}:${jei_version}:api" + //deobfProvided "mezz.jei:jei_${mc_version}:${jei_version}:api" // at runtime, use the full JEI jar - runtime "mezz.jei:jei_${mc_version}:${jei_version}" + //runtime "mezz.jei:jei_${mc_version}:${jei_version}" + compileOnly "curse.maven:jei-238222:5846804" - deobfCompile "li.cil.oc:OpenComputers:${openComputersVersion}" + //deobfCompile "li.cil.oc:OpenComputers:${openComputersVersion}" + compileOnly "curse.maven:opencomputers-223008:6608365" } processResources { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 00000000..7b7bba6a --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Mon Mar 30 05:21:44 PDT 2026 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-4.8.1-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/src/main/java/techguns/client/ClientProxy.java b/src/main/java/techguns/client/ClientProxy.java index 7f827c9e..51c541b4 100644 --- a/src/main/java/techguns/client/ClientProxy.java +++ b/src/main/java/techguns/client/ClientProxy.java @@ -9,7 +9,7 @@ import java.util.Map; import java.util.UUID; -import com.feed_the_beast.ftblib.lib.client.ModelBase; +//import com.feed_the_beast.ftblib.lib.client.ModelBase; import micdoodle8.mods.galacticraft.api.client.tabs.InventoryTabVanilla; import micdoodle8.mods.galacticraft.api.client.tabs.TabRegistry; From fd438de21ca4f80bb2adcf525a50d805f8e45d3b Mon Sep 17 00:00:00 2001 From: FlashyGuitar603 <61090010+BigGame2004@users.noreply.github.com> Date: Wed, 15 Apr 2026 06:00:33 -0700 Subject: [PATCH 3/3] Update README.md --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0f3426ad..fc6156c5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ -Compiling instrutions: -Clone this repository, change gradle jvm to 1.8, sync the gradle project (wait for it to error out) then run the "setupDecompWorkSpace" and "build" gradle commands and wait (a long time). +# Techguns2 + +1.12.2 Port/Rewrite of Techguns mod for Minecraft. WIP + +Techguns 2 is still an early version and not well tested. Bugs may happen. Use at own risk. + +Mod Information: https://github.com/pWn3d1337/Techguns2/wiki