Class RealmsResetWorldScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

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

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Ldvi;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_19999 Lnet/minecraft/class_4410;field_19999:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
    • SLOT_FRAME_TEXTURE

      private static final Identifier SLOT_FRAME_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official V Ldvi;V:Lyh;
      intermediary field_22713 Lnet/minecraft/class_4410;field_22713:Lnet/minecraft/class_2960;
      named SLOT_FRAME_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;SLOT_FRAME_TEXTURE:Lnet/minecraft/util/Identifier;
    • UPLOAD_TEXTURE

      private static final Identifier UPLOAD_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official W Ldvi;W:Lyh;
      intermediary field_22714 Lnet/minecraft/class_4410;field_22714:Lnet/minecraft/class_2960;
      named UPLOAD_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;UPLOAD_TEXTURE:Lnet/minecraft/util/Identifier;
    • ADVENTURE_TEXTURE

      private static final Identifier ADVENTURE_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official X Ldvi;X:Lyh;
      intermediary field_22715 Lnet/minecraft/class_4410;field_22715:Lnet/minecraft/class_2960;
      named ADVENTURE_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;ADVENTURE_TEXTURE:Lnet/minecraft/util/Identifier;
    • SURVIVAL_SPAWN_TEXTURE

      private static final Identifier SURVIVAL_SPAWN_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official Y Ldvi;Y:Lyh;
      intermediary field_22716 Lnet/minecraft/class_4410;field_22716:Lnet/minecraft/class_2960;
      named SURVIVAL_SPAWN_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;SURVIVAL_SPAWN_TEXTURE:Lnet/minecraft/util/Identifier;
    • NEW_WORLD_TEXTURE

      private static final Identifier NEW_WORLD_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official Z Ldvi;Z:Lyh;
      intermediary field_22708 Lnet/minecraft/class_4410;field_22708:Lnet/minecraft/class_2960;
      named NEW_WORLD_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;NEW_WORLD_TEXTURE:Lnet/minecraft/util/Identifier;
    • EXPERIENCE_TEXTURE

      private static final Identifier EXPERIENCE_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official aa Ldvi;aa:Lyh;
      intermediary field_22709 Lnet/minecraft/class_4410;field_22709:Lnet/minecraft/class_2960;
      named EXPERIENCE_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;EXPERIENCE_TEXTURE:Lnet/minecraft/util/Identifier;
    • INSPIRATION_TEXTURE

      private static final Identifier INSPIRATION_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official ab Ldvi;ab:Lyh;
      intermediary field_22710 Lnet/minecraft/class_4410;field_22710:Lnet/minecraft/class_2960;
      named INSPIRATION_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;INSPIRATION_TEXTURE:Lnet/minecraft/util/Identifier;
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      official c Ldvi;c:Lecr;
      intermediary field_20000 Lnet/minecraft/class_4410;field_20000:Lnet/minecraft/class_437;
      named parent Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
    • serverData

      private final RealmsServer serverData
      Mappings:
      Namespace Name Mixin selector
      official R Ldvi;R:Ldto;
      intermediary field_20001 Lnet/minecraft/class_4410;field_20001:Lnet/minecraft/class_4877;
      named serverData Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
    • subtitle

      private Text subtitle
      Mappings:
      Namespace Name Mixin selector
      official S Ldvi;S:Lpz;
      intermediary field_20006 Lnet/minecraft/class_4410;field_20006:Lnet/minecraft/class_2561;
      named subtitle Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;subtitle:Lnet/minecraft/text/Text;
    • buttonTitle

      private Text buttonTitle
      Mappings:
      Namespace Name Mixin selector
      official T Ldvi;T:Lpz;
      intermediary field_20007 Lnet/minecraft/class_4410;field_20007:Lnet/minecraft/class_2561;
      named buttonTitle Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;buttonTitle:Lnet/minecraft/text/Text;
    • subtitleColor

      private int subtitleColor
      Mappings:
      Namespace Name Mixin selector
      official U Ldvi;U:I
      intermediary field_20008 Lnet/minecraft/class_4410;field_20008:I
      named subtitleColor Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;subtitleColor:I
    • normalWorldTemplates

      WorldTemplatePaginatedList normalWorldTemplates
      Mappings:
      Namespace Name Mixin selector
      official ac Ldvi;ac:Lduf;
      intermediary field_20495 Lnet/minecraft/class_4410;field_20495:Lnet/minecraft/class_4891;
      named normalWorldTemplates Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;normalWorldTemplates:Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;
    • adventureWorldTemplates

      WorldTemplatePaginatedList adventureWorldTemplates
      Mappings:
      Namespace Name Mixin selector
      official ad Ldvi;ad:Lduf;
      intermediary field_20496 Lnet/minecraft/class_4410;field_20496:Lnet/minecraft/class_4891;
      named adventureWorldTemplates Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;adventureWorldTemplates:Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;
    • experienceWorldTemplates

      WorldTemplatePaginatedList experienceWorldTemplates
      Mappings:
      Namespace Name Mixin selector
      official ae Ldvi;ae:Lduf;
      intermediary field_20497 Lnet/minecraft/class_4410;field_20497:Lnet/minecraft/class_4891;
      named experienceWorldTemplates Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;experienceWorldTemplates:Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;
    • inspirationWorldTemplates

      WorldTemplatePaginatedList inspirationWorldTemplates
      Mappings:
      Namespace Name Mixin selector
      official af Ldvi;af:Lduf;
      intermediary field_20498 Lnet/minecraft/class_4410;field_20498:Lnet/minecraft/class_4891;
      named inspirationWorldTemplates Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;inspirationWorldTemplates:Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;
    • slot

      public int slot
      Mappings:
      Namespace Name Mixin selector
      official a Ldvi;a:I
      intermediary field_19998 Lnet/minecraft/class_4410;field_19998:I
      named slot Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;slot:I
    • resetTitle

      private Text resetTitle
      Mappings:
      Namespace Name Mixin selector
      official ag Ldvi;ag:Lpz;
      intermediary field_20501 Lnet/minecraft/class_4410;field_20501:Lnet/minecraft/class_2561;
      named resetTitle Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;resetTitle:Lnet/minecraft/text/Text;
    • resetCallback

      private final Runnable resetCallback
      Mappings:
      Namespace Name Mixin selector
      official ah Ldvi;ah:Ljava/lang/Runnable;
      intermediary field_22711 Lnet/minecraft/class_4410;field_22711:Ljava/lang/Runnable;
      named resetCallback Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;resetCallback:Ljava/lang/Runnable;
    • selectFileUploadCallback

      private final Runnable selectFileUploadCallback
      Mappings:
      Namespace Name Mixin selector
      official ai Ldvi;ai:Ljava/lang/Runnable;
      intermediary field_22712 Lnet/minecraft/class_4410;field_22712:Ljava/lang/Runnable;
      named selectFileUploadCallback Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;selectFileUploadCallback:Ljava/lang/Runnable;
  • Constructor Details

    • RealmsResetWorldScreen

      public RealmsResetWorldScreen(Screen parent, RealmsServer server, Text title, Runnable resetCallback, Runnable selectFileUploadCallback)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldvi;<init>(Lecr;Ldto;Lpz;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
      intermediary <init> Lnet/minecraft/class_4410;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Lnet/minecraft/class_2561;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/realms/dto/RealmsServer;Lnet/minecraft/text/Text;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
    • RealmsResetWorldScreen

      public RealmsResetWorldScreen(Screen parent, RealmsServer serverData, Runnable resetCallback, Runnable selectFileUploadCallback)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldvi;<init>(Lecr;Ldto;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
      intermediary <init> Lnet/minecraft/class_4410;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/realms/dto/RealmsServer;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
    • RealmsResetWorldScreen

      public RealmsResetWorldScreen(Screen parent, RealmsServer server, Text title, Text subtitle, int subtitleColor, Text buttonTitle, Runnable resetCallback, Runnable selectFileUploadCallback)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldvi;<init>(Lecr;Ldto;Lpz;Lpz;ILpz;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
      intermediary <init> Lnet/minecraft/class_4410;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;ILnet/minecraft/class_2561;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/realms/dto/RealmsServer;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;ILnet/minecraft/text/Text;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
  • Method Details

    • setSlot

      public void setSlot(int slot)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvi;a(I)V
      intermediary method_21379 Lnet/minecraft/class_4410;method_21379(I)V
      named setSlot Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;setSlot(I)V
    • setResetTitle

      public void setResetTitle(Text resetTitle)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvi;a(Lpz;)V
      intermediary method_21376 Lnet/minecraft/class_4410;method_21376(Lnet/minecraft/class_2561;)V
      named setResetTitle Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;setResetTitle(Lnet/minecraft/text/Text;)V
    • 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;
    • 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
    • frame

      private int frame(int i)
      Mappings:
      Namespace Name Mixin selector
      official b Ldvi;b(I)I
      intermediary method_21384 Lnet/minecraft/class_4410;method_21384(I)I
      named frame Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;frame(I)I
    • 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
    • drawFrame

      void drawFrame(MatrixStack matrices, int x, int y, Text text, Identifier texture, boolean hovered, boolean mouseOver)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvi;a(Ldsj;IILpz;Lyh;ZZ)V
      intermediary method_21370 Lnet/minecraft/class_4410;method_21370(Lnet/minecraft/class_4587;IILnet/minecraft/class_2561;Lnet/minecraft/class_2960;ZZ)V
      named drawFrame Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;drawFrame(Lnet/minecraft/client/util/math/MatrixStack;IILnet/minecraft/text/Text;Lnet/minecraft/util/Identifier;ZZ)V
    • executeLongRunningTask

      private void executeLongRunningTask(LongRunningTask task)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvi;a(Ldwm;)V
      intermediary method_32490 Lnet/minecraft/class_4410;method_32490(Lnet/minecraft/class_4358;)V
      named executeLongRunningTask Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;executeLongRunningTask(Lnet/minecraft/client/realms/task/LongRunningTask;)V
    • switchSlot

      public void switchSlot(Runnable callback)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvi;a(Ljava/lang/Runnable;)V
      intermediary method_21377 Lnet/minecraft/class_4410;method_21377(Ljava/lang/Runnable;)V
      named switchSlot Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;switchSlot(Ljava/lang/Runnable;)V
    • onSelectWorldTemplate

      private void onSelectWorldTemplate(@Nullable @Nullable WorldTemplate template)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvi;a(Ldue;)V
      intermediary method_32488 Lnet/minecraft/class_4410;method_32488(Lnet/minecraft/class_4890;)V
      named onSelectWorldTemplate Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;onSelectWorldTemplate(Lnet/minecraft/client/realms/dto/WorldTemplate;)V
    • onResetNormalWorld

      private void onResetNormalWorld(@Nullable @Nullable ResetWorldInfo info)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvi;a(Ldwg;)V
      intermediary method_32489 Lnet/minecraft/class_4410;method_32489(Lnet/minecraft/class_4413;)V
      named onResetNormalWorld Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;onResetNormalWorld(Lnet/minecraft/client/realms/gui/screen/ResetWorldInfo;)V
    • switchSlotAndResetWorld

      private void switchSlotAndResetWorld(Runnable resetter)
      Mappings:
      Namespace Name Mixin selector
      official b Ldvi;b(Ljava/lang/Runnable;)V
      intermediary method_32493 Lnet/minecraft/class_4410;method_32493(Ljava/lang/Runnable;)V
      named switchSlotAndResetWorld Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;switchSlotAndResetWorld(Ljava/lang/Runnable;)V