Class EditServerScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class EditServerScreen extends Screen
  • Field Details

    • NAME_LABEL

      private static final Component NAME_LABEL
    • IP_LABEL

      private static final Component IP_LABEL
    • addButton

      private Button addButton
    • callback

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

      private final ServerData serverData
    • ipEdit

      private EditBox ipEdit
    • nameEdit

      private EditBox nameEdit
    • lastScreen

      private final Screen lastScreen
  • Constructor Details

    • EditServerScreen

      public EditServerScreen(Screen p_96017_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_96018_, ServerData p_96019_)
  • Method Details

    • tick

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

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

      public void resize(Minecraft p_96026_, int p_96027_, int p_96028_)
      Overrides:
      resize in class Screen
    • onAdd

      private void onAdd()
    • onClose

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

      private void updateAddButtonStatus()
    • render

      public void render(GuiGraphics p_282351_, int p_96022_, int p_96023_, float p_96024_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen