Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @OnlyIn(Dist.CLIENT)
- protected void spawnParticles(IParticleData p_213718_1_) {
- 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;
- this.world.addParticle(p_213718_1_, this.animal.getParticleX(1.0D), this.animal.getRandomBodyY() + 1.0D, this.animal.getParticleZ(1.0D), d0, d1, d2);
- }
- }
- this.animal.playSound(SoundEvents.ENTITY_BEE_HURT, 2.0f, 1.0f);
- spawnParticles(ParticleTypes.ANGRY_VILLAGER);
- System.out.println("failure");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement