Class RealmsSelectWorldTemplateScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class RealmsSelectWorldTemplateScreen extends RealmsScreen
Mappings:
Namespace Name
named net/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen
intermediary net/minecraft/class_4419
official fjk
  • Field Details Link icon

    • LOGGER Link icon

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;LOGGER:Lorg/slf4j/Logger;
      intermediary field_20069 Lnet/minecraft/class_4419;field_20069:Lorg/slf4j/Logger;
      official a Lfjk;a:Lorg/slf4j/Logger;
    • SLOT_FRAME_TEXTURE Link icon

      static final Identifier SLOT_FRAME_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named SLOT_FRAME_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;SLOT_FRAME_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_22721 Lnet/minecraft/class_4419;field_22721:Lnet/minecraft/class_2960;
      official b Lfjk;b:Lakv;
    • SELECT_TEXT Link icon

      private static final Text SELECT_TEXT
      Mappings:
      Namespace Name Mixin selector
      named SELECT_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;SELECT_TEXT:Lnet/minecraft/text/Text;
      intermediary field_45977 Lnet/minecraft/class_4419;field_45977:Lnet/minecraft/class_2561;
      official c Lfjk;c:Lwp;
    • TRAILER_TEXT Link icon

      private static final Text TRAILER_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TRAILER_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;TRAILER_TEXT:Lnet/minecraft/text/Text;
      intermediary field_45978 Lnet/minecraft/class_4419;field_45978:Lnet/minecraft/class_2561;
      official C Lfjk;C:Lwp;
    • PUBLISHER_TEXT Link icon

      private static final Text PUBLISHER_TEXT
      Mappings:
      Namespace Name Mixin selector
      named PUBLISHER_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;PUBLISHER_TEXT:Lnet/minecraft/text/Text;
      intermediary field_45979 Lnet/minecraft/class_4419;field_45979:Lnet/minecraft/class_2561;
      official D Lfjk;D:Lwp;
    • field_45974 Link icon

      private static final int field_45974
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45974 Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;field_45974:I
      intermediary field_45974 Lnet/minecraft/class_4419;field_45974:I
      official E Lfjk;E:I
    • field_45975 Link icon

      private static final int field_45975
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45975 Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;field_45975:I
      intermediary field_45975 Lnet/minecraft/class_4419;field_45975:I
      official F Lfjk;F:I
    • layout Link icon

      private final ThreePartsLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      named layout Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
      intermediary field_45976 Lnet/minecraft/class_4419;field_45976:Lnet/minecraft/class_8132;
      official G Lfjk;G:Lfsi;
    • callback Link icon

      final Consumer<WorldTemplate> callback
      Mappings:
      Namespace Name Mixin selector
      named callback Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;callback:Ljava/util/function/Consumer;
      intermediary field_27941 Lnet/minecraft/class_4419;field_27941:Ljava/util/function/Consumer;
      official H Lfjk;H:Ljava/util/function/Consumer;
    • templateList Link icon

      Mappings:
      Namespace Name Mixin selector
      named templateList Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;templateList:Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionList;
      intermediary field_20071 Lnet/minecraft/class_4419;field_20071:Lnet/minecraft/class_4419$class_4420;
      official I Lfjk;I:Lfjk$b;
    • worldType Link icon

      private final RealmsServer.WorldType worldType
      Mappings:
      Namespace Name Mixin selector
      named worldType Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;worldType:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
      intermediary field_20079 Lnet/minecraft/class_4419;field_20079:Lnet/minecraft/class_4877$class_4321;
      official J Lfjk;J:Lfhm$d;
    • selectButton Link icon

      private ButtonWidget selectButton
      Mappings:
      Namespace Name Mixin selector
      named selectButton Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;selectButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_20074 Lnet/minecraft/class_4419;field_20074:Lnet/minecraft/class_4185;
      official K Lfjk;K:Lfou;
    • trailerButton Link icon

      private ButtonWidget trailerButton
      Mappings:
      Namespace Name Mixin selector
      named trailerButton Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;trailerButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_20075 Lnet/minecraft/class_4419;field_20075:Lnet/minecraft/class_4185;
      official L Lfjk;L:Lfou;
    • publisherButton Link icon

      private ButtonWidget publisherButton
      Mappings:
      Namespace Name Mixin selector
      named publisherButton Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;publisherButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_20076 Lnet/minecraft/class_4419;field_20076:Lnet/minecraft/class_4185;
      official M Lfjk;M:Lfou;
    • selectedTemplate Link icon

      Mappings:
      Namespace Name Mixin selector
      named selectedTemplate Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;selectedTemplate:Lnet/minecraft/client/realms/dto/WorldTemplate;
      intermediary field_20072 Lnet/minecraft/class_4419;field_20072:Lnet/minecraft/class_4890;
      official N Lfjk;N:Lfic;
    • warning Link icon

      @Nullable private @Nullable Text[] warning
      Mappings:
      Namespace Name Mixin selector
      named warning Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;warning:[Lnet/minecraft/text/Text;
      intermediary field_20081 Lnet/minecraft/class_4419;field_20081:[Lnet/minecraft/class_2561;
      official P Lfjk;P:[Lwp;
    • noTemplatesMessage Link icon

      Mappings:
      Namespace Name Mixin selector
      named noTemplatesMessage Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;noTemplatesMessage:Ljava/util/List;
      intermediary field_20085 Lnet/minecraft/class_4419;field_20085:Ljava/util/List;
      official Q Lfjk;Q:Ljava/util/List;
  • Constructor Details Link icon

    • RealmsSelectWorldTemplateScreen Link icon

      public RealmsSelectWorldTemplateScreen(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;<init>(Lnet/minecraft/text/Text;Ljava/util/function/Consumer;Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;)V
      intermediary <init> Lnet/minecraft/class_4419;<init>(Lnet/minecraft/class_2561;Ljava/util/function/Consumer;Lnet/minecraft/class_4877$class_4321;)V
      official <init> Lfjk;<init>(Lwp;Ljava/util/function/Consumer;Lfhm$d;)V
    • RealmsSelectWorldTemplateScreen Link icon

      public RealmsSelectWorldTemplateScreen(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType, @Nullable @Nullable WorldTemplatePaginatedList templateList)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;<init>(Lnet/minecraft/text/Text;Ljava/util/function/Consumer;Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;)V
      intermediary <init> Lnet/minecraft/class_4419;<init>(Lnet/minecraft/class_2561;Ljava/util/function/Consumer;Lnet/minecraft/class_4877$class_4321;Lnet/minecraft/class_4891;)V
      official <init> Lfjk;<init>(Lwp;Ljava/util/function/Consumer;Lfhm$d;Lfid;)V
  • Method Details Link icon

    • setWarning Link icon

      public void setWarning(Text[] warning)
      Mappings:
      Namespace Name Mixin selector
      named setWarning Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;setWarning([Lnet/minecraft/text/Text;)V
      intermediary method_21429 Lnet/minecraft/class_4419;method_21429([Lnet/minecraft/class_2561;)V
      official a Lfjk;a([Lwp;)V
    • init Link icon

      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
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official aR_ Lfum;aR_()V
    • refreshWidgetPositions Link icon

      protected void refreshWidgetPositions()
      Overrides:
      refreshWidgetPositions in class Screen
      Mappings:
      Namespace Name Mixin selector
      named refreshWidgetPositions Lnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      official c Lfum;c()V
    • getNarratedTitle Link icon

      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 Lfum;i()Lwp;
    • updateButtonStates Link icon

      void updateButtonStates()
      Mappings:
      Namespace Name Mixin selector
      named updateButtonStates Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;updateButtonStates()V
      intermediary method_21425 Lnet/minecraft/class_4419;method_21425()V
      official E Lfjk;E()V
    • close Link icon

      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 aO_ Lfum;aO_()V
    • selectTemplate Link icon

      private void selectTemplate()
      Mappings:
      Namespace Name Mixin selector
      named selectTemplate Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;selectTemplate()V
      intermediary method_21440 Lnet/minecraft/class_4419;method_21440()V
      official F Lfjk;F()V
    • onTrailer Link icon

      private void onTrailer()
      Mappings:
      Namespace Name Mixin selector
      named onTrailer Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;onTrailer()V
      intermediary method_21442 Lnet/minecraft/class_4419;method_21442()V
      official G Lfjk;G()V
    • onPublish Link icon

      private void onPublish()
      Mappings:
      Namespace Name Mixin selector
      named onPublish Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;onPublish()V
      intermediary method_21444 Lnet/minecraft/class_4419;method_21444()V
      official H Lfjk;H()V
    • setPagination Link icon

      private void setPagination(WorldTemplatePaginatedList templateList)
      Mappings:
      Namespace Name Mixin selector
      named setPagination Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;setPagination(Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;)V
      intermediary method_21415 Lnet/minecraft/class_4419;method_21415(Lnet/minecraft/class_4891;)V
      official a Lfjk;a(Lfid;)V
    • fetchWorldTemplates Link icon

      com.mojang.datafixers.util.Either<WorldTemplatePaginatedList,Exception> fetchWorldTemplates(WorldTemplatePaginatedList templateList, RealmsClient realms)
      Mappings:
      Namespace Name Mixin selector
      named fetchWorldTemplates Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;fetchWorldTemplates(Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;Lnet/minecraft/client/realms/RealmsClient;)Lcom/mojang/datafixers/util/Either;
      intermediary method_21416 Lnet/minecraft/class_4419;method_21416(Lnet/minecraft/class_4891;Lnet/minecraft/class_4341;)Lcom/mojang/datafixers/util/Either;
      official a Lfjk;a(Lfid;Lfgl;)Lcom/mojang/datafixers/util/Either;
    • render Link icon

      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 Lfpx;a(Lfof;IIF)V
    • renderMessages Link icon

      private void renderMessages(DrawContext context, int x, int y, List<TextRenderingUtils.Line> messages)
      Mappings:
      Namespace Name Mixin selector
      named renderMessages Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;renderMessages(Lnet/minecraft/client/gui/DrawContext;IILjava/util/List;)V
      intermediary method_21414 Lnet/minecraft/class_4419;method_21414(Lnet/minecraft/class_332;IILjava/util/List;)V
      official a Lfjk;a(Lfof;IILjava/util/List;)V
    • getTemplateListTop Link icon

      int getTemplateListTop()
      Mappings:
      Namespace Name Mixin selector
      named getTemplateListTop Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;getTemplateListTop()I
      intermediary method_53514 Lnet/minecraft/class_4419;method_53514()I
      official I Lfjk;I()I