Class DebugOptionsScreen.OptionEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<DebugOptionsScreen.AbstractOptionEntry>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<DebugOptionsScreen.AbstractOptionEntry>
net.minecraft.client.gui.screens.debug.DebugOptionsScreen.AbstractOptionEntry
net.minecraft.client.gui.screens.debug.DebugOptionsScreen.OptionEntry
- All Implemented Interfaces:
ContainerEventHandler,GuiEventListener,TabOrderedElement,LayoutElement
- Enclosing class:
DebugOptionsScreen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CycleButton<Boolean> private static final intprotected final List<AbstractWidget> private final booleanprivate final Identifierprivate final Stringprivate final CycleButton<Boolean> private final CycleButton<Boolean> Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<? extends GuiEventListener> children()List<? extends NarratableEntry> private MutableComponentnarrateButton(CycleButton<Boolean> pButton) voidvoidrenderContent(GuiGraphics p_439423_, int p_439217_, int p_439543_, boolean p_439889_, float p_439319_) private voidsetValue(Identifier pEntry, DebugScreenEntryStatus pStatus) Methods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setY, visitWidgetsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
BUTTON_WIDTH
private static final int BUTTON_WIDTH- See Also:
-
location
-
children
-
always
-
overlay
-
never
-
name
-
isAllowed
private final boolean isAllowed
-
-
Constructor Details
-
OptionEntry
-
-
Method Details
-
narrateButton
-
setValue
-
children
-
narratables
- Specified by:
narratablesin classContainerObjectSelectionList.Entry<DebugOptionsScreen.AbstractOptionEntry>
-
renderContent
public void renderContent(GuiGraphics p_439423_, int p_439217_, int p_439543_, boolean p_439889_, float p_439319_) - Specified by:
renderContentin classAbstractSelectionList.Entry<DebugOptionsScreen.AbstractOptionEntry>
-
refreshEntry
public void refreshEntry()- Specified by:
refreshEntryin classDebugOptionsScreen.AbstractOptionEntry
-