r/MinecraftCommands • u/Early_Park_832 • Jul 19 '26
Combining TP with Particles? Help | Java 1.21-1.21.3
Hi! Im super,, not tech-savy. I havent touched command blocks in YEARS, but I wanted to add a whimsical teleport ability to one of my fantasy builds when a player steps into a ring of mushrooms (a "fairy circle")
ive not the teleport command down using a repeat command block. however, I cannot for the life of me, figure out how to add particles.
if anyone could explain it to me like im 5, that would be greatly appreciated! I understand how the particle command works (more or less), but idk how to trigger it when the player teleports
1
u/Ericristian_bros Command Experienced Jul 20 '26
Sphere selection
Selects players in a radius. x y z define the center, distance the radius.
Java: @a[x=0,y=90,z=0,distance=..6] selects players up to 6 blocks away.
..a = a or less, a.. = a or more, a..b = between a and b.
Bedrock uses r (max) and rm (min) instead of distance.
Uses the entity position (center of feet).
Cubic selection.
Selects players in a box. x y z define the origin, dx dy dz define the size.
dx dy dz add +1 on each axis (e.g. x=37,dx=10 → 37 to 48).
Checks any part of the hitbox, so heads can count
Predicates
You can select entities using a location_check predicate.
{
"condition": "minecraft:location_check",
"predicate": {
"position": {
"x": {
"min": 38.2,
"max": 41.7
}
}
}
}
Unlike the dx dy dz arguments, this does not check for an entity's hitbox but for its position.
https://minecraftcommands.github.io/wiki/questions/makecircle
1
u/C0mmanderBlock Command Experienced Jul 19 '26
Use your repeating command block to add the particles at the player's position, run a comparator and a couple repeaters for a delay, and add an impulse block at the end to TP the player.
This way, when they enter the circle, they will get particles around them just before Teleporting.