Class DirectJoinServerScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class DirectJoinServerScreen extends Screen
  • Field Details

    • ENTER_IP_LABEL

      private static final Component ENTER_IP_LABEL
    • selectButton

      private Button selectButton
    • serverData

      private final ServerData serverData
    • ipEdit

      private EditBox ipEdit
    • callback

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

      private final Screen lastScreen
  • Constructor Details

    • DirectJoinServerScreen

      public DirectJoinServerScreen(Screen p_95960_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_95961_, ServerData p_95962_)
  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class Screen
    • keyPressed

      public boolean keyPressed(int p_95964_, int p_95965_, int p_95966_)
      Specified by:
      keyPressed in interface ContainerEventHandler
      Specified by:
      keyPressed in interface GuiEventListener
      Overrides:
      keyPressed in class Screen
    • init

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

      public void resize(Minecraft p_95973_, int p_95974_, int p_95975_)
      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(GuiGraphics p_282464_, int p_95969_, int p_95970_, float p_95971_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen