Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
plugin:extrafireworks:commands [2021/12/27 16:12] – Add launch and motion phoenix616plugin:extrafireworks:commands [2022/06/05 22:25] – Add direction tag phoenix616
Line 16: Line 16:
  
 **Usage:** `/ef launch <effect> [<world>,]<x>,<y>,<z> <power> [<config>]`   **Usage:** `/ef launch <effect> [<world>,]<x>,<y>,<z> <power> [<config>]`  
-**Example:** `/ef launchtext -1914,63,-898 2 {motion:"0.5,0.8,-0.5",colors:["0,255,0","255,0,0"],particle: redstone, text: "The Text", box: true}`  +**Example:** `/ef launch text -1914,63,-898 2 {motion:"0.5,0.8,-0.5",colors:["0,255,0","255,0,0"],particle: redstone, text: "The Text", box: true}`  
 **Permission:** `extrafireworks.command.launch` **Permission:** `extrafireworks.command.launch`
  
Line 35: Line 35:
 #### motion #### motion
  
-A string in the format of `x,y,z` which contains motion/direction information into which the firework should fly. Some effects also get changed based on that direction. (Currently only fountains)+A string in the format of `x,y,z` (e.g. `motion: "0.5,0.8,-0.6"`) which contains motion/direction information into which the firework should fly. Some effects also get changed based on that direction if the `direction` tag isn't explicitly specified. (Currently only fountains)
  
 #### color #### color
Line 72: Line 72:
  
 The direction an effect should be rotated in. (does nothing with fountain, snow, or explosion) E.g. `yaw: 100.0`. The direction an effect should be rotated in. (does nothing with fountain, snow, or explosion) E.g. `yaw: 100.0`.
 +
 +#### direction
 +
 +The direction vector string in the format of `x,y,z` an effect should point in. (currently only used for fountain) E.g. `direction: "0,1,0"` for up.
  
 #### box #### box