public interface IInteractionElement extends IGuiElement
Modifier and Type | Method and Description |
---|---|
default void |
onMouseClicked(int button)
This is called EVEN IF the mouse is not inside your width and height!
|
default void |
onMouseDragged(int button,
long ticksSinceClick)
This is called EVEN IF the mouse is not inside your width and height!
|
default void |
onMouseReleased(int button)
This is called EVEN IF the mouse is not inside your width and height!
|
addHelpElements, addToolTips, drawBackground, drawForeground, getDebugInfo, getThisAndChildrenAt, tick
asImmutable, contains, contains, contains, create, create, create, expand, expand, expand, expand, getCenter, getCenterTop, getCenterX, getCenterY, getEnd, getEndX, getEndY, getHeight, getPosition, getWidth, offset, offset, offset, offset, offset, offsetToOrigin, rectangleToString, resize, resize
getX, getY
default void onMouseClicked(int button)
default void onMouseDragged(int button, long ticksSinceClick)
default void onMouseReleased(int button)