This commit is contained in:
kirillsaint 2023-07-08 13:15:54 +06:00
parent 0698c17c61
commit cf6a7e8c1c
3 changed files with 41 additions and 4 deletions

View File

@ -24,9 +24,13 @@ jobs:
- name: Execute Gradle build - name: Execute Gradle build
run: ./gradlew setupDecompWorkspace clean build --refresh-dependencies run: ./gradlew setupDecompWorkspace clean build --refresh-dependencies
- name: Obfuscating Jar - name: Copying JAR to AutoBuilder
working-directory: ./autobuilder working-directory: ./autobuilder
run: mkdir ./jars && java -jar obfuscator.jar --jarIn ../build/libs/client-1.8.9.jar --jarOut ./jars/Client.jar --scriptFile obfuscationScript.js --config config run: mkdir ./jars && cp ../build/libs/client-1.8.9.jar ./jars/Client.jar
# - name: Obfuscating Jar
# working-directory: ./autobuilder
# run: mkdir ./jars && java -jar obfuscator.jar --jarIn ../build/libs/client-1.8.9.jar --jarOut ./jars/Client.jar --scriptFile obfuscationScript.js --config config
- name: Building Jar with Libraries - name: Building Jar with Libraries
working-directory: ./autobuilder working-directory: ./autobuilder

View File

@ -16,10 +16,10 @@ import net.silentclient.client.event.impl.ConnectToServerEvent;
import net.silentclient.client.event.impl.ServerLeaveEvent; import net.silentclient.client.event.impl.ServerLeaveEvent;
import net.silentclient.client.event.impl.SingleplayerJoinEvent; import net.silentclient.client.event.impl.SingleplayerJoinEvent;
import net.silentclient.client.gui.GuiError; import net.silentclient.client.gui.GuiError;
import net.silentclient.client.gui.lite.GuiNews;
import net.silentclient.client.gui.lite.clickgui.ClickGUI;
import net.silentclient.client.gui.font.SilentFontRenderer; import net.silentclient.client.gui.font.SilentFontRenderer;
import net.silentclient.client.gui.lite.GuiNews;
import net.silentclient.client.gui.lite.LiteMainMenu; import net.silentclient.client.gui.lite.LiteMainMenu;
import net.silentclient.client.gui.lite.clickgui.ClickGUI;
import net.silentclient.client.gui.silentmainmenu.SilentMainMenu; import net.silentclient.client.gui.silentmainmenu.SilentMainMenu;
import net.silentclient.client.gui.util.BackgroundPanorama; import net.silentclient.client.gui.util.BackgroundPanorama;
import net.silentclient.client.keybinds.KeyBindManager; import net.silentclient.client.keybinds.KeyBindManager;

View File

@ -1,6 +1,39 @@
package net.silentclient.client.gui.modmenu; package net.silentclient.client.gui.modmenu;
import net.minecraft.client.gui.GuiButton;
import net.silentclient.client.gui.SilentScreen; import net.silentclient.client.gui.SilentScreen;
import net.silentclient.client.mods.ModCategory;
import java.io.IOException;
public class ModMenu extends SilentScreen { public class ModMenu extends SilentScreen {
private ModCategory modCategory;
public ModMenu() {
this(ModCategory.MODS);
}
public ModMenu(ModCategory category) {
this.modCategory = category;
}
@Override
public void initGui() {
super.initGui();
}
@Override
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
super.drawScreen(mouseX, mouseY, partialTicks);
}
@Override
protected void actionPerformed(GuiButton button) throws IOException {
super.actionPerformed(button);
}
@Override
protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws IOException {
super.mouseClicked(mouseX, mouseY, mouseButton);
}
} }