j_sse
j_sse
JCHJava Community | Help. Code. Learn.
Created by j_sse on 11/15/2024 in #java-help
Need help obfuscating project
Im making a Minecraft 1.8.9 Forge mod and want to obfuscate my project with ProGuard. I linked my gradle build file and my proguard rules file. Error im getting while building:
Can't find common super class of [InstallerFrame] (with 1 known super classes: InstallerFrame and 1 unknown classes: javax.swing.JFrame) and [java.lang.Exception] (with 3 known super classes: java.lang.Throwable, java.lang.Object, java.lang.Exception)
Can't find common super class of [InstallerFrame] (with 1 known super classes: InstallerFrame and 1 unknown classes: javax.swing.JFrame) and [java.lang.Exception] (with 3 known super classes: java.lang.Throwable, java.lang.Object, java.lang.Exception)
Can someone help me?
5 replies
JCHJava Community | Help. Code. Learn.
Created by j_sse on 11/10/2024 in #java-help
Project obfuscation
Hey Im trying to obfuscate my jar file with proguard, but Im having trouble doing so
-dontoptimize
-dontpreverify
-keep class ** { *; }
-ignorewarnings
-dontoptimize
-dontpreverify
-keep class ** { *; }
-ignorewarnings
I do not want to lose any files, I do not want it to get optimized, I just want all files inside of the jesse/scriptmod package to get obfuscated I got a dictionary file that contains all words the obfuscator may use, can someone help me?
146 replies
JCHJava Community | Help. Code. Learn.
Created by j_sse on 11/27/2023 in #java-help
VSCode not finding files
I have forked an existing 1.8.9 minecraft forge mod and am trying to edit the code of this, when I edit the code of this exact mod in VSCode, it can find libraries which are used like
import net.minecraftforge.fml.client.registry.ClientRegistry;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import net.minecraftforge.fml.client.registry.ClientRegistry;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
However when I try to create a new project myself with mostly the same code, it cannot find it. I noticed its getting the files from C:\Users\jesse\.gradle\caches\essential-loom\1.8.9\de.oceanlabs.mcp.mcp_stable.1_8_9.22-1.8.9-forge-1.8.9-11.15.1.2318-1.8.9\forge\forge-mapped.jar Does anyone know why my own project cannot find this file and why the forked version can?
42 replies