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(PoseStack p_88584_, int p_88585_, int p_88586_, float p_88587_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen