{
	"format_version" : "1.16.0",
	"minecraft:entity" : {
		"description" : {
			"identifier" : "minecraft:blaze",
			"is_spawnable" : true,
			"is_summonable" : true,
			"is_experimental" : false
		},
		"component_groups" : {
			"mode_switcher" : {
				"minecraft:target_nearby_sensor" : {
					"inside_range" : 2.0,
					"outside_range" : 3.0,
					"must_see" : true,
					"on_inside_range" : {
						"event" : "switch_to_melee",
						"target" : "self"
					},
					"on_outside_range" : {
						"event" : "switch_to_ranged",
						"target" : "self"
					}
				}
			},
			"ranged_mode" : {
				"minecraft:shooter" : {
					"def" : "minecraft:small_fireball"
				},
				"minecraft:behavior.ranged_attack" : {
					"priority" : 3,
					"burst_shots" : 3,
					"burst_interval" : 0.4,
					"charge_charged_trigger" : 0.0,
					"charge_shoot_trigger" : 4.0,
					"attack_interval_min" : 4.0,
					"attack_interval_max" : 5.0,
					"attack_radius" : 16.0
				}
			},
			"melee_mode" : {
				"minecraft:attack" : {
					"damage" : 6
				},
				"minecraft:behavior.melee_attack" : {
					"priority" : 3
				}
			},
			"rare_blaze" : {
				"minecraft:health" : {
					"value" : 40,
					"max" : 40
				},
				"minecraft:loot" : {
					"table" : "loot_tables/entities/tartarean/rare_blaze.json"
				},
				"minecraft:experience_reward" : {
					"on_death" : "40"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "conduit_power",
							"duration" : 999999,
							"visible" : true
						}
					]
				},
				"minecraft:movement" : {
					"value" : 0.43
				}
			},
			"rare_bullwark" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bElite Armoured Blaze The Defender"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "resistance",
							"duration" : 999999,
							"amplifier" : 1,
							"visible" : false
						}
					]
				}
			},
			"rare_cloaking" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bElite Unseen Blaze Of Stalking"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "invisibility",
							"duration" : 999999,
							"visible" : false
						},
						{
							"effect" : "conduit_power",
							"duration" : 999999,
							"visible" : true
						}
					]
				}
			},
			"rare_fiery" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bElite Burning Blaze Of Conflagration"
				}
			},
			"ultra_blaze" : {
				"minecraft:health" : {
					"value" : 60,
					"max" : 60
				},
				"minecraft:loot" : {
					"table" : "loot_tables/entities/tartarean/ultra_blaze.json"
				},
				"minecraft:experience_reward" : {
					"on_death" : "60"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "haste",
							"duration" : 999999,
							"visible" : true
						}
					]
				},
				"minecraft:movement" : {
					"value" : 0.63
				}
			},
			"ultra_bullwark" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Defensive Blaze Of Turtling"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "resistance",
							"duration" : 999999,
							"amplifier" : 2,
							"visible" : false
						}
					]
				}
			},
			"ultra_cloaking" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Stalking Blaze The Unseen"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "invisibility",
							"duration" : 999999,
							"visible" : false
						},
						{
							"effect" : "haste",
							"duration" : 999999,
							"visible" : true
						}
					]
				}
			},
			"ultra_fiery" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Burning Blaze The Phoenix"
				}
			},
			"infernal_blaze" : {
				"minecraft:health" : {
					"value" : 80,
					"max" : 80
				},
				"minecraft:loot" : {
					"table" : "loot_tables/entities/tartarean/infernal_blaze.json"
				},
				"minecraft:experience_reward" : {
					"on_death" : "80"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "saturation",
							"duration" : 999999,
							"visible" : true
						}
					]
				},
				"minecraft:movement" : {
					"value" : 0.83
				}
			},
			"infernal_bullwark" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Turtling Blaze Of Effing Armor"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "resistance",
							"duration" : 999999,
							"amplifier" : 3,
							"visible" : false
						}
					]
				}
			},
			"infernal_cloaking" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Hunting Blaze The Predator"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "invisibility",
							"duration" : 999999,
							"visible" : false
						},
						{
							"effect" : "saturation",
							"duration" : 999999,
							"visible" : true
						}
					]
				}
			},
			"infernal_fiery" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Toasting Blaze Of Crispyness"
				}
			}
		},
		"components" : {
			"minecraft:is_hidden_when_invisible" : {},
			"minecraft:experience_reward" : {
				"on_death" : "query.last_hit_by_player ? 10 : 0"
			},
			"minecraft:loot" : {
				"table" : "loot_tables/entities/blaze.json"
			},
			"minecraft:collision_box" : {
				"width" : 0.5,
				"height" : 1.8
			},
			"minecraft:damage_sensor" : {
				"triggers" : {
					"cause" : "fall",
					"deals_damage" : false
				}
			},
			"minecraft:movement" : {
				"value" : 0.23
			},
			"minecraft:navigation.walk" : {
				"can_path_over_water" : true,
				"avoid_water" : true,
				"avoid_damage_blocks" : true
			},
			"minecraft:movement.basic" : {},
			"minecraft:jump.static" : {},
			"minecraft:can_climb" : {},
			"minecraft:health" : {
				"value" : 20,
				"max" : 20
			},
			"minecraft:hurt_on_condition" : {
				"damage_conditions" : [
					{
						"filters" : {
							"test" : "in_contact_with_water",
							"operator" : "==",
							"value" : true
						},
						"cause" : "drowning",
						"damage_per_tick" : 1
					}
				]
			},
			"minecraft:follow_range" : {
				"value" : 48,
				"max" : 48
			},
			"minecraft:fire_immune" : {},
			"minecraft:nameable" : {},
			"minecraft:despawn" : {
				"despawn_from_distance" : {}
			},
			"minecraft:behavior.float" : {
				"priority" : 0
			},
			"minecraft:behavior.hurt_by_target" : {
				"priority" : 1
			},
			"minecraft:behavior.nearest_attackable_target" : {
				"priority" : 2,
				"must_see" : true,
				"entity_types" : [
					{
						"filters" : {
							"test" : "is_family",
							"subject" : "other",
							"value" : "player"
						},
						"max_dist" : 48.0
					}
				]
			},
			"minecraft:behavior.random_stroll" : {
				"priority" : 4,
				"speed_multiplier" : 1.0
			},
			"minecraft:behavior.random_look_around" : {
				"priority" : 5
			},
			"minecraft:type_family" : {
				"family" : [ "blaze", "monster", "mob" ]
			},
			"minecraft:physics" : {},
			"minecraft:pushable" : {
				"is_pushable" : true,
				"is_pushable_by_piston" : true
			},
			"minecraft:on_hurt" : {
				"event" : "minecraft:on_hurt_event",
				"target" : "self"
			},
			"minecraft:on_hurt_by_player" : {
				"event" : "minecraft:on_hurt_event",
				"target" : "self"
			},
			"minecraft:conditional_bandwidth_optimization" : {}
		},
		"events" : {
			"minecraft:entity_spawned" : {
				"randomize" : [
					{
						"weight" : 9500,
						"add" : {
							"component_groups" : [ "mode_switcher" ]
						},
						"remove" : {}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_blaze", "rare_bullwark", "mode_switcher" ]
						}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_blaze", "rare_cloaking", "mode_switcher" ]
						}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_blaze", "rare_fiery", "mode_switcher" ]
						}
					},
					{
						"weight" : 25,
						"add" : {
							"component_groups" : [ "ultra_blaze", "ultra_bullwark", "mode_switcher" ]
						}
					},
					{
						"weight" : 25,
						"add" : {
							"component_groups" : [ "ultra_blaze", "ultra_cloaking", "mode_switcher" ]
						}
					},
					{
						"weight" : 25,
						"add" : {
							"component_groups" : [ "ultra_blaze", "ultra_fiery", "mode_switcher" ]
						}
					},
					{
						"weight" : 5,
						"add" : {
							"component_groups" : [ "infernal_blaze", "infernal_bullwark", "mode_switcher" ]
						}
					},
					{
						"weight" : 5,
						"add" : {
							"component_groups" : [ "infernal_blaze", "infernal_cloaking", "mode_switcher" ]
						}
					},
					{
						"weight" : 5,
						"add" : {
							"component_groups" : [ "infernal_blaze", "infernal_fiery", "mode_switcher" ]
						}
					}
				]
			},
			"switch_to_melee" : {
				"remove" : {
					"component_groups" : [ "ranged_mode" ]
				},
				"add" : {
					"component_groups" : [ "melee_mode" ]
				}
			},
			"switch_to_ranged" : {
				"remove" : {
					"component_groups" : [ "melee_mode" ]
				},
				"add" : {
					"component_groups" : [ "ranged_mode" ]
				}
			},
			"minecraft:on_hurt_event" : {
				"add" : {
					"component_groups" : [ "mode_switcher" ]
				}
			}
		}
	}
}
