Class RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry

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

@Environment(CLIENT) private class RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry extends AlwaysSelectedEntryListWidget.Entry<RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry>
Mappings:
Namespace Name
official ekj$a
intermediary net/minecraft/class_4419$class_4421
named net/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry
  • Field Details

    • mTemplate

      final WorldTemplate mTemplate
      Mappings:
      Namespace Name Mixin selector
      official b Lekj$a;b:Lejb;
      intermediary field_20094 Lnet/minecraft/class_4419$class_4421;field_20094:Lnet/minecraft/class_4890;
      named mTemplate Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;mTemplate:Lnet/minecraft/client/realms/dto/WorldTemplate;
  • Constructor Details

    • WorldTemplateObjectSelectionListEntry

      public WorldTemplateObjectSelectionListEntry(WorldTemplate template)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lekj$a;<init>(Lekj;Lejb;)V
      intermediary <init> Lnet/minecraft/class_4419$class_4421;<init>(Lnet/minecraft/class_4419;Lnet/minecraft/class_4890;)V
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;Lnet/minecraft/client/realms/dto/WorldTemplate;)V
  • Method Details

    • render

      public void render(MatrixStack matrices, 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<RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry>
      Parameters:
      matrices - the matrix stack used for rendering
      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 Lenw$a;a(Lehe;IIIIIIIZF)V
      intermediary method_25343 Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_4587;IIIIIIIZF)V
      named render Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;IIIIIIIZF)V
    • renderWorldTemplateItem

      private void renderWorldTemplateItem(MatrixStack matrices, WorldTemplate template, int x, int y, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Lekj$a;a(Lehe;Lejb;IIII)V
      intermediary method_21453 Lnet/minecraft/class_4419$class_4421;method_21453(Lnet/minecraft/class_4587;Lnet/minecraft/class_4890;IIII)V
      named renderWorldTemplateItem Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;renderWorldTemplateItem(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/realms/dto/WorldTemplate;IIII)V
    • drawImage

      private void drawImage(MatrixStack matrices, int x, int y, int mouseX, int mouseY, WorldTemplate template)
      Mappings:
      Namespace Name Mixin selector
      official a Lekj$a;a(Lehe;IIIILejb;)V
      intermediary method_21451 Lnet/minecraft/class_4419$class_4421;method_21451(Lnet/minecraft/class_4587;IIIILnet/minecraft/class_4890;)V
      named drawImage Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;drawImage(Lnet/minecraft/client/util/math/MatrixStack;IIIILnet/minecraft/client/realms/dto/WorldTemplate;)V
    • drawIcons

      private void drawIcons(MatrixStack matrices, int x, int y, int mouseX, int mouseY, String link, String trailer, String recommendedPlayers)
      Mappings:
      Namespace Name Mixin selector
      official a Lekj$a;a(Lehe;IIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
      intermediary method_21452 Lnet/minecraft/class_4419$class_4421;method_21452(Lnet/minecraft/class_4587;IIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
      named drawIcons Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionListEntry;drawIcons(Lnet/minecraft/client/util/math/MatrixStack;IIIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    • getNarration

      public Text getNarration()
      Specified by:
      getNarration in class AlwaysSelectedEntryListWidget.Entry<RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Leov$a;a()Ltj;
      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;