mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-14 20:14:43 +00:00
40 lines
727 B
Java
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);
|
|
}
|