{
	"format_version": "1.10",
	"particle_effect": {
		"description": {
			"identifier": "health_1",
			"basic_render_parameters": {
				"material": "particles_blend",
				"texture": "particles/numbers"
			}
		},
		"components": {
			"minecraft:emitter_local_space": {
				"position": true,
				"rotation": false
			},
			"minecraft:emitter_rate_instant": {"num_particles": 1},
			"minecraft:emitter_lifetime_once": {},
			"minecraft:emitter_shape_point": {
				"offset": ["0.3 + (query.is_owner_identifier_any('minecraft:bat')? 0.5:0)", "query.is_owner_identifier_any('minecraft:bat')? -1.6:-1.2", 0]
			},
			"minecraft:particle_lifetime_expression": {
				"max_lifetime": 1.1
			},
				"minecraft:particle_appearance_tinting": {"color": [1, "query.health <= query.max_health/4 ? 0.5 : 1", "query.health <= query.max_health/4 ? 0.5 : 1", 1]},
			"minecraft:particle_appearance_billboard": {
				"size": [
"0.1*variable.entity_scale", 
"!query.is_invisible&&query.health<1000 && !query.has_rider && (query.camera_distance_range_lerp(2,2)||query.owner_identifier!='minecraft:player')&&query.health>=100 ? 0.15*variable.entity_scale : 0"
],
				"facing_camera_mode": "rotate_xyz",
				"uv": {
					"texture_width": 3, "texture_height": 59,
					"uv": [0, "math.floor(( -math.floor(q.health/1000)*1000 + math.floor(q.health) )/ 100 )*6"],
					"uv_size": [3, 5]
				}
			}
		}
	}
}