{
  "format_version": "1.10.0",
  "particle_effect": {
    "description": {
      "identifier": "minecraft:dragon_death_explosion_emitter",
      "basic_render_parameters": {
        "material": "particles_blend",
        "texture": "textures/particle/explosion_bloom"
      }
    },
    "components": {
      "minecraft:emitter_rate_steady": {
        "spawn_rate": 120,
        "max_particles": 50
      },        
      "minecraft:emitter_lifetime_once": {
        "active_time": 0.4
      },
      "minecraft:emitter_shape_custom": {
        "offset": [ "Math.random(-4, 4)", "Math.random(-4, 4)", "Math.random(-4, 4)" ]
      },
      "minecraft:particle_initial_speed": 0.0,
      "minecraft:particle_lifetime_expression": {
        "max_lifetime": "Math.random(0.3, 0.5)"
      },
      "minecraft:particle_appearance_billboard": {
        "size": [ 1.0, 1.0 ],
        "facing_camera_mode": "lookat_xyz",
        "uv": {
          "texture_width": 480,
          "texture_height": 36,
          "flipbook": {
            "base_UV": [ 0, 0 ],
            "size_UV": [ 32, 36 ],  // Ajuste el tamaño de cada frame para la textura 480x36
            "step_UV": [ 32, 0 ],   // Ajuste para recorrer las frames
            "frames_per_second": 8,
            "max_frame": 14,        // 15 frames en total (0-14)
            "stretch_to_lifetime": true,
            "loop": false
          }
        }
      },
      "minecraft:particle_appearance_tinting": {
        // Cambiar el color para usar el color por defecto de la textura
        "color": [1.0, 1.0, 1.0, 1.0]  // Blanco (sin tintado)
      }
    }
  }
}