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

@@ -115,6 +115,12 @@ public class NoppesUtil {
boolean facePlayer = buffer.readBoolean();
int width = buffer.readInt();
int height = buffer.readInt();
int offsetX = buffer.readInt();
int offsetY = buffer.readInt();
int animRate = buffer.readInt();
int entityID = buffer.readInt();
World worldObj = Minecraft.getMinecraft().theWorld;
@@ -133,7 +139,8 @@ public class NoppesUtil {
rotationX1, rotationX2, rotationXRate, rotationXRateStart,
rotationY1, rotationY2, rotationYRate, rotationYRateStart,
rotationZ1, rotationZ2, rotationZRate, rotationZRateStart,
maxAge, facePlayer
maxAge, facePlayer,
width, height, offsetX, offsetY, animRate
);
for(int i = 0; i < amount; i++){