mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 04:59:05 +00:00
Interfaces have a file strucutre resembling the file structure of their implementing classes.
This commit is contained in:
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);
|
||||
}
|
||||
Reference in new issue
Block a user