Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected void spawnParticles(IParticleData p_213718_1_) {
- if (world.isRemote()) {
- ServerWorld worldServer = (ServerWorld)world;
- for(int i = 0; i < 5; ++i) {
- double d0 = world.rand.nextGaussian() * 0.02D;
- double d1 = world.rand.nextGaussian() * 0.02D;
- double d2 = world.rand.nextGaussian() * 0.02D;
- 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);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement