2022-05-11 16:43:14 -05:00
|
|
|
package noppes.npcs.scripted.interfaces;
|
|
|
|
|
|
|
|
|
|
import noppes.npcs.NoppesUtilServer;
|
|
|
|
|
import noppes.npcs.scripted.ScriptWorld;
|
2022-05-11 22:08:31 -05:00
|
|
|
import noppes.npcs.scripted.interfaces.entity.IEntity;
|
2022-05-11 16:43:14 -05:00
|
|
|
|
|
|
|
|
public interface IParticle {
|
|
|
|
|
|
2022-05-11 22:08:31 -05:00
|
|
|
void spawnOnEntity(IEntity entity);
|
2022-05-11 16:43:14 -05:00
|
|
|
|
|
|
|
|
void spawnInWorld(ScriptWorld world);
|
|
|
|
|
|
|
|
|
|
void spawnInWorld(ScriptWorld world, double x, double y, double z);
|
|
|
|
|
|
2022-05-17 05:35:08 -05:00
|
|
|
void setFacePlayer(boolean facePlayer);
|
|
|
|
|
boolean getFacePlayer();
|
|
|
|
|
|
|
|
|
|
void setDirectory(String directory);
|
|
|
|
|
String getDirectory();
|
|
|
|
|
|
|
|
|
|
void setAmount(int amount);
|
|
|
|
|
int getAmount();
|
|
|
|
|
|
|
|
|
|
void setMaxAge(int maxAge);
|
|
|
|
|
int getMaxAge();
|
|
|
|
|
|
2022-05-11 16:43:14 -05:00
|
|
|
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);
|
|
|
|
|
int getAnimRate();
|
|
|
|
|
boolean getAnimLoop();
|
|
|
|
|
int getAnimStart();
|
|
|
|
|
int getAnimEnd();
|
|
|
|
|
|
2022-05-17 05:35:08 -05:00
|
|
|
void setPosition(double x, double y, double z);
|
2022-05-11 16:43:14 -05:00
|
|
|
double getX();
|
|
|
|
|
double getY();
|
|
|
|
|
double getZ();
|
|
|
|
|
|
2022-05-17 05:35:08 -05:00
|
|
|
void setMotion(double motionX, double motionY, double motionZ, float gravity);
|
2022-05-11 16:43:14 -05:00
|
|
|
double getMotionX();
|
|
|
|
|
double getMotionY();
|
|
|
|
|
double getMotionZ();
|
|
|
|
|
float getGravity();
|
|
|
|
|
|
2022-05-17 05:35:08 -05:00
|
|
|
void setHEXColor(int HEXColor, int HEXColor2, float HEXColorRate, int HEXColorStart);
|
2022-05-11 16:43:14 -05:00
|
|
|
int getHEXColor1();
|
|
|
|
|
int getHEXColor2();
|
|
|
|
|
float getHEXColorRate();
|
|
|
|
|
int getHEXColorStart();
|
|
|
|
|
|
2022-05-17 05:35:08 -05:00
|
|
|
void setAlpha(float alpha1, float alpha2, float alphaRate, int alphaRateStart);
|
2022-05-11 16:43:14 -05:00
|
|
|
float getAlpha1();
|
|
|
|
|
float getAlpha2();
|
|
|
|
|
float getAlphaRate();
|
|
|
|
|
int getAlphaRateStart();
|
|
|
|
|
|
2022-05-17 05:35:08 -05:00
|
|
|
void setScale(float scale1, float scale2, float scaleRate, int scaleRateStart);
|
2022-05-11 16:43:14 -05:00
|
|
|
float getScale1();
|
|
|
|
|
float getScale2();
|
|
|
|
|
float getScaleRate();
|
|
|
|
|
int getScaleRateStart();
|
|
|
|
|
|
2022-05-17 05:35:08 -05:00
|
|
|
void setRotationX(float rotationX1, float rotationX2, float rotationXRate, int rotationXRateStart);
|
2022-05-11 16:43:14 -05:00
|
|
|
float getRotationX1();
|
|
|
|
|
float getRotationX2();
|
|
|
|
|
float getRotationXRate();
|
|
|
|
|
int getRotationXRateStart();
|
|
|
|
|
|
2022-05-17 05:35:08 -05:00
|
|
|
void setRotationY(float rotationY1, float rotationY2, float rotationYRate, int rotationYRateStart);
|
2022-05-11 16:43:14 -05:00
|
|
|
float getRotationY1();
|
|
|
|
|
float getRotationY2();
|
|
|
|
|
float getRotationYRate();
|
|
|
|
|
int getRotationYRateStart();
|
|
|
|
|
|
2022-05-17 05:35:08 -05:00
|
|
|
void setRotationZ(float rotationZ1, float rotationZ2, float rotationZRate, int rotationZRateStart);
|
2022-05-11 16:43:14 -05:00
|
|
|
float getRotationZ1();
|
|
|
|
|
float getRotationZ2();
|
|
|
|
|
float getRotationZRate();
|
|
|
|
|
int getRotationZRateStart();
|
|
|
|
|
|
|
|
|
|
}
|