Files

18 lines
647 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Test (2).js — vanishEffect() (satır 597)
[← Test (2).js](index.md) · [← Master](../../wiki.md)
```javascript
function vanishEffect(c, p) {
var pos = p.getPosition();
var x = pos.x, y = pos.y + 0.9, z = pos.z;
var w = c.getWorld();
w.playSound("entity.witch.ambient", x, y, z, 0.85, 1.7);
w.playSound("block.note.harp", x, y, z, 0.75, 0.7);
w.playSound("entity.firework.launch", x, y, z, 0.65, 1.25);
fx(w, "witchMagic", x, y, z, 55, 0.55, 0.95, 0.55, 0.12);
fx(w, "fireworksSpark", x, y, z, 70, 0.75, 1.05, 0.75, 0.08);
fx(w, "smoke", x, y, z, 22, 0.35, 0.45, 0.35, 0.02);
}
```