Package noppes.npcs.api.gui
Interface ICustomGuiComponent
-
- All Known Subinterfaces:
IButton,IItemSlot,ILabel,ILine,IScroll,ITextField,ITexturedRect
public interface ICustomGuiComponent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ICustomGuiComponentfromNBT(net.minecraft.nbt.NBTTagCompound nbt)floatgetAlpha()intgetColor()java.lang.String[]getHoverText()intgetID()intgetPosX()intgetPosY()floatgetRotation()booleanhasHoverText()voidsetAlpha(float alpha)ICustomGuiComponentsetColor(int color)ICustomGuiComponentsetHoverText(java.lang.String hoverText)ICustomGuiComponentsetHoverText(java.lang.String[] hoverTextLines)ICustomGuiComponentsetID(int id)ICustomGuiComponentsetPos(int x, int y)voidsetRotation(float rotation)net.minecraft.nbt.NBTTagCompoundtoNBT(net.minecraft.nbt.NBTTagCompound nbt)
-
-
-
Method Detail
-
getID
int getID()
-
setID
ICustomGuiComponent setID(int id)
-
getPosX
int getPosX()
-
getPosY
int getPosY()
-
setPos
ICustomGuiComponent setPos(int x, int y)
-
hasHoverText
boolean hasHoverText()
-
getHoverText
java.lang.String[] getHoverText()
-
setHoverText
ICustomGuiComponent setHoverText(java.lang.String hoverText)
-
setHoverText
ICustomGuiComponent setHoverText(java.lang.String[] hoverTextLines)
-
getColor
int getColor()
-
setColor
ICustomGuiComponent setColor(int color)
-
getAlpha
float getAlpha()
-
setAlpha
void setAlpha(float alpha)
-
getRotation
float getRotation()
-
setRotation
void setRotation(float rotation)
-
toNBT
net.minecraft.nbt.NBTTagCompound toNBT(net.minecraft.nbt.NBTTagCompound nbt)
-
fromNBT
ICustomGuiComponent fromNBT(net.minecraft.nbt.NBTTagCompound nbt)
-
-