Package noppes.npcs.api.overlay
Interface ICustomOverlay
-
public interface ICustomOverlay
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IOverlayLabeladdLabel(int id, java.lang.String label, int x, int y, int width, int height)IOverlayLabeladdLabel(int id, java.lang.String label, int x, int y, int width, int height, int color)IOverlayLineaddLine(int id, int x1, int y1, int x2, int y2)IOverlayLineaddLine(int id, int x1, int y1, int x2, int y2, int color, int thickness)IOverlayTexturedRectaddTexturedRect(int id, java.lang.String texture, int x, int y, int width, int height)IOverlayTexturedRectaddTexturedRect(int id, java.lang.String texture, int x, int y, int width, int height, int textureX, int textureY)ICustomOverlayfromNBT(net.minecraft.nbt.NBTTagCompound tag)ICustomOverlayComponentgetComponent(int componentID)java.util.List<ICustomOverlayComponent>getComponents()intgetDefaultAlignment()intgetID()voidremoveComponent(int componentID)voidsetDefaultAlignment(int defaultAlignment)net.minecraft.nbt.NBTTagCompoundtoNBT()voidupdate(IPlayer player)voidupdateComponent(ICustomOverlayComponent component)
-
-
-
Method Detail
-
getID
int getID()
-
getComponents
java.util.List<ICustomOverlayComponent> getComponents()
-
getDefaultAlignment
int getDefaultAlignment()
-
setDefaultAlignment
void setDefaultAlignment(int defaultAlignment)
-
addTexturedRect
IOverlayTexturedRect addTexturedRect(int id, java.lang.String texture, int x, int y, int width, int height)
-
addTexturedRect
IOverlayTexturedRect addTexturedRect(int id, java.lang.String texture, int x, int y, int width, int height, int textureX, int textureY)
-
addLabel
IOverlayLabel addLabel(int id, java.lang.String label, int x, int y, int width, int height)
-
addLabel
IOverlayLabel addLabel(int id, java.lang.String label, int x, int y, int width, int height, int color)
-
addLine
IOverlayLine addLine(int id, int x1, int y1, int x2, int y2, int color, int thickness)
-
addLine
IOverlayLine addLine(int id, int x1, int y1, int x2, int y2)
-
getComponent
ICustomOverlayComponent getComponent(int componentID)
-
removeComponent
void removeComponent(int componentID)
-
updateComponent
void updateComponent(ICustomOverlayComponent component)
-
update
void update(IPlayer player)
-
fromNBT
ICustomOverlay fromNBT(net.minecraft.nbt.NBTTagCompound tag)
-
toNBT
net.minecraft.nbt.NBTTagCompound toNBT()
-
-