mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 19:19:43 +00:00
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:
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++){
|
||||
|
||||
Reference in new issue
Block a user