Untitled
public void spawnSweepAttackParticles() { double d = -MathHelper.sin(this.getYaw() * ((float)Math.PI / 180)); double e = MathHelper.cos(this.getYaw() * ((float)Math.PI / 180)); if (this.getWorld() instanceof ServerWorld) { ((ServerWorld)this.getWorld()).spawnParticles(ParticleTypes.SWEEP_ATTACK, this.getX() + d, this.getBodyY(0.5), this.getZ() + e, 0, d, 0.0, e, 0.0); } }