DeadlyDisasters
  • ⚙️Custom Disasters
    • How To Make A Custom Disaster
    • Skeleton Body
    • Core Body
    • Actions
      • Disaster Action
        • Disaster Modifiers
      • Broadcast Action
      • Fill Action
      • Summon Action
      • Particle Action
      • Sound Action
    • Custom Items
    • Custom Entities
    • Catalog Body
    • Publishing Your Disaster!
    • Resources
  • 👋Community
    • Discord
    • Challenge Packs (Coming Soon)
  • 🔌Developers
    • API
      • Creating Disasters
      • Listening For Disasters
      • Custom Items
      • Custom Entities (Coming Soon)
      • Extra Features
    • Source
Powered by GitBook
On this page
  1. Custom Disasters
  2. Actions

Particle Action

The particle action lets you spawn particles to add more detail to your disasters. Heres an example, this will spawn flame particles every 10 ticks 5 times near the starting position:

# This is placed inside an event just like any other action is
particle 1:
    # * The name of the particle you are spawning (refer to resources for list of all particles)
    type: 'flame'
    # Will start at the position of where the disaster was originally started
    target: 'startPos'
    # The amount of the particles to spawn each repeat
    count: 10
    # The particles speed value for how fast the particles will move
    speed: 0.2
    # The amount of times the particles will repeat and replay themselves
    repeat: 5
    # Tick delay between repeats
    intervalTicks: 10
    # Range is the dx, dy, dz function of the particles, the area around the spot that the particles will stretch to in blocks
    range:
        x: 5
        y: 2
        z: 3
    # Location is to make the particles spawn relative to the 'startPos'
    location:
        x: ~5
        y: ~0
        z: ~5
PreviousSummon ActionNextSound Action

Last updated 2 years ago

is a list of all the types of particles you can use.

⚙️
Here