ScriptParticle:

-Added HEXColor2, HEXColorRate, and HEXColorRateStart fields, and respective setters and getters, allowing for changes in HEX color over time.

Marked plenty of old ScriptEntityParticle functions as deprecated. This includes any functions referring to scripted particles as "Entity Particles" and functions outside the API or ScriptParticle class used to spawn or create particles.
This commit is contained in:
Luis C.M committed 2022-05-07 03:46:37 -05:00
1 parent d49a31a4fe
commit 5520fc5f2b
7 files changed
+138 -42

No files matched your search

@@ -333,22 +333,11 @@ public class ScriptWorld implements IWorld {
* @param directory The particle's texture directory. Use only forward slashes when writing a directory. Example: "customnpcs:textures/particle/bubble.png"
* @return Returns ScriptParticle object
*/
@Deprecated
public ScriptParticle createEntityParticle(String directory){
return new ScriptParticle(directory);
}
public ScriptParticle createParticle(String directory){
return new ScriptParticle(directory);
}
public void spawnParticle(ScriptParticle particle){
particle.spawnInWorld(this);
}
public void spawnParticle(ScriptParticle particle, double x, double y, double z){
particle.spawnInWorld(this,x,y,z);
}
/**
* @param key Get temp data for this key
* @return Returns the stored temp data