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 recordTheLeafclass represents a leaf component path in the hierarchy.static final recordThePathclass represents a non-leaf component path in the hierarchy.Fields in net.minecraft.client.gui declared as ComponentPathModifier and TypeFieldDescriptionprivate final ComponentPathComponentPath.Path.childPathThe field for thechildPathrecord component.Methods in net.minecraft.client.gui that return ComponentPathModifier and TypeMethodDescriptionComponentPath.Path.childPath()Returns the value of thechildPathrecord component.static ComponentPathComponentPath.leaf(GuiEventListener pComponent) Creates a leaf component path with the specifiedGuiEventListenercomponent.static ComponentPathComponentPath.path(ContainerEventHandler pComponent, ComponentPath pChildPath) Creates a component path with the specifiedContainerEventHandlercomponent and an optional child path.static ComponentPathComponentPath.path(GuiEventListener pLeafComponent, ContainerEventHandler... pAncestorComponents) Creates a newComponentPathleaf node with the specifiedGuiEventListenercomponent and an array ofContainerEventHandlerancestors.Methods in net.minecraft.client.gui with parameters of type ComponentPathModifier and TypeMethodDescriptionstatic ComponentPathComponentPath.path(ContainerEventHandler pComponent, ComponentPath pChildPath) Creates a component path with the specifiedContainerEventHandlercomponent and an optional child path.Constructors in net.minecraft.client.gui with parameters of type ComponentPathModifierConstructorDescriptionPath(ContainerEventHandler component, ComponentPath childPath) Creates an instance of aPathrecord 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 p_265640_) ContainerObjectSelectionList.Entry.nextFocusPath(FocusNavigationEvent p_265672_) ContainerObjectSelectionList.nextFocusPath(FocusNavigationEvent p_265385_) ImageWidget.nextFocusPath(FocusNavigationEvent p_296129_) LoadingDotsWidget.nextFocusPath(FocusNavigationEvent p_306162_) ObjectSelectionList.nextFocusPath(FocusNavigationEvent p_265150_) PlayerSkinWidget.nextFocusPath(FocusNavigationEvent p_299934_) -
Uses of ComponentPath in net.minecraft.client.gui.components.events
Methods in net.minecraft.client.gui.components.events that return ComponentPathModifier and TypeMethodDescriptiondefault ComponentPathContainerEventHandler.getCurrentFocusPath()default ComponentPathGuiEventListener.getCurrentFocusPath()private ComponentPathContainerEventHandler.handleArrowNavigation(FocusNavigationEvent.ArrowNavigation pArrowNavigation) Handles arrow-based navigation events.private ComponentPathContainerEventHandler.handleTabNavigation(FocusNavigationEvent.TabNavigation pTabNavigation) Handles tab-based navigation events.default ComponentPathContainerEventHandler.nextFocusPath(FocusNavigationEvent p_265668_) Retrieves the next focus path based on the given focus navigation event.default ComponentPathGuiEventListener.nextFocusPath(FocusNavigationEvent pEvent) Retrieves the next focus path based on the given focus navigation event.private ComponentPathContainerEventHandler.nextFocusPathInDirection(ScreenRectangle pRectangle, ScreenDirection pDirection, GuiEventListener pListener, FocusNavigationEvent pEvent) Calculates the next focus path in a specific direction.private ComponentPathContainerEventHandler.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 p_275418_) 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 p_344970_)