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) voidclear()voidfromNbt(net.minecraft.nbt.CompoundTag tagCompound) getComponent(int id) intgetId()intvoidremoveComponent(int id) voidsetLinkSide(int side) net.minecraft.nbt.CompoundTagtoNbt()
-
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)
-