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 ICustomGuiComponent
fromNBT(net.minecraft.nbt.NBTTagCompound nbt)
float
getAlpha()
int
getColor()
java.lang.String[]
getHoverText()
int
getID()
int
getPosX()
int
getPosY()
float
getRotation()
boolean
hasHoverText()
void
setAlpha(float alpha)
ICustomGuiComponent
setColor(int color)
ICustomGuiComponent
setHoverText(java.lang.String hoverText)
ICustomGuiComponent
setHoverText(java.lang.String[] hoverTextLines)
ICustomGuiComponent
setID(int id)
ICustomGuiComponent
setPos(int x, int y)
void
setRotation(float rotation)
net.minecraft.nbt.NBTTagCompound
toNBT(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)
-
-