mojira.dev
MC-106616

/particle delta is larger than specified

The bug

When executing the particle command with dx dy and dz inputs, they are incorrectly read. When they are inputted, the directions are not per block, but seem to be exponential.

How to reproduce

Place a repeating command block with the following command

/particle flame ~ ~1 ~ 3 0 0 0.0001 100
/particle flame ~ ~1 ~ 3 0 0 0.0001 100

→ ❌ The particles are created up to 10 blocks away from the command block despite the delta being 3

Linked issues

Attachments

Comments 13

The particles spawn more in the middle than on the edges because the dx, dy, and dz arguments are for the size of an ellipsoid, not for the size of a cuboid (if that is the proper term). Now, I still don't know why the particles spawn so far outside the specified area, though, but there are more in the middle than on the outside because the ellipsoid is fatter in the middle, and thinner at the edges. Maybe you could suggest a feature on reddit to allow you to toggle whether the /particle command summons paricles inside an ellipsoid or a cuboid. Like /particle flame ~ ~ ~ cube 1 1 1 0 10 force

Why is it an ellipsoid if the arguments are dx dy and dz like the testfor arguements, which creates a rectangular area? Why woulden't it do the same thing? I don't see any particular use for an ellipsoid.

Well, I think the dx, dy, and dz in target selectors (like /testfor @p[dx=this,dy=that,dz=this]) means direction relative to the x, y, and z coordinates, while xd, yd, and zd mean diameter (but its really a radius, not a diameter).

Hm.. then there is no way to make particles spawn evenly in a rectangular area? As in not through the command itself. Maybe adding that feature would fix this problem I'm having 😛

Attached a screenshot. The delta used in my command was 0.5 0 0

3 more comments

Can confirm in 21w05b.

Can confirm in 21w07a.

Can confirm in 1.18.2 and 22w12a.

Confirmed for 1.19.4; seeing as the reporter is banned, I'd like to take this report under my wing.

user-2a4c8

user-f2760

(Unassigned)

Confirmed

Commands, Particles

/particle

Minecraft 1.10.2, Minecraft 1.12.2, Minecraft 18w03b, Minecraft 1.13.2, Minecraft 18w45a, ..., 22w12a, 1.19.4, 1.20.1, 1.20.2, 23w43b

Retrieved