mojira.dev
MC-123440

Java error printing in console when particle not visible to players

If a command block attempts to run a particle command that would not be seen by a player (e.g. there is nobody online and the particle is in spawn chunks) this message is printed in the server console regardless of gamerules:

com.mojang.brigadier.exceptions.CommandSyntaxException: The particle was not visible for anybody.

This can lag server control panels which attempt to parse the log output and overall leads to an unreadable server console.

To reproduce:
start a server instance
generate a flatland world with the spawnpoint at (0,0)
place a repeating command block
insert this command:

particle enchant -35.0 65 0 0 1 6 0 20


Look at the server console.

Note: This does not appear to be true for functions.

Linked issues

Comments 5

marcono1234

It looks like this report was describing MC-121913, which is not completely fixed. Therefore I am going to revert the changes I did earlier.

violine1101

Duplicates MC-121913

migrated

Hi. I'm facing the same problem as you. Particles don't work. Which is related to the version of the game and the world where particles are called. Namely, on version 1.12.2, particles will work in any of the worlds. Example "particle firework %player_x% %player_y% %player_z% 0.1 0.1 0.1 1 100 normal" At the same time, on version 1.16+, you will need to change this command to "execute in minecraft:superiorworld run particle firework %player_x% %player_y% %player_z% 0.1 0.1 0.1 1 500" This is an obvious bug, but at least it is possible to fix it.

migrated

That's not a bug, the command system was completely redone in 1.13,and fixed some descrepencies with behavior; /particle ignoring execution dimension was a bug, use /execute at to set both dimension and x y z, AND rotation for local coordinates.
You not understanding a change doesn't make it a bug.

migrated

@unknown
"You not understanding a change doesn't make it a bug."
I have never encountered particle problems for 1.12 and below before, which is why I consider it a bug when in early versions particles were executed in all worlds and now only in World and you have to use a separate command for particles in another world.

migrated

(Unassigned)

Confirmed

/particle

Minecraft 17w50a

Retrieved