net.minecraft.client.gui

public interface ParentElement

extends Element

net.minecraft.client.gui.components.events.ContainerEventHandler
net.minecraft.class_4069
net.minecraft.client.gui.ParentElement

Method summary

Modifier and TypeMethod
List<? extends Element>
children()
method_25396()
children()
default Optional<Element>
getChildAt(double x, double y)
method_19355(double arg0, double arg1)
hoveredElement(double mouseX, double mouseY)
default boolean
mouseClicked(MouseButtonEvent event, boolean doubleClick)
method_25402(class_11909 arg0, boolean arg1)
mouseClicked(Click arg0, boolean arg1)
default boolean
mouseReleased(MouseButtonEvent event)
method_25406(class_11909 arg0)
mouseReleased(Click arg0)
default boolean
mouseDragged(MouseButtonEvent event, double dx, double dy)
method_25403(class_11909 arg0, double arg1, double arg2)
mouseDragged(Click arg0, double arg1, double arg2)
boolean
isDragging()
method_25397()
isDragging()
void
setDragging(boolean dragging)
method_25398(boolean arg0)
setDragging(boolean dragging)
default boolean
mouseScrolled(double x, double y, double scrollX, double scrollY)
method_25401(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
default boolean
keyPressed(KeyEvent event)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)
default boolean
keyReleased(KeyEvent event)
method_16803(class_11908 arg0)
keyReleased(KeyInput arg0)
default boolean
charTyped(CharacterEvent event)
method_25400(class_11905 arg0)
charTyped(CharInput arg0)
Element
getFocused()
method_25399()
getFocused()
void
setFocused(GuiEventListener focused)
method_25395(class_364 arg0)
setFocused(Element focused)
default void
setFocused(boolean focused)
method_25365(boolean arg0)
setFocused(boolean arg0)
default boolean
isFocused()
method_25370()
isFocused()
default GuiNavigationPath
getCurrentFocusPath()
method_48218()
getFocusedPath()
default GuiNavigationPath
nextFocusPath(FocusNavigationEvent navigationEvent)
method_48205(class_8023 arg0)
getNavigationPath(GuiNavigation arg0)
private GuiNavigationPath
handleTabNavigation(FocusNavigationEvent$TabNavigation tabNavigation)
method_48215(class_8023$class_8026 arg0)
computeNavigationPath(GuiNavigation$Tab navigation)
private GuiNavigationPath
handleArrowNavigation(FocusNavigationEvent$ArrowNavigation arrowNavigation)
method_48214(class_8023$class_8024 arg0)
computeNavigationPath(GuiNavigation$Arrow navigation)
private GuiNavigationPath
nextFocusPathInDirection(ScreenRectangle focusedRectangle, ScreenDirection direction, GuiEventListener excluded, FocusNavigationEvent navigationEvent)
method_48217(class_8030 arg0, class_8028 arg1, class_364 arg2, class_8023 arg3)
computeChildPath(ScreenRect focus, NavigationDirection direction, Element focused, GuiNavigation navigation)
private GuiNavigationPath
nextFocusPathVaguelyInDirection(ScreenRectangle focusedRectangle, ScreenDirection direction, GuiEventListener excluded, FocusNavigationEvent navigationEvent)
method_48220(class_8030 arg0, class_8028 arg1, class_364 arg2, class_8023 arg3)
computeInitialChildPath(ScreenRect focus, NavigationDirection direction, Element focused, GuiNavigation navigation)
private static Integer
lambda$nextFocusPathInDirection$3(ScreenDirection arg0, GuiEventListener arg1)
method_48216(class_8028 arg0, class_364 arg1)
method_48216(NavigationDirection arg0, Element element)
private static Integer
lambda$nextFocusPathInDirection$2(ScreenDirection arg0, GuiEventListener arg1)
method_48219(class_8028 arg0, class_364 arg1)
method_48219(NavigationDirection arg0, Element element)
private static int
lambda$handleTabNavigation$1(GuiEventListener arg0)
method_48609(class_364 arg0)
method_48609(Element child)
private static boolean
lambda$mouseScrolled$0(double arg0, double arg1, double arg2, double arg3, GuiEventListener arg4)
method_20082(double arg0, double arg1, double arg2, double arg3, class_364 arg4)
method_20082(double arg0, double arg1, double arg2, double arg3, Element element)