{
  "format_version": "1.10.0",
  "particle_effect": {
    "description": {
      "identifier": "silverlabs_nat:firefly_tallgrass_hide",
      "basic_render_parameters": {
        "material": "particles_alpha",
        "texture": "textures/blocks/double_plant_grass_carried"
      }
    },
    "events": {
      "hide": {
        "sound_effect": {
          "event_name": "cast.spell"
        }
      }
    },
    "components": {
      "minecraft:emitter_rate_instant": {
        "num_particles": 50
      },
      "minecraft:emitter_lifetime_once": {
        "active_time": 0
      },
      "minecraft:emitter_shape_point": {
        "offset": ["Math.random(-0.5, 0.5)", -0.5, "Math.random(-0.5, 0.5)"],
        "direction": [
          "Math.Random(-1.0, 1.0)",
          "Math.Random(0.0, 1.0)",
          "Math.Random(-1.0, 1.0)"
        ]
      },
      "minecraft:emitter_lifetime_events": {
        "creation_event": "hide"
      },
      "minecraft:particle_initial_speed": "Math.random(1, 4)",
      "minecraft:particle_lifetime_expression": {
        "max_lifetime": "0.2f / (Math.random(0.0, 1.0) * 0.9f + 0.1f)"
      },
      "minecraft:particle_motion_dynamic": {
        "linear_acceleration": [0, -9.8, 0],
        "linear_drag_coefficient": 0.5
      },
      "minecraft:particle_motion_collision": {
        "coefficient_of_restitution": 0.1,
        "collision_drag": 5,
        "collision_radius": 0.1
      },
      "minecraft:particle_appearance_billboard": {
        "size": [
          "v.particle_random_1 * 0.0375 + 0.0375",
          "v.particle_random_1 * 0.0375 + 0.0375"
        ],
        "facing_camera_mode": "lookat_xyz",
        "uv": {
          "texture_width": 16,
          "texture_height": 16,
          "uv": ["(v.particle_random_1*3)", "(v.particle_random_2*3)"],
          "uv_size": [2, 2]
        }
      },
      "minecraft:particle_appearance_lighting": {}
    }
  }
}
