Package noppes.npcs.api.overlay
Interface ICustomOverlay
-
public interface ICustomOverlay
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IOverlayLabel
addLabel(int id, java.lang.String label, int x, int y, int width, int height)
IOverlayLabel
addLabel(int id, java.lang.String label, int x, int y, int width, int height, int color)
IOverlayLine
addLine(int id, int x1, int y1, int x2, int y2)
IOverlayLine
addLine(int id, int x1, int y1, int x2, int y2, int color, int thickness)
IOverlayTexturedRect
addTexturedRect(int id, java.lang.String texture, int x, int y, int width, int height)
IOverlayTexturedRect
addTexturedRect(int id, java.lang.String texture, int x, int y, int width, int height, int textureX, int textureY)
ICustomOverlay
fromNBT(net.minecraft.nbt.NBTTagCompound tag)
ICustomOverlayComponent
getComponent(int componentID)
java.util.List<ICustomOverlayComponent>
getComponents()
int
getDefaultAlignment()
int
getID()
void
removeComponent(int componentID)
void
setDefaultAlignment(int defaultAlignment)
net.minecraft.nbt.NBTTagCompound
toNBT()
void
update(IPlayer player)
void
updateComponent(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()
-
-