#PacketPlayOutWorldParticles Not working as expected

1 messages · Page 1 of 1 (latest)

analog torrent
limpid skiff
#

provide some code

#

and an example of what exactly you mean

analog torrent
#

If I set the first color value of PacketPlayOutWorldParticles to 1 or 255 it's red, the second value at 1 or 255 is yellow and the third at 1 or 255 is purple.

#

It's not my colors, because I tried hardcoding it. I don't have any code to share.

#

This could be helpful actually:

PacketPlayOutWorldParticles p1 = new PacketPlayOutWorldParticles(EnumParticle.REDSTONE, true, (float) location.getX(), (float) location.getY(), (float) location.getZ(), color.getRed(), color.getGreen(), color.getBlue(), (float) 1, 0, null);

((CraftPlayer) player).getHandle().playerConnection.sendPacket(p1);
#

Do you have any idea what's wrong?

analog torrent
#

nvm

analog torrent
#

@limpid skiff Is there a way to make the particles last longer?