Untitled
unknown
java
2 years ago
432 B
7
Indexable
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);
}
}Editor is loading...