Class RealmsCreateRealmScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class RealmsCreateRealmScreen extends RealmsScreen
  • Field Details

    • NAME_LABEL

      private static final Component NAME_LABEL
    • DESCRIPTION_LABEL

      private static final Component DESCRIPTION_LABEL
    • server

      private final RealmsServer server
    • lastScreen

      private final RealmsMainScreen lastScreen
    • nameBox

      private EditBox nameBox
    • descriptionBox

      private EditBox descriptionBox
    • createButton

      private Button createButton
  • Constructor Details

  • Method Details

    • tick

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

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

      public boolean charTyped(char p_88577_, int p_88578_)
    • keyPressed

      public boolean keyPressed(int p_88580_, int p_88581_, int p_88582_)
      Specified by:
      keyPressed in interface ContainerEventHandler
      Specified by:
      keyPressed in interface GuiEventListener
      Overrides:
      keyPressed in class Screen
    • createWorld

      private void createWorld()
    • valid

      private boolean valid()
    • render

      public void render(GuiGraphics p_283245_, int p_283409_, int p_282805_, float p_282071_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen