mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 08:02:20 +00:00
ScriptEntityParticle:
-Added scripted particles which can not face the player, having their angles be absolute in the world instead of relative to the camera. -set/getFacePlayer() functions added.
This commit is contained in:
1 parent
1cd3ff31b6
commit
f16e2402a6
6 files changed
+44
-67
No files matched your search
@@ -113,6 +113,8 @@ public class NoppesUtil {
|
||||
float rotationZRate = buffer.readFloat();
|
||||
int rotationZRateStart = buffer.readInt();
|
||||
|
||||
boolean facePlayer = buffer.readBoolean();
|
||||
|
||||
int entityID = buffer.readInt();
|
||||
|
||||
World worldObj = Minecraft.getMinecraft().theWorld;
|
||||
@@ -131,7 +133,7 @@ public class NoppesUtil {
|
||||
rotationX1, rotationX2, rotationXRate, rotationXRateStart,
|
||||
rotationY1, rotationY2, rotationYRate, rotationYRateStart,
|
||||
rotationZ1, rotationZ2, rotationZRate, rotationZRateStart,
|
||||
maxAge
|
||||
maxAge, facePlayer
|
||||
);
|
||||
|
||||
for(int i = 0; i < amount; i++){
|
||||
|
||||
Reference in new issue
Block a user