mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
ScriptParticle:
-The spawnInWorld() function now requires a ScriptWorld object to be passed in as the first parameter. -New spawnInWorld() function with its only parameter being a ScriptWorld object. Spawns in the world with the particle's x,y,z variables.
This commit is contained in:
1 parent
a825d885f5
commit
d49a31a4fe
5 files changed
+47
-15
No files matched your search
@@ -83,7 +83,7 @@ public class ScriptEntity<T extends Entity> implements IEntity {
|
||||
rotationZ1, rotationZ2, rotationZRate, rotationZRateStart,
|
||||
true, -1, -1, 0,0,
|
||||
0, true, 0, 0,
|
||||
entityID
|
||||
entityID, entity.dimension
|
||||
);
|
||||
}
|
||||
public void spawnParticle(String directory, int HEXcolor, int amount, int maxAge,
|
||||
@@ -103,7 +103,7 @@ public class ScriptEntity<T extends Entity> implements IEntity {
|
||||
0, 0, 0, 0,
|
||||
true, -1, -1, 0,0,
|
||||
0, true, 0, 0,
|
||||
entityID
|
||||
entityID, entity.dimension
|
||||
);
|
||||
}
|
||||
public void spawnParticle(String directory, int HEXcolor, int amount, int maxAge,
|
||||
@@ -122,7 +122,7 @@ public class ScriptEntity<T extends Entity> implements IEntity {
|
||||
0, 0, 0, 0,
|
||||
true, -1, -1, 0,0,
|
||||
0, true, 0, 0,
|
||||
entityID
|
||||
entityID, entity.dimension
|
||||
);
|
||||
}
|
||||
public void spawnParticle(String directory, int HEXcolor, int amount, int maxAge,
|
||||
@@ -140,7 +140,7 @@ public class ScriptEntity<T extends Entity> implements IEntity {
|
||||
0, 0, 0, 0,
|
||||
true, -1, -1, 0,0,
|
||||
0, true, 0, 0,
|
||||
entityID
|
||||
entityID, entity.dimension
|
||||
);
|
||||
}
|
||||
public void spawnParticle(String directory, int HEXcolor, int amount, int maxAge,
|
||||
@@ -157,7 +157,7 @@ public class ScriptEntity<T extends Entity> implements IEntity {
|
||||
0, 0, 0, 0,
|
||||
true, -1, -1, 0,0,
|
||||
0, true, 0, 0,
|
||||
entityID
|
||||
entityID, entity.dimension
|
||||
);
|
||||
}
|
||||
public void spawnParticle(String directory, int HEXcolor, int amount, int maxAge
|
||||
@@ -173,7 +173,7 @@ public class ScriptEntity<T extends Entity> implements IEntity {
|
||||
0, 0, 0, 0,
|
||||
true, -1, -1, 0,0,
|
||||
0, true, 0, 0,
|
||||
entityID
|
||||
entityID, entity.dimension
|
||||
);
|
||||
}
|
||||
public void spawnParticle(ScriptParticle entityParticle) { entityParticle.spawnOnEntity(this); }
|
||||
|
||||
Reference in new issue
Block a user