Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
skills:effects:particles [2018/11/03 23:40]
darkitect [General Attributes]
skills:effects:particles [2020/07/08 04:25] (current)
ashen [Entity-Only Attributes]
Line 10: Line 10:
 ^Attribute ^Aliases ^Description ^Default Value | ^Attribute ^Aliases ^Description ^Default Value |
 | particle | p | The particle type to use. [[:​skills:​effects:​particles:​types|See list here]]. | reddust | | particle | p | The particle type to use. [[:​skills:​effects:​particles:​types|See list here]]. | reddust |
-| material | m | Block or Item to use with block_crack or item_crack respectively | |+| material | m | Block or Item to use with block_crack or item_crack respectively ​(1.13+) ​| |
 | amount | a | The number of particles to create | 10 | | amount | a | The number of particles to create | 10 |
 | hSpread | hs | The horizontal spread of the particles | 0 | | hSpread | hs | The horizontal spread of the particles | 0 |
Line 18: Line 18:
 | viewDistance | vd | The distance the particles are rendered | 128 | | viewDistance | vd | The distance the particles are rendered | 128 |
 | color | c | ((only works on colorable particle types like "​reddust"​))((color must be provided in hex-code)) The color of the particle | | | color | c | ((only works on colorable particle types like "​reddust"​))((color must be provided in hex-code)) The color of the particle | |
-| fromorigin | fo | | false |+| fromorigin |  | | false |
 //The "​color"​ attribute was added in version 2.3// //The "​color"​ attribute was added in version 2.3//
 ==== Entity-Only Attributes ==== ==== Entity-Only Attributes ====
 ^Attribute ^Aliases ^Description ^Default Value | ^Attribute ^Aliases ^Description ^Default Value |
 | useEyeLocation | uel | (true/​false) Whether to base the particles on the entity'​s eyes | false | | useEyeLocation | uel | (true/​false) Whether to base the particles on the entity'​s eyes | false |
-| forwardOffset | fo | The forward-offset from the targeted entity | 0 |+| forwardOffset |  | The forward-offset from the targeted entity | 0 |
 | sideOffset | so | The side-offset from the targeted entity | 0 | | sideOffset | so | The side-offset from the targeted entity | 0 |
  
Line 32: Line 32:
  
 ===== Examples ===== ===== Examples =====
- +<​code>​ 
-  ​Flameburst:+  ​Skills:
   - effect:​particles{particle=flame;​amount=200;​hS=1;​vS=1;​speed=5} @self   - effect:​particles{particle=flame;​amount=200;​hS=1;​vS=1;​speed=5} @self
   - ...   - ...
 +</​code>​
 +
 +1.12 block_crack:​
 +
 +<​code>​
 +  Skills:
 +  - effect:​particles{particle=block_crack_dirt_0;​amount=100;​hS=1;​vS=1} @self
 +</​code>​
 +
 +1.13+ block_crack:​
 +
 +<​code>​
 +  Skills:
 +  - effect:​particles{particle=block_crack;​m=dirt;​amount=100;​hS=1;​vS=1} @self
 +</​code>​

skills/effects/particles.1541310049.txt.gz · Last modified: 2020/06/30 21:13 (external edit)