Class RealmsBackupInfoScreen.BackupInfoListEntry

All Implemented Interfaces:
Element, Narratable, Navigable
Enclosing class:
RealmsBackupInfoScreen

@Environment(CLIENT) private class RealmsBackupInfoScreen.BackupInfoListEntry extends AlwaysSelectedEntryListWidget.Entry<RealmsBackupInfoScreen.BackupInfoListEntry>
Mappings:
Namespace Name
official esn$b
intermediary net/minecraft/class_4379$class_5344
named net/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry
  • Field Details

    • TEMPLATE_NAME_TEXT

      private static final Text TEMPLATE_NAME_TEXT
      Mappings:
      Namespace Name Mixin selector
      official b Lesn$b;b:Lvf;
      intermediary field_44895 Lnet/minecraft/class_4379$class_5344;field_44895:Lnet/minecraft/class_2561;
      named TEMPLATE_NAME_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;TEMPLATE_NAME_TEXT:Lnet/minecraft/text/Text;
    • GAME_DIFFICULTY_TEXT

      private static final Text GAME_DIFFICULTY_TEXT
      Mappings:
      Namespace Name Mixin selector
      official c Lesn$b;c:Lvf;
      intermediary field_44896 Lnet/minecraft/class_4379$class_5344;field_44896:Lnet/minecraft/class_2561;
      named GAME_DIFFICULTY_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;GAME_DIFFICULTY_TEXT:Lnet/minecraft/text/Text;
    • NAME_TEXT

      private static final Text NAME_TEXT
      Mappings:
      Namespace Name Mixin selector
      official d Lesn$b;d:Lvf;
      intermediary field_44897 Lnet/minecraft/class_4379$class_5344;field_44897:Lnet/minecraft/class_2561;
      named NAME_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;NAME_TEXT:Lnet/minecraft/text/Text;
    • GAME_SERVER_VERSION_TEXT

      private static final Text GAME_SERVER_VERSION_TEXT
      Mappings:
      Namespace Name Mixin selector
      official e Lesn$b;e:Lvf;
      intermediary field_44898 Lnet/minecraft/class_4379$class_5344;field_44898:Lnet/minecraft/class_2561;
      named GAME_SERVER_VERSION_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;GAME_SERVER_VERSION_TEXT:Lnet/minecraft/text/Text;
    • UPLOADED_TEXT

      private static final Text UPLOADED_TEXT
      Mappings:
      Namespace Name Mixin selector
      official f Lesn$b;f:Lvf;
      intermediary field_44899 Lnet/minecraft/class_4379$class_5344;field_44899:Lnet/minecraft/class_2561;
      named UPLOADED_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;UPLOADED_TEXT:Lnet/minecraft/text/Text;
    • ENABLED_PACK_TEXT

      private static final Text ENABLED_PACK_TEXT
      Mappings:
      Namespace Name Mixin selector
      official g Lesn$b;g:Lvf;
      intermediary field_44900 Lnet/minecraft/class_4379$class_5344;field_44900:Lnet/minecraft/class_2561;
      named ENABLED_PACK_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;ENABLED_PACK_TEXT:Lnet/minecraft/text/Text;
    • DESCRIPTION_TEXT

      private static final Text DESCRIPTION_TEXT
      Mappings:
      Namespace Name Mixin selector
      official h Lesn$b;h:Lvf;
      intermediary field_44901 Lnet/minecraft/class_4379$class_5344;field_44901:Lnet/minecraft/class_2561;
      named DESCRIPTION_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
    • GAME_MODE_TEXT

      private static final Text GAME_MODE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official i Lesn$b;i:Lvf;
      intermediary field_44902 Lnet/minecraft/class_4379$class_5344;field_44902:Lnet/minecraft/class_2561;
      named GAME_MODE_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;GAME_MODE_TEXT:Lnet/minecraft/text/Text;
    • SEED_TEXT

      private static final Text SEED_TEXT
      Mappings:
      Namespace Name Mixin selector
      official j Lesn$b;j:Lvf;
      intermediary field_44903 Lnet/minecraft/class_4379$class_5344;field_44903:Lnet/minecraft/class_2561;
      named SEED_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;SEED_TEXT:Lnet/minecraft/text/Text;
    • WORLD_TYPE_TEXT

      private static final Text WORLD_TYPE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official k Lesn$b;k:Lvf;
      intermediary field_44904 Lnet/minecraft/class_4379$class_5344;field_44904:Lnet/minecraft/class_2561;
      named WORLD_TYPE_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;WORLD_TYPE_TEXT:Lnet/minecraft/text/Text;
    • UNDEFINED_TEXT

      private static final Text UNDEFINED_TEXT
      Mappings:
      Namespace Name Mixin selector
      official l Lesn$b;l:Lvf;
      intermediary field_44905 Lnet/minecraft/class_4379$class_5344;field_44905:Lnet/minecraft/class_2561;
      named UNDEFINED_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;UNDEFINED_TEXT:Lnet/minecraft/text/Text;
    • key

      private final String key
      Mappings:
      Namespace Name Mixin selector
      official m Lesn$b;m:Ljava/lang/String;
      intermediary field_25258 Lnet/minecraft/class_4379$class_5344;field_25258:Ljava/lang/String;
      named key Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;key:Ljava/lang/String;
    • value

      private final String value
      Mappings:
      Namespace Name Mixin selector
      official n Lesn$b;n:Ljava/lang/String;
      intermediary field_25259 Lnet/minecraft/class_4379$class_5344;field_25259:Ljava/lang/String;
      named value Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;value:Ljava/lang/String;
  • Constructor Details

    • BackupInfoListEntry

      public BackupInfoListEntry(String key, String value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lesn$b;<init>(Lesn;Ljava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_4379$class_5344;<init>(Lnet/minecraft/class_4379;Ljava/lang/String;Ljava/lang/String;)V
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen;Ljava/lang/String;Ljava/lang/String;)V
  • Method Details

    • render

      public void render(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)
      Renders an entry in a list.
      Specified by:
      render in class EntryListWidget.Entry<RealmsBackupInfoScreen.BackupInfoListEntry>
      Parameters:
      index - the index of the entry
      y - the Y coordinate of the entry
      x - the X coordinate of the entry
      entryWidth - the width of the entry
      entryHeight - the height of the entry
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      hovered - whether the mouse is hovering over the entry
      Mappings:
      Namespace Name Mixin selector
      official a Lexb$a;a(Lewu;IIIIIIIZF)V
      intermediary method_25343 Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)V
      named render Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V
    • getTextFromKey

      private Text getTextFromKey(String key)
      Mappings:
      Namespace Name Mixin selector
      official a Lesn$b;a(Ljava/lang/String;)Lvf;
      intermediary method_51886 Lnet/minecraft/class_4379$class_5344;method_51886(Ljava/lang/String;)Lnet/minecraft/class_2561;
      named getTextFromKey Lnet/minecraft/client/realms/gui/screen/RealmsBackupInfoScreen$BackupInfoListEntry;getTextFromKey(Ljava/lang/String;)Lnet/minecraft/text/Text;
    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int button)
      Callback for when a mouse button down event has been captured. The button number is identified by the constants in GLFW class.
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      button - the mouse button number
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lezb;a(DDI)Z
      intermediary method_25402 Lnet/minecraft/class_364;method_25402(DDI)Z
      named mouseClicked Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
    • getNarration

      public Text getNarration()
      Specified by:
      getNarration in class AlwaysSelectedEntryListWidget.Entry<RealmsBackupInfoScreen.BackupInfoListEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Leyc$a;a()Lvf;
      intermediary method_37006 Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;
      named getNarration Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;