Minecraft particle command?

Ro
9

How can I build a circuit with command blocks where you get damage when you touch minecraft particles? Minecraft Java 1.16.4

Sp

There are three ways to do this:

The not elegant way: Place a pressure plate under the particle that executes a CMD block, which @p adds a certain number of DMG.

The elegant but complex way: You take the coordinates of the particle. Then you ask in a CMD block with the / testfor command whether @p is on the coordinates of the particle. If so, then do X DMG to @p. If not, don't do anything.

The elegant and simple way: program a simple plugin.

Have a good time

Po

Here's what you can do with Area Effect Clouds:

/ summon area_effect_cloud ~ ~ ~ {Particle: "cloud", Radius: 3f, Duration: 199980, WaitTime: 3, Effects: [{Id: 7b, Amplifier: 1b, Duration: 1}]}

Sp

From which version was the cmd introduced? O.o

Po

/ summon has been around since 1.7 and the Area Effect Cloud since 1.9

Sp

I actually don't know the Area Effect Cloud, as I've only played up to 1.8.9. I've never tried anything about it.

I would have done it with a plugin.

Ro

Somehow that doesn't work

Ro

It works but I can't get the particles off.

Po

Then enter / kill @e [type = area_effect_cloud].

Ro

Thanks. Worked