Files
2024-03-17 23:17:19 -04:00

40 lines
727 B
Java

package noppes.npcs.api.gui;
import net.minecraft.nbt.NBTTagCompound;
public interface ICustomGuiComponent {
int getID();
ICustomGuiComponent setID(int id);
int getPosX();
int getPosY();
ICustomGuiComponent setPos(int x, int y);
boolean hasHoverText();
String[] getHoverText();
ICustomGuiComponent setHoverText(String hoverText);
ICustomGuiComponent setHoverText(String[] hoverTextLines);
int getColor();
ICustomGuiComponent setColor(int color);
float getAlpha();
void setAlpha(float alpha);
float getRotation();
void setRotation(float rotation);
NBTTagCompound toNBT(NBTTagCompound nbt);
ICustomGuiComponent fromNBT(NBTTagCompound nbt);
}