Package noppes.npcs.api.gui
Interface IItemRenderer
- All Superinterfaces:
ICustomGuiComponent
-
Method Summary
Modifier and TypeMethodDescriptionintfloatgetScale()getStack()intgetWidth()booleanhasStack()setHoverBox(int width, int height) setScale(float scaleFactor) setStack(IItemStack p0) Methods inherited from interface noppes.npcs.api.gui.ICustomGuiComponent
getEnabled, getHoverText, getID, getPosX, getPosY, getType, getUniqueID, getVisible, hasHoverText, setEnabled, setHoverText, setHoverText, setID, setPos, setSize, setVisible
-
Method Details
-
hasStack
boolean hasStack() -
getStack
IItemStack getStack() -
setStack
-
getWidth
int getWidth()- Specified by:
getWidthin interfaceICustomGuiComponent
-
getHeight
int getHeight()- Specified by:
getHeightin interfaceICustomGuiComponent
-
setHoverBox
-
getScale
float getScale() -
setScale
-