Class OptionsList.HeaderEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<OptionsList.AbstractEntry>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<OptionsList.AbstractEntry>
net.minecraft.client.gui.components.OptionsList.AbstractEntry
net.minecraft.client.gui.components.OptionsList.HeaderEntry
- All Implemented Interfaces:
ContainerEventHandler,GuiEventListener,TabOrderedElement,LayoutElement
- Enclosing class:
OptionsList
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final Screenprivate final StringWidgetFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHeaderEntry(Screen screen, Component text, int paddingTop) -
Method Summary
Modifier and TypeMethodDescriptionList<? extends GuiEventListener> children()List<? extends NarratableEntry> voidrenderContent(GuiGraphics p_455586_, int p_456280_, int p_454936_, boolean p_455018_, float p_455521_) Methods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocused, updateNarrationMethods 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
-
screen
-
paddingTop
private final int paddingTop -
widget
-
-
Constructor Details
-
HeaderEntry
-
-
Method Details
-
narratables
- Specified by:
narratablesin classContainerObjectSelectionList.Entry<OptionsList.AbstractEntry>
-
renderContent
public void renderContent(GuiGraphics p_455586_, int p_456280_, int p_454936_, boolean p_455018_, float p_455521_) - Specified by:
renderContentin classAbstractSelectionList.Entry<OptionsList.AbstractEntry>
-
children
-