Skip to content

Particle Ring

Provismet edited this page Jun 24, 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_x Float 0.0 How many blocks further left or right the ring should be than the entity.
offset_y Float 0.25 How many blocks higher or lower the ring should be than the entity.
offset_z Float 0.0 How many blocks further forward or backward the ring should be than the entity.
space Space "local" The space to describe the offsets with.
on_ground Boolean true If true, the ring is placed flat against the ground (such as telegraph or area marker in other games). If false, the ring is angled relative to the direction faced by the user, with the centre of the ring pointing in that direction (such as for a shockwave effect).
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.