Class RealmsBrokenWorldScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Ldut;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_19763 Lnet/minecraft/class_4384;field_19763:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
    • field_32120

      private static final int field_32120
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ldut;b:I
      intermediary field_32120 Lnet/minecraft/class_4384;field_32120:I
      named field_32120 Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;field_32120:I
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      official c Ldut;c:Lecr;
      intermediary field_19764 Lnet/minecraft/class_4384;field_19764:Lnet/minecraft/class_437;
      named parent Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
    • mainScreen

      private final RealmsMainScreen mainScreen
      Mappings:
      Namespace Name Mixin selector
      official R Ldut;R:Ldst;
      intermediary field_19765 Lnet/minecraft/class_4384;field_19765:Lnet/minecraft/class_4325;
      named mainScreen Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;mainScreen:Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;
    • serverData

      @Nullable private @Nullable RealmsServer serverData
      Mappings:
      Namespace Name Mixin selector
      official S Ldut;S:Ldto;
      intermediary field_20492 Lnet/minecraft/class_4384;field_20492:Lnet/minecraft/class_4877;
      named serverData Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
    • serverId

      private final long serverId
      Mappings:
      Namespace Name Mixin selector
      official T Ldut;T:J
      intermediary field_19767 Lnet/minecraft/class_4384;field_19767:J
      named serverId Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;serverId:J
    • message

      private final Text[] message
      Mappings:
      Namespace Name Mixin selector
      official U Ldut;U:[Lpz;
      intermediary field_19769 Lnet/minecraft/class_4384;field_19769:[Lnet/minecraft/class_2561;
      named message Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;message:[Lnet/minecraft/text/Text;
    • left_x

      private int left_x
      Mappings:
      Namespace Name Mixin selector
      official V Ldut;V:I
      intermediary field_19770 Lnet/minecraft/class_4384;field_19770:I
      named left_x Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;left_x:I
    • right_x

      private int right_x
      Mappings:
      Namespace Name Mixin selector
      official W Ldut;W:I
      intermediary field_19771 Lnet/minecraft/class_4384;field_19771:I
      named right_x Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;right_x:I
    • slotsThatHasBeenDownloaded

      private final List<Integer> slotsThatHasBeenDownloaded
      Mappings:
      Namespace Name Mixin selector
      official X Ldut;X:Ljava/util/List;
      intermediary field_19778 Lnet/minecraft/class_4384;field_19778:Ljava/util/List;
      named slotsThatHasBeenDownloaded Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;slotsThatHasBeenDownloaded:Ljava/util/List;
    • animTick

      private int animTick
      Mappings:
      Namespace Name Mixin selector
      official Y Ldut;Y:I
      intermediary field_19779 Lnet/minecraft/class_4384;field_19779:I
      named animTick Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;animTick:I
  • Constructor Details

    • RealmsBrokenWorldScreen

      public RealmsBrokenWorldScreen(Screen parent, RealmsMainScreen mainScreen, long serverId, boolean minigame)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldut;<init>(Lecr;Ldst;JZ)V
      intermediary <init> Lnet/minecraft/class_4384;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4325;JZ)V
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;JZ)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.

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

      public Text getNarratedTitle()
      Overrides:
      getNarratedTitle in class Screen
      Mappings:
      Namespace Name Mixin selector
      official ae_ Lecr;ae_()Lpz;
      intermediary method_25435 Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
      named getNarratedTitle Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
    • addButtons

      private void addButtons()
      Mappings:
      Namespace Name Mixin selector
      official v Ldut;v()V
      intermediary method_21178 Lnet/minecraft/class_4384;method_21178()V
      named addButtons Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;addButtons()V
    • tick

      public void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      official d Lecr;d()V
      intermediary method_25393 Lnet/minecraft/class_437;method_25393()V
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
    • render

      public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Ldzv;a(Ldsj;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
    • getFramePositionX

      private int getFramePositionX(int i)
      Mappings:
      Namespace Name Mixin selector
      official a Ldut;a(I)I
      intermediary method_21179 Lnet/minecraft/class_4384;method_21179(I)I
      named getFramePositionX Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;getFramePositionX(I)I
    • removed

      public void removed()
      Overrides:
      removed in class Screen
      Mappings:
      Namespace Name Mixin selector
      official e Lecr;e()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
    • keyPressed

      public boolean keyPressed(int keyCode, int scanCode, int modifiers)
      Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
      Specified by:
      keyPressed in interface Element
      Specified by:
      keyPressed in interface ParentElement
      Overrides:
      keyPressed in class Screen
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      scanCode - the unique/platform-specific scan code of the keyboard input
      modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldzy;a(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
    • backButtonClicked

      private void backButtonClicked()
      Mappings:
      Namespace Name Mixin selector
      official w Ldut;w()V
      intermediary method_21194 Lnet/minecraft/class_4384;method_21194()V
      named backButtonClicked Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;backButtonClicked()V
    • fetchServerData

      private void fetchServerData(long worldId)
      Mappings:
      Namespace Name Mixin selector
      official a Ldut;a(J)V
      intermediary method_21181 Lnet/minecraft/class_4384;method_21181(J)V
      named fetchServerData Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;fetchServerData(J)V
    • play

      public void play()
      Mappings:
      Namespace Name Mixin selector
      official c Ldut;c()V
      intermediary method_25123 Lnet/minecraft/class_4384;method_25123()V
      named play Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;play()V
    • downloadWorld

      private void downloadWorld(int slotId)
      Mappings:
      Namespace Name Mixin selector
      official b Ldut;b(I)V
      intermediary method_21187 Lnet/minecraft/class_4384;method_21187(I)V
      named downloadWorld Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;downloadWorld(I)V
    • isMinigame

      private boolean isMinigame()
      Mappings:
      Namespace Name Mixin selector
      official x Ldut;x()Z
      intermediary method_21196 Lnet/minecraft/class_4384;method_21196()Z
      named isMinigame Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;isMinigame()Z
    • drawSlotFrame

      private void drawSlotFrame(MatrixStack matrices, int x, int y, int mouseX, int mouseY, boolean activeSlot, String slotName, int slotId, long templateId, @Nullable @Nullable String templateImage, boolean empty)
      Mappings:
      Namespace Name Mixin selector
      official a Ldut;a(Ldsj;IIIIZLjava/lang/String;IJLjava/lang/String;Z)V
      intermediary method_21180 Lnet/minecraft/class_4384;method_21180(Lnet/minecraft/class_4587;IIIIZLjava/lang/String;IJLjava/lang/String;Z)V
      named drawSlotFrame Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;drawSlotFrame(Lnet/minecraft/client/util/math/MatrixStack;IIIIZLjava/lang/String;IJLjava/lang/String;Z)V