Class ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry

All Implemented Interfaces:
Element, Narratable, Navigable
Enclosing class:
ExperimentalWarningScreen.DetailsScreen

@Environment(CLIENT) private class ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry extends AlwaysSelectedEntryListWidget.Entry<ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry>
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/pack/ExperimentalWarningScreen$DetailsScreen$PackListWidgetEntry
intermediary net/minecraft/class_7745$class_7746$class_7748
official frs$a$b
  • Field Details

    • displayName

      private final Text displayName
      Mappings:
      Namespace Name Mixin selector
      named displayName Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen$DetailsScreen$PackListWidgetEntry;displayName:Lnet/minecraft/text/Text;
      intermediary field_40454 Lnet/minecraft/class_7745$class_7746$class_7748;field_40454:Lnet/minecraft/class_2561;
      official b Lfrs$a$b;b:Lxp;
    • details

      private final Text details
      Mappings:
      Namespace Name Mixin selector
      named details Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen$DetailsScreen$PackListWidgetEntry;details:Lnet/minecraft/text/Text;
      intermediary field_40455 Lnet/minecraft/class_7745$class_7746$class_7748;field_40455:Lnet/minecraft/class_2561;
      official c Lfrs$a$b;c:Lxp;
    • multilineDetails

      private final MultilineText multilineDetails
      Mappings:
      Namespace Name Mixin selector
      named multilineDetails Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen$DetailsScreen$PackListWidgetEntry;multilineDetails:Lnet/minecraft/client/font/MultilineText;
      intermediary field_40456 Lnet/minecraft/class_7745$class_7746$class_7748;field_40456:Lnet/minecraft/class_5489;
      official d Lfrs$a$b;d:Lfhy;
  • Constructor Details

    • PackListWidgetEntry

      PackListWidgetEntry(Text displayName, Text details, MultilineText multilineDetails)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen$DetailsScreen$PackListWidgetEntry;<init>(Lnet/minecraft/client/gui/screen/pack/ExperimentalWarningScreen$DetailsScreen;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/client/font/MultilineText;)V
      intermediary <init> Lnet/minecraft/class_7745$class_7746$class_7748;<init>(Lnet/minecraft/class_7745$class_7746;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_5489;)V
      official <init> Lfrs$a$b;<init>(Lfrs$a;Lxp;Lxp;Lfhy;)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<ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry>
      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
      named render Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V
      intermediary method_25343 Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)V
      official a Lfha$a;a(Lfgs;IIIIIIIZF)V
    • getNarration

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