Lightning, explosions, sounds, particles
world_effectTriggers lightning, explosions, sounds, or particles at a chosen Minecraft location so you can create events, hazards, or visual and audio cues in-world.
Instructions
Make something happen at a location. lightning strikes (effectOnly makes it harmless). explosion blows up with power (TNT is 4); breakBlocks destroys terrain and fire sets things alight. sound plays a sound such as minecraft:entity.ender_dragon.growl for everyone nearby. particles shows particles such as minecraft:heart or minecraft:flame; ones that need extra data (dust, block) aren't supported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fire | No | explosion | |
| kind | Yes | ||
| count | No | particles: 10 by default | |
| pitch | No | sound | |
| power | No | explosion: 4 by default | |
| sound | No | sound: the sound key | |
| speed | No | particles | |
| world | No | World name, such as `world`, `world_nether`, `world_the_end`, or a key like `minecraft:the_nether` | world |
| offset | No | particles: spread | |
| volume | No | sound | |
| category | No | sound: `master` by default | |
| location | Yes | A spot in a world; y is height (the overworld runs from -64 to 319) | |
| particle | No | particles: the particle key | |
| effectOnly | No | lightning: only the flash and the sound | |
| breakBlocks | No | explosion |