Class DebugOptionsScreen.Entry

All Implemented Interfaces:
Element, Navigable, ParentElement, Widget
Enclosing class:
DebugOptionsScreen

@Environment(CLIENT) private class DebugOptionsScreen.Entry extends DebugOptionsScreen.AbstractEntry
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/DebugOptionsScreen$Entry
intermediary net/minecraft/class_11644$class_11647
official gmv$c
  • Field Details

    • label

      private final Identifier label
      Mappings:
      Namespace Name Mixin selector
      named label Lnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;label:Lnet/minecraft/util/Identifier;
      intermediary field_61651 Lnet/minecraft/class_11644$class_11647;field_61651:Lnet/minecraft/class_2960;
      official c Lgmv$c;c:Lamj;
    • widgets

      protected final List<ClickableWidget> widgets
      Mappings:
      Namespace Name Mixin selector
      named widgets Lnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;widgets:Ljava/util/List;
      intermediary field_61649 Lnet/minecraft/class_11644$class_11647;field_61649:Ljava/util/List;
      official a Lgmv$c;a:Ljava/util/List;
    • alwaysOnButton

      private final CyclingButtonWidget<Boolean> alwaysOnButton
      Mappings:
      Namespace Name Mixin selector
      named alwaysOnButton Lnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;alwaysOnButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
      intermediary field_61652 Lnet/minecraft/class_11644$class_11647;field_61652:Lnet/minecraft/class_5676;
      official d Lgmv$c;d:Lgdw;
    • inF3Button

      private final CyclingButtonWidget<Boolean> inF3Button
      Mappings:
      Namespace Name Mixin selector
      named inF3Button Lnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;inF3Button:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
      intermediary field_61653 Lnet/minecraft/class_11644$class_11647;field_61653:Lnet/minecraft/class_5676;
      official e Lgmv$c;e:Lgdw;
    • neverButton

      private final CyclingButtonWidget<Boolean> neverButton
      Mappings:
      Namespace Name Mixin selector
      named neverButton Lnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;neverButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
      intermediary field_61654 Lnet/minecraft/class_11644$class_11647;field_61654:Lnet/minecraft/class_5676;
      official f Lgmv$c;f:Lgdw;
    • renderedLabel

      private final String renderedLabel
      Mappings:
      Namespace Name Mixin selector
      named renderedLabel Lnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;renderedLabel:Ljava/lang/String;
      intermediary field_61655 Lnet/minecraft/class_11644$class_11647;field_61655:Ljava/lang/String;
      official g Lgmv$c;g:Ljava/lang/String;
    • canShow

      private final boolean canShow
      Mappings:
      Namespace Name Mixin selector
      named canShow Lnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;canShow:Z
      intermediary field_61656 Lnet/minecraft/class_11644$class_11647;field_61656:Z
      official i Lgmv$c;i:Z
  • Constructor Details

    • Entry

      public Entry(Identifier label)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;<init>(Lnet/minecraft/client/gui/screen/DebugOptionsScreen;Lnet/minecraft/util/Identifier;)V
      intermediary <init> Lnet/minecraft/class_11644$class_11647;<init>(Lnet/minecraft/class_11644;Lnet/minecraft/class_2960;)V
      official <init> Lgmv$c;<init>(Lgmv;Lamj;)V
  • Method Details

    • getNarrationMessage

      private MutableText getNarrationMessage(CyclingButtonWidget<Boolean> widget)
      Mappings:
      Namespace Name Mixin selector
      named getNarrationMessage Lnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;getNarrationMessage(Lnet/minecraft/client/gui/widget/CyclingButtonWidget;)Lnet/minecraft/text/MutableText;
      intermediary method_72817 Lnet/minecraft/class_11644$class_11647;method_72817(Lnet/minecraft/class_5676;)Lnet/minecraft/class_5250;
      official a Lgmv$c;a(Lgdw;)Lym;
    • setEntryVisibility

      private void setEntryVisibility(Identifier label, DebugHudEntryVisibility visibility)
      Mappings:
      Namespace Name Mixin selector
      named setEntryVisibility Lnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;setEntryVisibility(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/gui/hud/debug/DebugHudEntryVisibility;)V
      intermediary method_72816 Lnet/minecraft/class_11644$class_11647;method_72816(Lnet/minecraft/class_2960;Lnet/minecraft/class_11635;)V
      official a Lgmv$c;a(Lamj;Lggk;)V
    • children

      public List<? extends Element> children()
      Gets a list of all child GUI elements.
      Mappings:
      Namespace Name Mixin selector
      named children Lnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;
      intermediary method_25396 Lnet/minecraft/class_4069;method_25396()Ljava/util/List;
      official aJ_ Lggv;aJ_()Ljava/util/List;
    • selectableChildren

      public List<? extends Selectable> selectableChildren()
      Specified by:
      selectableChildren in class ElementListWidget.Entry<DebugOptionsScreen.AbstractEntry>
      Mappings:
      Namespace Name Mixin selector
      named selectableChildren Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;selectableChildren()Ljava/util/List;
      intermediary method_37025 Lnet/minecraft/class_4265$class_4266;method_37025()Ljava/util/List;
      official b Lgdv$a;b()Ljava/util/List;
    • 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<DebugOptionsScreen.AbstractEntry>
      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 Lgdj$a;a(Lgdd;IIZF)V
    • init

      public void init()
      Specified by:
      init in class DebugOptionsScreen.AbstractEntry
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/DebugOptionsScreen$AbstractEntry;init()V
      intermediary method_72814 Lnet/minecraft/class_11644$class_11645;method_72814()V
      official c Lgmv$a;c()V