#how do i make particles spawned on the serverworld show up?

30 messages · Page 1 of 1 (latest)

nimble fulcrum
#

I use world.addimportanparticle(

wraith sand
#

world.spawnParticles is serverside, world.addParticle is clientside

nimble fulcrum
#

is there any way to force the particles to at least partially show up on minimal?

wraith sand
#

under what circumstances are you spawning them?

nimble fulcrum
#

from a scheduledtick

#

(i can't use randomdisplaytick)

wraith sand
#

a scheduled tick in what?

nimble fulcrum
#

in a block

#

(a different one than where the particle is even)

wraith sand
#

look at ServerWorld.spawnParticles

you'll want to do the same thing but set longDistance to true

#

oh, actually, just use the spawnParticles with a force option

nimble fulcrum
#

at least not in serverworld.spawnparticles

wraith sand
nimble fulcrum
#

oh thanks

#

oh but then i'm gonna have to get all the players

wraith sand
#

no, just call spawnParticles with the force option

nimble fulcrum
wraith sand
#

oh, i see what you mean. yeah, you can do it the same way as the other does

nimble fulcrum
wraith sand
#

how so

nimble fulcrum
#

like i showed

wraith sand
#

make sure you provided the correct values

#

(you are missing one)

nimble fulcrum
#

yeah serverplayerentity

#

but i need all of them that are near

wraith sand
#

realistically, its just a helper method, you can just as easily do the

        Packet<?> packet = new ParticleS2CPacket(particle, force, x, y, z, (float)deltaX, (float)deltaY, (float)deltaZ, (float)speed, count);

yourself, and then use the player list the same way the other spawnParticles does

nimble fulcrum
#

i aint got a playerlist yet

wraith sand
#

so get it