Update GuiConnecting.java

This commit is contained in:
kirillsaint 2023-08-25 00:04:39 +06:00
parent c4158e65ae
commit 037a325799

View File

@ -1,16 +1,7 @@
package net.silentclient.client.gui.minecraft; package net.silentclient.client.gui.minecraft;
import java.awt.Color;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.concurrent.atomic.AtomicInteger;
import net.minecraft.client.Minecraft; import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.Gui; import net.minecraft.client.gui.*;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.GuiDisconnected;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.gui.ScaledResolution;
import net.minecraft.client.multiplayer.ServerAddress; import net.minecraft.client.multiplayer.ServerAddress;
import net.minecraft.client.multiplayer.ServerData; import net.minecraft.client.multiplayer.ServerData;
import net.minecraft.client.multiplayer.WorldClient; import net.minecraft.client.multiplayer.WorldClient;
@ -25,14 +16,20 @@ import net.minecraft.util.ChatComponentTranslation;
import net.minecraft.util.ResourceLocation; import net.minecraft.util.ResourceLocation;
import net.silentclient.client.Client; import net.silentclient.client.Client;
import net.silentclient.client.event.impl.ConnectToServerEvent; import net.silentclient.client.event.impl.ConnectToServerEvent;
import net.silentclient.client.gui.SilentScreen;
import net.silentclient.client.gui.elements.Button; import net.silentclient.client.gui.elements.Button;
import net.silentclient.client.gui.font.SilentFontRenderer; import net.silentclient.client.gui.font.SilentFontRenderer;
import net.silentclient.client.gui.util.RenderUtil; import net.silentclient.client.gui.util.RenderUtil;
import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.Logger;
public class GuiConnecting extends GuiScreen import java.awt.*;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.concurrent.atomic.AtomicInteger;
public class GuiConnecting extends SilentScreen
{ {
private static final AtomicInteger CONNECTION_ID = new AtomicInteger(0); private static final AtomicInteger CONNECTION_ID = new AtomicInteger(0);
private static final Logger logger = LogManager.getLogger(); private static final Logger logger = LogManager.getLogger();