mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 17:47:32 +00:00
134 lines
3.8 KiB
Java
134 lines
3.8 KiB
Java
package noppes.npcs.scripted.interfaces;
|
|||
|
|
|
||
|
|
import noppes.npcs.NoppesUtilServer;
|
||
|
|
import noppes.npcs.scripted.ScriptWorld;
|
||
|
|
import noppes.npcs.scripted.entity.ScriptEntity;
|
||
|
|
|
||
|
|
public interface IParticle {
|
||
|
|
|
||
|
|
void spawnOnEntity(ScriptEntity entity);
|
||
|
|
|
||
|
|
void spawnInWorld(ScriptWorld world);
|
||
|
|
|
||
|
|
void spawnInWorld(ScriptWorld world, double x, double y, double z);
|
||
|
|
|
||
|
|
void setSize(int width, int height);
|
||
|
|
int getWidth();
|
||
|
|
int getHeight();
|
||
|
|
|
||
|
|
void setOffset(int offsetX, int offsetY);
|
||
|
|
int getOffsetX();
|
||
|
|
int getOffsetY();
|
||
|
|
|
||
|
|
void setAnim(int animRate, boolean animLoop, int animStart, int animEnd);
|
||
|
|
void setAnimRate(int animRate);
|
||
|
|
int getAnimRate();
|
||
|
|
void setAnimLoop(boolean animLoop);
|
||
|
|
boolean getAnimLoop();
|
||
|
|
void setAnimStart(int animStart);
|
||
|
|
int getAnimStart();
|
||
|
|
void setAnimEnd(int animEnd);
|
||
|
|
int getAnimEnd();
|
||
|
|
|
||
|
|
boolean getFacePlayer();
|
||
|
|
void setFacePlayer(boolean facePlayer);
|
||
|
|
|
||
|
|
String getDirectory();
|
||
|
|
|
||
|
|
int getAmount();
|
||
|
|
|
||
|
|
int getMaxAge();
|
||
|
|
|
||
|
|
double getX();
|
||
|
|
double getY();
|
||
|
|
double getZ();
|
||
|
|
|
||
|
|
double getMotionX();
|
||
|
|
double getMotionY();
|
||
|
|
double getMotionZ();
|
||
|
|
float getGravity();
|
||
|
|
|
||
|
|
int getHEXColor1();
|
||
|
|
int getHEXColor2();
|
||
|
|
float getHEXColorRate();
|
||
|
|
int getHEXColorStart();
|
||
|
|
|
||
|
|
float getAlpha1();
|
||
|
|
float getAlpha2();
|
||
|
|
float getAlphaRate();
|
||
|
|
int getAlphaRateStart();
|
||
|
|
|
||
|
|
float getScale1();
|
||
|
|
float getScale2();
|
||
|
|
float getScaleRate();
|
||
|
|
int getScaleRateStart();
|
||
|
|
|
||
|
|
float getRotationX1();
|
||
|
|
float getRotationX2();
|
||
|
|
float getRotationXRate();
|
||
|
|
int getRotationXRateStart();
|
||
|
|
|
||
|
|
float getRotationY1();
|
||
|
|
float getRotationY2();
|
||
|
|
float getRotationYRate();
|
||
|
|
int getRotationYRateStart();
|
||
|
|
|
||
|
|
float getRotationZ1();
|
||
|
|
float getRotationZ2();
|
||
|
|
float getRotationZRate();
|
||
|
|
int getRotationZRateStart();
|
||
|
|
|
||
|
|
void setDirectory(String directory);
|
||
|
|
|
||
|
|
void setAmount(int amount);
|
||
|
|
|
||
|
|
void setMaxAge(int maxAge);
|
||
|
|
|
||
|
|
void setPosition(double x, double y, double z);
|
||
|
|
void setX(double x);
|
||
|
|
void setY(double y);
|
||
|
|
void setZ(double z);
|
||
|
|
|
||
|
|
void setMotion(double motionX, double motionY, double motionZ, float gravity);
|
||
|
|
void setMotionX(double motionX);
|
||
|
|
void setMotionY(double motionY);
|
||
|
|
void setMotionZ(double motionZ);
|
||
|
|
void setGravity(float gravity);
|
||
|
|
|
||
|
|
void setHEXColor(int HEXColor, int HEXColor2, float HEXColorRate, int HEXColorStart);
|
||
|
|
void setHEXColor1(int HEXColor);
|
||
|
|
void setHEXColor2(int HEXColor2);
|
||
|
|
void setHEXColorRate(float HEXColorRate);
|
||
|
|
void setHEXColorStart(int HEXColorStart);
|
||
|
|
|
||
|
|
void setAlpha(float alpha1, float alpha2, float alphaRate, int alphaRateStart);
|
||
|
|
void setAlpha1(float alpha1);
|
||
|
|
void setAlpha2(float alpha2);
|
||
|
|
void setAlphaRate(float alphaRate);
|
||
|
|
void setAlphaRateStart(int alphaRateStart);
|
||
|
|
|
||
|
|
void setScale(float scale1, float scale2, float scaleRate, int scaleRateStart);
|
||
|
|
void setScale1(float scale1);
|
||
|
|
void setScale2(float scale2);
|
||
|
|
void setScaleRate(float scaleRate);
|
||
|
|
void setScaleRateStart(int scaleRateStart);
|
||
|
|
|
||
|
|
void setRotationX(float rotationX1, float rotationX2, float rotationXRate, int rotationXRateStart);
|
||
|
|
void setRotationX1(float rotationX1);
|
||
|
|
void setRotationX2(float rotationX2);
|
||
|
|
void setRotationXRate(float rotationXRate);
|
||
|
|
void setRotationXRateStart(int rotationXRateStart);
|
||
|
|
|
||
|
|
void setRotationY(float rotationY1, float rotationY2, float rotationYRate, int rotationYRateStart);
|
||
|
|
void setRotationY1(float rotationY1);
|
||
|
|
void setRotationY2(float rotationY2);
|
||
|
|
void setRotationYRate(float rotationYRate);
|
||
|
|
void setRotationYRateStart(int rotationYRateStart);
|
||
|
|
|
||
|
|
void setRotationZ(float rotationZ1, float rotationZ2, float rotationZRate, int rotationZRateStart);
|
||
|
|
void setRotationZ1(float rotationZ1);
|
||
|
|
void setRotationZ2(float rotationZ2);
|
||
|
|
void setRotationZRate(float rotationZRate);
|
||
|
|
void setRotationZRateStart(int rotationZRateStart);
|
||
|
|
|
||
|
|
}
|