Package net.minecraft.client.gui.screen
Class DebugOptionsScreen.Entry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<DebugOptionsScreen.AbstractEntry>
net.minecraft.client.gui.widget.ElementListWidget.Entry<DebugOptionsScreen.AbstractEntry>
net.minecraft.client.gui.screen.DebugOptionsScreen.AbstractEntry
net.minecraft.client.gui.screen.DebugOptionsScreen.Entry
- All Implemented Interfaces:
Element,Navigable,ParentElement
- Enclosing class:
DebugOptionsScreen
@Environment(CLIENT)
private class DebugOptionsScreen.Entry
extends DebugOptionsScreen.AbstractEntry
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/DebugOptionsScreen$Entryintermediary net/minecraft/class_11644$class_11647official gif$c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CyclingButtonWidget<Boolean> private final booleanprivate final CyclingButtonWidget<Boolean> private final Identifierprivate final CyclingButtonWidget<Boolean> private final Stringprotected final List<ClickableWidget> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchildren()Gets a list of all child GUI elements.private MutableTextvoidinit()voidrender(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickProgress) Renders an entry in a list.List<? extends Selectable> private voidsetEntryVisibility(Identifier label, DebugHudEntryVisibility visibility) Methods inherited from class net.minecraft.client.gui.widget.ElementListWidget.Entry
getFocused, getNavigationPath, getNavigationPath, isDragging, mouseClicked, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
drawBorder, isFocused, isMouseOver, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, getNavigationFocus, isMouseOver, method_72784, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, hoveredElement, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
label
- Mappings:
Namespace Name Mixin selector named labelLnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;label:Lnet/minecraft/util/Identifier;intermediary field_61651Lnet/minecraft/class_11644$class_11647;field_61651:Lnet/minecraft/class_2960;official cLgif$c;c:Laml;
-
widgets
- Mappings:
Namespace Name Mixin selector named widgetsLnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;widgets:Ljava/util/List;intermediary field_61649Lnet/minecraft/class_11644$class_11647;field_61649:Ljava/util/List;official aLgif$c;a:Ljava/util/List;
-
alwaysOnButton
- Mappings:
Namespace Name Mixin selector named alwaysOnButtonLnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;alwaysOnButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;intermediary field_61652Lnet/minecraft/class_11644$class_11647;field_61652:Lnet/minecraft/class_5676;official dLgif$c;d:Lfzm;
-
inF3Button
- Mappings:
Namespace Name Mixin selector named inF3ButtonLnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;inF3Button:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;intermediary field_61653Lnet/minecraft/class_11644$class_11647;field_61653:Lnet/minecraft/class_5676;official eLgif$c;e:Lfzm;
-
neverButton
- Mappings:
Namespace Name Mixin selector named neverButtonLnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;neverButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;intermediary field_61654Lnet/minecraft/class_11644$class_11647;field_61654:Lnet/minecraft/class_5676;official fLgif$c;f:Lfzm;
-
renderedLabel
- Mappings:
Namespace Name Mixin selector named renderedLabelLnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;renderedLabel:Ljava/lang/String;intermediary field_61655Lnet/minecraft/class_11644$class_11647;field_61655:Ljava/lang/String;official gLgif$c;g:Ljava/lang/String;
-
canShow
private final boolean canShow- Mappings:
Namespace Name Mixin selector named canShowLnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;canShow:Zintermediary field_61656Lnet/minecraft/class_11644$class_11647;field_61656:Zofficial hLgif$c;h:Z
-
-
Constructor Details
-
Entry
- 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;)Vintermediary <init>Lnet/minecraft/class_11644$class_11647;<init>(Lnet/minecraft/class_11644;Lnet/minecraft/class_2960;)Vofficial <init>Lgif$c;<init>(Lgif;Laml;)V
-
-
Method Details
-
getNarrationMessage
- Mappings:
Namespace Name Mixin selector named getNarrationMessageLnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;getNarrationMessage(Lnet/minecraft/client/gui/widget/CyclingButtonWidget;)Lnet/minecraft/text/MutableText;intermediary method_72817Lnet/minecraft/class_11644$class_11647;method_72817(Lnet/minecraft/class_5676;)Lnet/minecraft/class_5250;official aLgif$c;a(Lfzm;)Lyi;
-
setEntryVisibility
- Mappings:
Namespace Name Mixin selector named setEntryVisibilityLnet/minecraft/client/gui/screen/DebugOptionsScreen$Entry;setEntryVisibility(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/gui/hud/debug/DebugHudEntryVisibility;)Vintermediary method_72816Lnet/minecraft/class_11644$class_11647;method_72816(Lnet/minecraft/class_2960;Lnet/minecraft/class_11635;)Vofficial aLgif$c;a(Laml;Lgca;)V
-
children
Gets a list of all child GUI elements.- Mappings:
Namespace Name Mixin selector named childrenLnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;intermediary method_25396Lnet/minecraft/class_4069;method_25396()Ljava/util/List;official aK_Lgck;aK_()Ljava/util/List;
-
selectableChildren
- Specified by:
selectableChildrenin classElementListWidget.Entry<DebugOptionsScreen.AbstractEntry>- Mappings:
Namespace Name Mixin selector named selectableChildrenLnet/minecraft/client/gui/widget/ElementListWidget$Entry;selectableChildren()Ljava/util/List;intermediary method_37025Lnet/minecraft/class_4265$class_4266;method_37025()Ljava/util/List;official bLfzl$a;b()Ljava/util/List;
-
render
public void render(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickProgress) Renders an entry in a list.- Specified by:
renderin classEntryListWidget.Entry<DebugOptionsScreen.AbstractEntry>- Parameters:
index- the index of the entryy- the Y coordinate of the entryx- the X coordinate of the entryentryWidth- the width of the entryentryHeight- the height of the entrymouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousehovered- whether the mouse is hovering over the entry- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)Vofficial aLfyz$a;a(Lfyt;IIIIIIIZF)V
-
init
public void init()- Specified by:
initin classDebugOptionsScreen.AbstractEntry- Mappings:
Namespace Name Mixin selector named initLnet/minecraft/client/gui/screen/DebugOptionsScreen$AbstractEntry;init()Vintermediary method_72814Lnet/minecraft/class_11644$class_11645;method_72814()Vofficial cLgif$a;c()V
-