JavaScript is disabled on your browser.
Methods in noppes.npcs.api.gui that return IButton
Modifier and Type
Method
Description
IButton
ICustomGui. addButton (int id,
java.lang.String label,
int x,
int y)
Add a regular, Minecraft style button to this GUI.
IButton
ICustomGui. addButton (int id,
java.lang.String label,
int x,
int y,
int width,
int height)
Add a regular, Minecraft style button to this GUI, with a defined width and height.
IButton
ICustomGui. addTexturedButton (int id,
java.lang.String label,
int x,
int y,
int width,
int height,
java.lang.String texture)
Add a button with a custom texture to this GUI.
IButton
ICustomGui. addTexturedButton (int id,
java.lang.String label,
int x,
int y,
int width,
int height,
java.lang.String texture,
int textureX,
int textureY)
Add a button with a custom texture to this GUI, with a texture offset.
IButton
IButton. setLabel (java.lang.String label)
IButton
IButton. setSize (int width,
int height)
IButton
IButton. setTexture (java.lang.String texture)
IButton
IButton. setTextureOffset (int textureX,
int textureY)