Class RealmsConfirmScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class RealmsConfirmScreen extends RealmsScreen
Mappings:
Namespace Name
named net/minecraft/client/realms/gui/screen/RealmsConfirmScreen
intermediary net/minecraft/class_4389
official fds
  • Field Details

    • callback

      protected BooleanConsumer callback
      Mappings:
      Namespace Name Mixin selector
      named callback Lnet/minecraft/client/realms/gui/screen/RealmsConfirmScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
      intermediary field_22692 Lnet/minecraft/class_4389;field_22692:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
      official a Lfds;a:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
    • title1

      private final Text title1
      Mappings:
      Namespace Name Mixin selector
      named title1 Lnet/minecraft/client/realms/gui/screen/RealmsConfirmScreen;title1:Lnet/minecraft/text/Text;
      intermediary field_19821 Lnet/minecraft/class_4389;field_19821:Lnet/minecraft/class_2561;
      official b Lfds;b:Lwy;
    • title2

      private final Text title2
      Mappings:
      Namespace Name Mixin selector
      named title2 Lnet/minecraft/client/realms/gui/screen/RealmsConfirmScreen;title2:Lnet/minecraft/text/Text;
      intermediary field_19825 Lnet/minecraft/class_4389;field_19825:Lnet/minecraft/class_2561;
      official c Lfds;c:Lwy;
  • Constructor Details

    • RealmsConfirmScreen

      public RealmsConfirmScreen(BooleanConsumer callback, Text title1, Text title2)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsConfirmScreen;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_4389;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V
      official <init> Lfds;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lwy;Lwy;)V
  • Method Details

    • init

      public void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      This should call Screen.setInitialFocus() to set the element that is initially focused.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official aP_ Lfnx;aP_()V
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfjj;a(Lfht;IIF)V