Class RealmsBrokenWorldScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • SLOT_FRAME_TEXTURE

      private static final Identifier SLOT_FRAME_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named SLOT_FRAME_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;SLOT_FRAME_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45239 Lnet/minecraft/class_4384;field_45239:Lnet/minecraft/class_2960;
      official a Lfcn;a:Lalf;
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;LOGGER:Lorg/slf4j/Logger;
      intermediary field_19763 Lnet/minecraft/class_4384;field_19763:Lorg/slf4j/Logger;
      official b Lfcn;b:Lorg/slf4j/Logger;
    • field_32120

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

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_19764 Lnet/minecraft/class_4384;field_19764:Lnet/minecraft/class_437;
      official B Lfcn;B:Lfne;
    • serverData

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

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

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

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

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

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

    • RealmsBrokenWorldScreen

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

      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 aM_ Lfne;aM_()V
    • getNarratedTitle

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

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

      public void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
      intermediary method_25393 Lnet/minecraft/class_437;method_25393()V
      official e Lfne;e()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 Lfii;a(Lfgs;IIF)V
    • getFramePositionX

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

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

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

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

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official d Lfne;d()V
    • isMinigame

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

      private void drawSlotFrame(DrawContext context, 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
      named drawSlotFrame Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;drawSlotFrame(Lnet/minecraft/client/gui/DrawContext;IIIIZLjava/lang/String;IJLjava/lang/String;Z)V
      intermediary method_21180 Lnet/minecraft/class_4384;method_21180(Lnet/minecraft/class_332;IIIIZLjava/lang/String;IJLjava/lang/String;Z)V
      official a Lfcn;a(Lfgs;IIIIZLjava/lang/String;IJLjava/lang/String;Z)V