Class ConnectingScreen

All Implemented Interfaces:
IGuiEventListener, INestedGuiEventHandler, IRenderable, IScreen

public class ConnectingScreen extends Screen
  • Field Details

    • UNIQUE_THREAD_ID

      private static final AtomicInteger UNIQUE_THREAD_ID
    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • connection

      private NetworkManager connection
    • aborted

      private boolean aborted
    • parent

      private final Screen parent
    • status

      private ITextComponent status
    • lastNarration

      private long lastNarration
  • Constructor Details

    • ConnectingScreen

      public ConnectingScreen(Screen p_i1181_1_, Minecraft p_i1181_2_, ServerData p_i1181_3_)
    • ConnectingScreen

      public ConnectingScreen(Screen p_i1182_1_, Minecraft p_i1182_2_, String p_i1182_3_, int p_i1182_4_)
  • Method Details

    • connect

      private void connect(String p_146367_1_, int p_146367_2_)
    • updateStatus

      private void updateStatus(ITextComponent p_209514_1_)
    • tick

      public void tick()
      Specified by:
      tick in interface IScreen
      Overrides:
      tick in class Screen
    • shouldCloseOnEsc

      public boolean shouldCloseOnEsc()
      Overrides:
      shouldCloseOnEsc in class Screen
    • init

      protected void init()
      Overrides:
      init in class Screen
    • render

      public void render(MatrixStack p_230430_1_, int p_230430_2_, int p_230430_3_, float p_230430_4_)
      Specified by:
      render in interface IRenderable
      Overrides:
      render in class Screen