Interfaces have a file strucutre resembling the file structure of their implementing classes.

This commit is contained in:
Luis C.M committed 2022-05-11 16:43:14 -05:00
1 parent c2546c3f82
commit 6dea5a1cbc
128 files changed
+401 -321

No files matched your search

@@ -0,0 +1,36 @@
package noppes.npcs.scripted.interfaces.overlay;
import net.minecraft.nbt.NBTTagCompound;
import noppes.npcs.scripted.overlay.ScriptOverlayComponent;
public interface ICustomOverlayComponent {
int getID();
ICustomOverlayComponent setID(int id);
int getPosX();
int getPosY();
ICustomOverlayComponent setPos(int x, int y);
int getAlignment();
void setAlignment(int alignment);
int getColor();
ICustomOverlayComponent setColor(int color);
float getAlpha();
void setAlpha(float alpha);
float getRotation();
void setRotation(float rotation);
NBTTagCompound toNBT(NBTTagCompound nbt);
ScriptOverlayComponent fromNBT(NBTTagCompound nbt);
}