Class WorldListWidget.EmptyListEntry

All Implemented Interfaces:
AutoCloseable, Element, Narratable, Navigable, Widget
Enclosing class:
WorldListWidget

@Environment(CLIENT) public static final class WorldListWidget.EmptyListEntry extends WorldListWidget.Entry
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/world/WorldListWidget$EmptyListEntry
intermediary net/minecraft/class_528$class_11782
official guw$e
  • Field Details

    • widget

      private final TextWidget widget
      Mappings:
      Namespace Name Mixin selector
      named widget Lnet/minecraft/client/gui/screen/world/WorldListWidget$EmptyListEntry;widget:Lnet/minecraft/client/gui/widget/TextWidget;
      intermediary field_62204 Lnet/minecraft/class_528$class_11782;field_62204:Lnet/minecraft/class_7842;
      official a Lguw$e;a:Lghd;
  • Constructor Details

    • EmptyListEntry

      public EmptyListEntry(Text text, TextRenderer textRenderer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/world/WorldListWidget$EmptyListEntry;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/client/font/TextRenderer;)V
      intermediary <init> Lnet/minecraft/class_528$class_11782;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_327;)V
      official <init> Lguw$e;<init>(Lym;Lgfe;)V
  • Method Details

    • getNarration

      public Text getNarration()
      Specified by:
      getNarration in class AlwaysSelectedEntryListWidget.Entry<WorldListWidget.Entry>
      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 Lggq$a;a()Lym;
    • render

      public void render(DrawContext context, int mouseX, int mouseY, boolean hovered, float deltaTicks)
      Renders an entry in a list.
      Specified by:
      render in class EntryListWidget.Entry<WorldListWidget.Entry>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIZF)V
      intermediary method_25343 Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIZF)V
      official a Lgfn$a;a(Lgfh;IIZF)V