public interface ICustomOverlay
| Modifier and Type | Method and 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) |
int getID()
java.util.List<ICustomOverlayComponent> getComponents()
int getDefaultAlignment()
void setDefaultAlignment(int defaultAlignment)
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)
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, int color, int thickness)
IOverlayLine addLine(int id, int x1, int y1, int x2, int y2)
ICustomOverlayComponent getComponent(int componentID)
void removeComponent(int componentID)
void updateComponent(ICustomOverlayComponent component)
void update(IPlayer player)
ICustomOverlay fromNBT(net.minecraft.nbt.NBTTagCompound tag)
net.minecraft.nbt.NBTTagCompound toNBT()