generated from FabricMC/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 0
Particle Beam
Provismet edited this page Sep 9, 2023
·
2 revisions
Renders a beam of particles starting at the actor and ending at the target.
Type ID: proviorigins:particle_beam
Fields | Type | Default | Description |
---|---|---|---|
particle |
Particle Effect | The particle effect to create. | |
step |
Float | The distance between each particle. | |
speed |
Float | 0.0 |
The speed of the particles spawned. |
count |
Integer | 1 |
The number of particles to spawn per step. |
actor_offset_y |
Float | 0.0 |
This offset is applied to the y-coordinate of the starting position. |
target_offset_y |
Float | 0.0 |
This offset is applied to the y-coordinate of the starting position. |
"bientity_action": {
"type": "proviorigins:particle_beam",
"step": 0.5,
"actor_offset_y": 1.25,
"target_offset_y": 1.25,
"particle": {
"type": "minecraft:dust",
"params": "0.0 0.3 0.7 1"
}
}
Spawns a line of blue dust particles between the actor's and the target's torsos.