Skip to content

Particle Ring

Provismet edited this page Jun 20, 2023 · 3 revisions

Entity Action Type

Creates a horizontal ring of particles centred around the entity's coordinates.

Type ID: proviorigins:particle_ring

Note
This power is server-side only. It will fail with client-side only conditions.

Fields

Field Type Default Description
radius Float The distance between the entity and the edge of the ring.
step_size Float The distance, in degrees, between each point on the ring. Larger numbers will create less particles (more spread out) and smaller numbers will create more particles (less spread out).
count Integer 1 The number of particles to spawn at each point on the ring.
offset_y Float 0.25 How many blocks higher or lower the ring should be than the entity.
speed Float 0.0 The speed of the particles.
particle Particle Effect The particle to use for the ring.

Examples

"entity_action": {
    "type": "proviorigins:particle_ring",
    "radius": 1,
    "step_size": 5,
    "particle": {
        "type": "minecraft:dust",
        "params": "0.196 1.0 0.196 1"
    }
}

Creates a small green ring of dust particles around the entity.

Clone this wiki locally