X

NOTICE

Are you sure you want to report this?

We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

15

Particle command change. add direction

2 Comments

Post a new comment:

Please sign in to leave a comment.

  • 0
    Hubiug commented
    Comment actions Permalink

    I think it's more usefull like that /particle <name> <x, y, z> <x2, y2, z2> <direction> <speed> <random motion> <count> [normal|force] [<viewers>] [<param>]

    direction: direction where particle go (like the players head orientation), ~ ~ to keep the entity who execute the command head orientation.

    random motion: motion aded to the particle, 0 to have the exacte direction.

    param: color (for note particle for exemple) or block (for block particle)

     

  • 0
    Alex Testria commented
    Comment actions Permalink

    This is already possible!

    Just summon an area_effect_cloud and teleport it in a loop

    summon area_effect_cloud
    execute as @e[type=area_effect_cloud] at @s run teleport ~ ~ ~ <PerspectiveX> <Perspective>
    execute as @e[type=area_effect_cloud] at @s run teleport ^ ^ ^0.2
    execute as @e[type=area_effect_cloud] at @s run particle smoke ~ ~ ~ 0.1 0.1 0.1 0.2 20 normal

    Now call this function 20 times per second.

    Now you've got a raycast!