Uses of Interface
net.minecraft.client.gui.ComponentPath
Packages that use ComponentPath
Package
Description
-
Uses of ComponentPath in net.minecraft.client.gui
Classes in net.minecraft.client.gui that implement ComponentPathModifier and TypeClassDescriptionstatic final record
TheLeaf
class represents a leaf component path in the hierarchy.static final record
ThePath
class represents a non-leaf component path in the hierarchy.Fields in net.minecraft.client.gui declared as ComponentPathModifier and TypeFieldDescriptionprivate final ComponentPath
ComponentPath.Path.childPath
The field for thechildPath
record component.Methods in net.minecraft.client.gui that return ComponentPathModifier and TypeMethodDescriptionComponentPath.Path.childPath()
Returns the value of thechildPath
record component.static ComponentPath
ComponentPath.leaf
(GuiEventListener pComponent) Creates a leaf component path with the specifiedGuiEventListener
component.static ComponentPath
ComponentPath.path
(ContainerEventHandler pComponent, ComponentPath pChildPath) Creates a component path with the specifiedContainerEventHandler
component and an optional child path.static ComponentPath
ComponentPath.path
(GuiEventListener pLeafComponent, ContainerEventHandler... pAncestorComponents) Creates a newComponentPath
leaf node with the specifiedGuiEventListener
component and an array ofContainerEventHandler
ancestors.Methods in net.minecraft.client.gui with parameters of type ComponentPathModifier and TypeMethodDescriptionstatic ComponentPath
ComponentPath.path
(ContainerEventHandler pComponent, ComponentPath pChildPath) Creates a component path with the specifiedContainerEventHandler
component and an optional child path.Constructors in net.minecraft.client.gui with parameters of type ComponentPathModifierConstructorDescriptionPath
(ContainerEventHandler component, ComponentPath childPath) Creates an instance of aPath
record class. -
Uses of ComponentPath in net.minecraft.client.gui.components
Methods in net.minecraft.client.gui.components that return ComponentPathModifier and TypeMethodDescriptionContainerObjectSelectionList.Entry.focusPathAtIndex
(FocusNavigationEvent pEvent, int pIndex) AbstractContainerWidget.nextFocusPath
(FocusNavigationEvent p_313949_) AbstractWidget.nextFocusPath
(FocusNavigationEvent pEvent) Retrieves the next focus path based on the given focus navigation event.ContainerObjectSelectionList.Entry.nextFocusPath
(FocusNavigationEvent pEvent) Retrieves the next focus path based on the given focus navigation event.ContainerObjectSelectionList.nextFocusPath
(FocusNavigationEvent pEvent) Retrieves the next focus path based on the given focus navigation event.ImageWidget.nextFocusPath
(FocusNavigationEvent pEvent) Retrieves the next focus path based on the given focus navigation event.LoadingDotsWidget.nextFocusPath
(FocusNavigationEvent pEvent) Retrieves the next focus path based on the given focus navigation event.ObjectSelectionList.nextFocusPath
(FocusNavigationEvent p_265150_) PlayerSkinWidget.nextFocusPath
(FocusNavigationEvent pEvent) Retrieves the next focus path based on the given focus navigation event. -
Uses of ComponentPath in net.minecraft.client.gui.components.events
Methods in net.minecraft.client.gui.components.events that return ComponentPathModifier and TypeMethodDescriptiondefault ComponentPath
ContainerEventHandler.getCurrentFocusPath()
default ComponentPath
GuiEventListener.getCurrentFocusPath()
private ComponentPath
ContainerEventHandler.handleArrowNavigation
(FocusNavigationEvent.ArrowNavigation pArrowNavigation) Handles arrow-based navigation events.private ComponentPath
ContainerEventHandler.handleTabNavigation
(FocusNavigationEvent.TabNavigation pTabNavigation) Handles tab-based navigation events.default ComponentPath
ContainerEventHandler.nextFocusPath
(FocusNavigationEvent pEvent) Retrieves the next focus path based on the given focus navigation event.default ComponentPath
GuiEventListener.nextFocusPath
(FocusNavigationEvent pEvent) Retrieves the next focus path based on the given focus navigation event.private ComponentPath
ContainerEventHandler.nextFocusPathInDirection
(ScreenRectangle pRectangle, ScreenDirection pDirection, GuiEventListener pListener, FocusNavigationEvent pEvent) Calculates the next focus path in a specific direction.private ComponentPath
ContainerEventHandler.nextFocusPathVaguelyInDirection
(ScreenRectangle pRectangle, ScreenDirection pDirection, GuiEventListener pListener, FocusNavigationEvent pEvent) Calculates the next focus path in a vague direction. -
Uses of ComponentPath in net.minecraft.client.gui.components.tabs
Methods in net.minecraft.client.gui.components.tabs that return ComponentPathModifier and TypeMethodDescriptionTabNavigationBar.nextFocusPath
(FocusNavigationEvent pEvent) Retrieves the next focus path based on the given focus navigation event. -
Uses of ComponentPath in net.minecraft.client.gui.screens
Methods in net.minecraft.client.gui.screens with parameters of type ComponentPath -
Uses of ComponentPath in net.minecraft.client.gui.screens.options.controls
Methods in net.minecraft.client.gui.screens.options.controls that return ComponentPathModifier and TypeMethodDescriptionKeyBindsList.CategoryEntry.nextFocusPath
(FocusNavigationEvent pEvent) Retrieves the next focus path based on the given focus navigation event.