mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 23:25:07 +00:00
Particles
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user