Class ServerListScreen

All Implemented Interfaces:
IGuiEventListener, INestedGuiEventHandler, IRenderable, IScreen

public class ServerListScreen extends Screen
  • Field Details

    • ENTER_IP_LABEL

      private static final ITextComponent ENTER_IP_LABEL
    • selectButton

      private Button selectButton
    • serverData

      private final ServerData serverData
    • ipEdit

      private TextFieldWidget ipEdit
    • callback

      private final it.unimi.dsi.fastutil.booleans.BooleanConsumer callback
    • lastScreen

      private final Screen lastScreen
  • Constructor Details

    • ServerListScreen

      public ServerListScreen(Screen p_i225926_1_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_i225926_2_, ServerData p_i225926_3_)
  • Method Details

    • tick

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

      public boolean keyPressed(int p_231046_1_, int p_231046_2_, int p_231046_3_)
      Specified by:
      keyPressed in interface IGuiEventListener
      Specified by:
      keyPressed in interface INestedGuiEventHandler
      Overrides:
      keyPressed in class Screen
    • init

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

      public void resize(Minecraft p_231152_1_, int p_231152_2_, int p_231152_3_)
      Overrides:
      resize in class Screen
    • onSelect

      private void onSelect()
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
    • removed

      public void removed()
      Overrides:
      removed in class Screen
    • updateSelectButtonStatus

      private void updateSelectButtonStatus()
    • 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