Package guideme.document.interaction
Interface InteractiveElement
- All Known Implementing Classes:
LytFlowInlineBlock,LytFlowLink,LytGuiSprite,LytImage,LytSlot,LytTooltipSpan,LytWidget
public interface InteractiveElement
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<GuideTooltip> getTooltip(float x, float y) default voiddefault booleanmouseClicked(GuideUiHost screen, int x, int y, net.minecraft.client.input.MouseButtonInfo button, boolean doubleClick) default booleanmouseMoved(GuideUiHost screen, int x, int y) default booleanmouseReleased(GuideUiHost screen, int x, int y, net.minecraft.client.input.MouseButtonInfo button)
-
Method Details
-
mouseMoved
-
mouseClicked
default boolean mouseClicked(GuideUiHost screen, int x, int y, net.minecraft.client.input.MouseButtonInfo button, boolean doubleClick) -
mouseReleased
default boolean mouseReleased(GuideUiHost screen, int x, int y, net.minecraft.client.input.MouseButtonInfo button) -
mouseCaptureLost
default void mouseCaptureLost() -
getTooltip
- Parameters:
x- X position of the mouse in document coordinates.y- Y position of the mouse in document coordinates.
-