Package noppes.npcs.api.overlay
Interface ICustomOverlayComponent
-
- All Known Subinterfaces:
IOverlayLabel,IOverlayLine,IOverlayTexturedRect
public interface ICustomOverlayComponent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ICustomOverlayComponentfromNBT(net.minecraft.nbt.NBTTagCompound nbt)intgetAlignment()floatgetAlpha()intgetColor()intgetID()intgetPosX()intgetPosY()floatgetRotation()voidsetAlignment(int alignment)voidsetAlpha(float alpha)ICustomOverlayComponentsetColor(int color)ICustomOverlayComponentsetID(int id)ICustomOverlayComponentsetPos(int x, int y)voidsetRotation(float rotation)net.minecraft.nbt.NBTTagCompoundtoNBT(net.minecraft.nbt.NBTTagCompound nbt)
-
-
-
Method Detail
-
getID
int getID()
-
setID
ICustomOverlayComponent setID(int id)
-
getPosX
int getPosX()
-
getPosY
int getPosY()
-
setPos
ICustomOverlayComponent setPos(int x, int y)
-
getAlignment
int getAlignment()
-
setAlignment
void setAlignment(int alignment)
-
getColor
int getColor()
-
setColor
ICustomOverlayComponent 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
ICustomOverlayComponent fromNBT(net.minecraft.nbt.NBTTagCompound nbt)
-
-