mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 01:44:27 +00:00
ScriptEntityParticle:
-Particles can now start or end at a certain tick, and loop or not loop. -Added setSize(), getWidth() and getHeight() functions. -Added setOffset(), getOffsetX(), and getOffsetY() functions. -Added setAnimRate() and getAnimRate() functions.
This commit is contained in:
1 parent
728269ff87
commit
2d2933e873
5 files changed
+55
-16
No files matched your search
@@ -119,7 +119,11 @@ public class NoppesUtil {
|
||||
int height = buffer.readInt();
|
||||
int offsetX = buffer.readInt();
|
||||
int offsetY = buffer.readInt();
|
||||
|
||||
int animRate = buffer.readInt();
|
||||
boolean animLoop = buffer.readBoolean();
|
||||
int animStart = buffer.readInt();
|
||||
int animEnd = buffer.readInt();
|
||||
|
||||
int entityID = buffer.readInt();
|
||||
|
||||
@@ -140,7 +144,8 @@ public class NoppesUtil {
|
||||
rotationY1, rotationY2, rotationYRate, rotationYRateStart,
|
||||
rotationZ1, rotationZ2, rotationZRate, rotationZRateStart,
|
||||
maxAge, facePlayer,
|
||||
width, height, offsetX, offsetY, animRate
|
||||
width, height, offsetX, offsetY,
|
||||
animRate, animLoop, animStart, animEnd
|
||||
);
|
||||
|
||||
for(int i = 0; i < amount; i++){
|
||||
|
||||
Reference in new issue
Block a user