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 ICustomOverlayComponent
fromNBT(net.minecraft.nbt.NBTTagCompound nbt)
int
getAlignment()
float
getAlpha()
int
getColor()
int
getID()
int
getPosX()
int
getPosY()
float
getRotation()
void
setAlignment(int alignment)
void
setAlpha(float alpha)
ICustomOverlayComponent
setColor(int color)
ICustomOverlayComponent
setID(int id)
ICustomOverlayComponent
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
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)
-
-