//This JSON was modified by Rainvay_ZCYF (@ZouChenyunfei). Please do not use this document without permission.
{
  "format_version": "1.10.0",
  "particle_effect": {
    "description": {
      "identifier": "minecraft:wither_boss_invulnerable",
      "basic_render_parameters": {
        "material": "particles_alpha",
        "texture": "textures/particle/particles"
      }
    },
    "components": {
      "minecraft:emitter_rate_instant": {
        "num_particles": 1
      },
      "minecraft:emitter_lifetime_once": {},
      "minecraft:emitter_shape_custom": {
        "direction": [ "Math.random(-0.25, 0.25)", "Math.random(0, 1)", "Math.random(-0.25, 0.25)" ]
      },
      "minecraft:particle_initial_speed": ["Math.random(-1, 1) * ((Math.random(0, 1) + Math.random(0, 1) + 1) * 1)", "Math.random(-1, 1) * ((Math.random(0, 1) + Math.random(0, 1) + 1) * 0.5)", "Math.random(-1, 1) * ((Math.random(0, 1) + Math.random(0, 1) + 1) * 1)"],
      "minecraft:particle_lifetime_expression": {
        "max_lifetime": "variable.particle_random_4 > 0.2 ? 0 : Math.random(0.85, 1.35)"
      },
      "minecraft:particle_motion_dynamic": {
        "linear_acceleration": [
          "(variable.particle_random_1 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 3.5 + variable.particle_random_3 * 2",
          "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4) * 2.0",
          "(variable.particle_random_2 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 3.5 + variable.particle_random_2 * 2"
        ]
      },
      "minecraft:particle_appearance_billboard": {
        "size": [ "variable.particle_random_4 > 0.2 ? 0 : 0.125","variable.particle_random_4 > 0.2 ? 0 : 0.125" ],
        "facing_camera_mode": "rotate_xyz",
        "uv": {
          "texture_width": 128,
          "texture_height": 128,
          "flipbook": {
            "base_UV": [ 64, 64 ],
            "size_UV": [ 8, 8 ],
            "step_UV": [ -8, 0 ],
            "frames_per_second": 6,
            "max_frame": 8,
            "stretch_to_lifetime": true,
            "loop": false
          }
        }
      },
      "minecraft:particle_appearance_tinting": {
        "color": [ 0.68, 0.66, 0.47, 1.0 ]
      },
      "minecraft:particle_appearance_lighting": {}
    }
  }
}
