✔️Advanced Block Effects and Abilities Command Tutorial 1.21 and above ✔️ Trick friends Create Maps!
Video Summary
In this video I show how to use command blocks in 1.21+ to add custom effects to any block using /execute if block, then running particles, sounds, and /effect. I demonstrate three examples: a blue concrete “speed strip” with soul-fire particles, a red concrete hazard that plays a burning sound and gives Wither damage, and a healing block that triggers once and grants Regeneration with heart particles. After watching, you can swap the block types, effects, particles, and sounds to create your own traps and ability floors for maps.
Formatted Transcript
Hey everybody, it’s UnderMyCap, and welcome back to another video. Today I’m going to show you how to use command blocks to create block effects on any block you want.
This is actually very simple. Even though you might see a bunch of command blocks in my setup, don’t worry—you’ll understand it by the end. Once you’ve watched this, you’ll be able to do it yourself.
All we’re really doing is using the /execute command to run other commands when a player is standing on a specific block. That lets you give players a beneficial effect (like speed) or a non-beneficial effect (like wither), and you can pair it with particles and sounds.
I’ve set up three examples to teach you the basics. After you learn the method, you can swap out the effects, particles, sounds, and even the block type for whatever you want.
Example 1: Speed Boost on Blue Concrete (With Particles)
In my first example, I have a strip of blue concrete. As soon as I walk on it, I gain speed, and I get soul fire flame particles under my feet.
What’s cool is that the particles don’t follow you into the air, and they don’t follow you onto other blocks like grass. They stop exactly at the edge of the blue concrete. If I switch to third-person view and run back and forth, you’ll see the particles track me while I’m on the strip, but the moment I step off, they stop.
How to Build the Command Block Setup
For this, you’ll need command blocks and one comparator. Make sure the comparator faces toward the next command block (behind the first one).
Command Block 1 (Repeat): Detect the Block Under the Player and Spawn Particles
In the first command block, you use /execute to test the block beneath the player and then run the particle command. You can target a specific player (your username) or use selectors like all players/entities, nearest player, etc. I’m using my username for the example.
The idea is:
- Execute as a player
- Check if the block under them is the block you chose (blue concrete in this case)
- If it matches, run a particle command at their position
Then you add the particle settings (position offsets, spread, speed, count). If you want everyone to see the particles from far away, you can use force; otherwise use normal (or leave it as default).
Command Block 2 (Repeat): Give the Effect
In the next command block, you give the player the effect (speed). Set the duration to 1 second and use the amplifier you want. Use true to hide effect particles so it doesn’t look like a normal potion effect was applied.
Once both command blocks are set to repeat and powered (for example, with a lever), stepping onto the blue concrete will continuously apply speed and spawn the particle effect while you’re on those blocks.
Example 2: Damage Block Using Wither (With Lava Particles and Fire Hurt Sound)
The second example is the opposite of a benefit block—it damages the player with the wither effect.
When I switch to survival and run over the block, you can see my hearts go down. You can also hear a burning/fire hurt sound when I step on it.
This setup is very similar to the first one, but we add an extra command block for the sound.
How to Build the Command Block Setup
Place three command blocks in an L-shape and use two comparators to chain them.
Command Block 1 (Repeat): Detect the Block and Spawn Particles
This is the same idea as before, but this time the block I’m checking for is red concrete, and the particles are lava.
Command Block 2 (Repeat): Play a Hurt Sound
In the next command block, use a playsound command to make it sound like the player is taking damage. Choose a sound like “hurt on fire” and set it to repeat so it keeps playing while the player stays on the block.
Command Block 3 (Repeat): Apply Wither
In the last command block, give the player the wither effect. Again, use a short duration (like 1 second) and the amplifier you want (I used something high in the example). Once the system is powered, stepping on the red concrete triggers lava particles, the hurt sound, and the wither effect.
Example 3: Healing Block Using Regeneration (With Hearts and a One-Time Sound)
The last example is very similar to the damage block, but it heals you instead.
When I step onto this block, it plays a sound once and heals me using regeneration. I also use heart particles, because hearts visually match the idea of healing.
Every time you jump off the block and land on it again, the sound plays again. In survival, you can see it clearly: if I take damage and then step onto the block, it restores health.
What’s Different in This Setup?
The commands are basically the same as the other examples. The main differences are:
- The effect is changed to regeneration
- The particles are changed to hearts
- The sound is set to play only once by using an impulse command block (instead of repeat)
You can also choose any color or type of block you want—the concept stays exactly the same.
Wrapping Up
That’s the basic method for creating simple block effects using command blocks. If you want me to go more in-depth in another post or tutorial, let me know in the comments.
Thanks so much for watching. If you enjoyed it, please leave a like and subscribe with the bell. I make lots of tutorials, I respond to comments, and I often make videos based on your suggestions and questions.
You can also follow my socials (linked in the description), and check out my website in the description as well—it has a bunch of command tutorials on particles, playsound commands, and more.
Thanks again for watching, and I’ll see you in the next video.
Video Thumbnail
Recommended Items Based On Post
Advertisment




