Package noppes.npcs.api.overlay
Interface IOverlay
public interface IOverlay
-
Method Summary
Modifier and TypeMethodDescriptionaddRenderItem
(int id, int x, int y, IItemStack item) addTexturedRect
(int id, String texture, int x, int y, int width, int height) addTexturedRectCrop
(int id, String texture, int x, int y, int width, int height, int textureX, int textureY) addTexturedRectCrop
(int id, String texture, int x, int y, int width, int height, int textureX, int textureY, int textureMaxX, int textureMaxY) void
clear()
void
fromNbt
(net.minecraft.nbt.CompoundTag tagCompound) getComponent
(int id) int
getId()
int
void
removeComponent
(int id) void
setLinkSide
(int side) net.minecraft.nbt.CompoundTag
toNbt()
-
Method Details
-
getId
int getId() -
setLinkSide
void setLinkSide(int side) -
getLinkSide
int getLinkSide() -
addLabel
-
addTexturedRect
-
addTexturedRectCrop
ITexturedRect addTexturedRectCrop(int id, String texture, int x, int y, int width, int height, int textureX, int textureY) -
addTexturedRectCrop
ITexturedRect addTexturedRectCrop(int id, String texture, int x, int y, int width, int height, int textureX, int textureY, int textureMaxX, int textureMaxY) -
getComponent
-
addRenderItem
-
getComponents
Collection<IOverlayComponent> getComponents() -
removeComponent
void removeComponent(int id) -
clear
void clear() -
toNbt
net.minecraft.nbt.CompoundTag toNbt() -
fromNbt
void fromNbt(net.minecraft.nbt.CompoundTag tagCompound)
-