ScriptEntityParticle:

-Added width, offset, and animation rate attributes to particles.
-Added setSize(), getWidth() and getHeight() functions.
-Added setOffset(), getOffsetX(), and getOffsetY() functions.
-Added setAnimRate() and getAnimRate() functions.
This commit is contained in:
Luis C.M committed 2022-05-06 00:22:28 -05:00
1 parent d6c46158f5
commit 728269ff87
6 files changed
+191 -82

No files matched your search

@@ -320,7 +320,7 @@ public class NoppesUtilServer {
float rotationX1, float rotationX2, float rotationXRate, int rotationXRateStart,
float rotationY1, float rotationY2, float rotationYRate, int rotationYRateStart,
float rotationZ1, float rotationZ2, float rotationZRate, int rotationZRateStart,
boolean facePlayer,
boolean facePlayer, int width, int height, int offsetX, int offsetY, int animRate,
int entityID
){
Server.sendToAll(EnumPacketClient.SCRIPTED_PARTICLE,
@@ -332,7 +332,7 @@ public class NoppesUtilServer {
rotationX1, rotationX2, rotationXRate, rotationXRateStart,
rotationY1, rotationY2, rotationYRate, rotationYRateStart,
rotationZ1, rotationZ2, rotationZRate, rotationZRateStart,
facePlayer,
facePlayer, width, height, offsetX, offsetY, animRate,
entityID
);
}