Class RealmsConfirmScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class RealmsConfirmScreen extends RealmsScreen
  • Field Details

    • callback

      protected it.unimi.dsi.fastutil.booleans.BooleanConsumer callback
    • title1

      private final Component title1
    • title2

      private final Component title2
  • Constructor Details

    • RealmsConfirmScreen

      public RealmsConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, Component pTitle1, Component pTitle2)
  • Method Details

    • init

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

      public void render(GuiGraphics p_282610_, int p_282200_, int p_283480_, float p_281259_)
      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_282610_ - the GuiGraphics object used for rendering.
      p_282200_ - the x-coordinate of the mouse cursor.
      p_283480_ - the y-coordinate of the mouse cursor.
      p_281259_ - the partial tick time.