Vaerys_Dawn

still doesn't work ;-;

Jan 18th, 2021
1,755
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     protected void spawnParticles(IParticleData p_213718_1_) {
  2.         if (world.isRemote()) {
  3.             ServerWorld worldServer = (ServerWorld)world;
  4.             for(int i = 0; i < 5; ++i) {
  5.                 double d0 = world.rand.nextGaussian() * 0.02D;
  6.                 double d1 = world.rand.nextGaussian() * 0.02D;
  7.                 double d2 = world.rand.nextGaussian() * 0.02D;
  8.                 worldServer.spawnParticle(p_213718_1_, this.animal.getParticleX(1.0D), this.animal.getRandomBodyY() + 1.0D, this.animal.getParticleZ(1.0D), 50, d0, d1, d2, 0.1f);
  9.             }
  10.         }
  11.     }
RAW Paste Data