Particles

This commit is contained in:
Kam committed 2025-03-19 00:57:41 -04:00
1 parent 2fc83cdfc4
commit 53441bb2d8
3 files changed
+23 -4

No files matched your search

@@ -382,7 +382,12 @@ public class EntityProjectile extends EntityThrowable {
}
if (worldObj.isRemote && !this.dataWatcher.getWatchableObjectString(22).equals("")) {
this.worldObj.spawnParticle(this.dataWatcher.getWatchableObjectString(22), this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D);
String particle = this.dataWatcher.getWatchableObjectString(22);
if(particle.equals("custom")){
} else {
this.worldObj.spawnParticle(particle, this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D);
}
}
this.setPosition(this.posX, this.posY, this.posZ);
this.func_145775_I();//doBlockCollisions