Class StatsScreen.ItemStatsListWidget.Entry

All Implemented Interfaces:
Element, Narratable
Enclosing class:
StatsScreen.ItemStatsListWidget

@Environment(CLIENT) private class StatsScreen.ItemStatsListWidget.Entry extends AlwaysSelectedEntryListWidget.Entry<StatsScreen.ItemStatsListWidget.Entry>
Mappings:
Namespace Name
official eax$b$a
intermediary net/minecraft/class_447$class_4200$class_4199
named net/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry
  • Field Details

    • field_33830

      private final Item field_33830
      Mappings:
      Namespace Name Mixin selector
      official b Leax$b$a;b:Lbql;
      intermediary field_33830 Lnet/minecraft/class_447$class_4200$class_4199;field_33830:Lnet/minecraft/class_1792;
      named field_33830 Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry;field_33830:Lnet/minecraft/item/Item;
  • Constructor Details

    • Entry

      Entry(Item item)
  • Method Details

    • method_37307

      public Item method_37307()
      Mappings:
      Namespace Name Mixin selector
      official b Leax$b$a;b()Lbql;
      intermediary method_37307 Lnet/minecraft/class_447$class_4200$class_4199;method_37307()Lnet/minecraft/class_1792;
      named method_37307 Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry;method_37307()Lnet/minecraft/item/Item;
    • 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<StatsScreen.ItemStatsListWidget.Entry>
      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 Ldwv$a;a(Ldqk;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
    • render

      protected void render(MatrixStack matrices, @Nullable @Nullable Stat<?> stat, int x, int y, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Leax$b$a;a(Ldqk;Lafl;IIZ)V
      intermediary method_19405 Lnet/minecraft/class_447$class_4200$class_4199;method_19405(Lnet/minecraft/class_4587;Lnet/minecraft/class_3445;IIZ)V
      named render Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/stat/Stat;IIZ)V
    • method_37006

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