public interface IGuiElement extends IGuiArea, ITooltipElement, IHelpElement
Modifier and Type | Method and Description |
---|---|
default void |
addHelpElements(java.util.List<ElementHelpInfo.HelpPosition> elements) |
default void |
addToolTips(java.util.List<ToolTip> tooltips)
Called to add tooltips to the list of existing tool tips.
|
default void |
drawBackground(float partialTicks) |
default void |
drawForeground(float partialTicks) |
default java.lang.String |
getDebugInfo(java.util.List<java.lang.String> info)
Add debugging information to the list.
|
default java.util.List<IGuiElement> |
getThisAndChildrenAt(double x,
double y) |
default void |
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 drawBackground(float partialTicks)
default void drawForeground(float partialTicks)
default void tick()
default void addToolTips(java.util.List<ToolTip> tooltips)
This is called EVEN IF the mouse is not inside your width and height!
addToolTips
in interface ITooltipElement
default void addHelpElements(java.util.List<ElementHelpInfo.HelpPosition> elements)
addHelpElements
in interface IHelpElement
default java.util.List<IGuiElement> getThisAndChildrenAt(double x, double y)
default java.lang.String getDebugInfo(java.util.List<java.lang.String> info)