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 p_345725_, int p_345936_, int p_345896_, float p_345975_)
      Description copied from class: Screen
      Neo: mixins targeting this method won't fire for container screens as AbstractContainerScreen.render(net.minecraft.client.gui.GuiGraphics, int, int, float) replicates this method in place of a super call to insert an event
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
      Parameters:
      p_345725_ - the GuiGraphics object used for rendering.
      p_345936_ - the x-coordinate of the mouse cursor.
      p_345896_ - the y-coordinate of the mouse cursor.
      p_345975_ - the partial tick time.
    • renderDiamond

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

      public void renderBackground(GuiGraphics p_346027_, int p_345796_, int p_345649_, float p_345603_)
      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