Class AddRealmPopupScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class AddRealmPopupScreen extends RealmsScreen
  • Field Details

  • Constructor Details

    • AddRealmPopupScreen

      public AddRealmPopupScreen(Screen pBackgroundScreen, boolean pTrialAvailable)
  • Method Details

    • updateCarouselImages

      public static void updateCarouselImages(ResourceManager pResourceManager)
    • init

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

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

      public void render(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick)
      Renders the graphical user interface (GUI) element.
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
      Parameters:
      pGuiGraphics - the GuiGraphics object used for rendering.
      pMouseX - the x-coordinate of the mouse cursor.
      pMouseY - the y-coordinate of the mouse cursor.
      pPartialTick - the partial tick time.
    • renderDiamond

      public static void renderDiamond(GuiGraphics pGuiGraphics, Button pButton)
    • renderBackground

      public void renderBackground(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick)
      Overrides:
      renderBackground in class Screen
    • left

      private int left()
    • top

      private int top()
    • right

      private int right()
    • bottom

      private int bottom()
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen