public abstract class BasicScreenAddon extends java.lang.Object implements IScreenAddon
| Modifier | Constructor and Description |
|---|---|
protected |
BasicScreenAddon(int posX,
int posY) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPosX() |
int |
getPosY() |
abstract int |
getXSize() |
abstract int |
getYSize() |
boolean |
isInside(net.minecraft.client.gui.screen.Screen container,
double mouseX,
double mouseY)
A check to know if the mouse is inside of the component to draw the tooltip lines
|
void |
setPosX(int posX) |
void |
setPosY(int posY) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdrawBackgroundLayer, drawForegroundLayer, getTooltipLines, init, isBackground, keyPressedpublic boolean isInside(net.minecraft.client.gui.screen.Screen container,
double mouseX,
double mouseY)
IScreenAddonisInside in interface IScreenAddoncontainer - The current open screenmouseX - The current mouse XmouseY - The current mouse Ypublic abstract int getXSize()
public abstract int getYSize()
public int getPosX()
public void setPosX(int posX)
public int getPosY()
public void setPosY(int posY)