Package noppes.npcs.api.gui
Interface ITexturedRect
-
- All Superinterfaces:
ICustomGuiComponent
public interface ITexturedRect extends ICustomGuiComponent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetHeight()floatgetScale()java.lang.StringgetTexture()intgetTextureX()intgetTextureY()intgetWidth()ITexturedRectsetScale(float scale)ITexturedRectsetSize(int width, int height)ITexturedRectsetTexture(java.lang.String texture)ITexturedRectsetTextureOffset(int textureX, int textureY)-
Methods inherited from interface noppes.npcs.api.gui.ICustomGuiComponent
fromNBT, getAlpha, getColor, getHoverText, getID, getPosX, getPosY, getRotation, hasHoverText, setAlpha, setColor, setHoverText, setHoverText, setID, setPos, setRotation, toNBT
-
-
-
-
Method Detail
-
getTexture
java.lang.String getTexture()
-
setTexture
ITexturedRect setTexture(java.lang.String texture)
-
getWidth
int getWidth()
-
getHeight
int getHeight()
-
setSize
ITexturedRect setSize(int width, int height)
-
getScale
float getScale()
-
setScale
ITexturedRect setScale(float scale)
-
getTextureX
int getTextureX()
-
getTextureY
int getTextureY()
-
setTextureOffset
ITexturedRect setTextureOffset(int textureX, int textureY)
-
-