Class RealmsConfirmScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • callback

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

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

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

    • RealmsConfirmScreen

      public RealmsConfirmScreen(BooleanConsumer callback, Text title1, Text title2)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lelb;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lsw;Lsw;)V
      intermediary <init> Lnet/minecraft/class_4389;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V
      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
  • 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(net.minecraft.client.gui.Element) to set the element that is initially focused.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Leuq;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()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
      official a Leqh;a(Leox;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V