{
	"format_version": "1.10.0",
	"minecraft:client_entity": {
		"description": {
			"identifier": "dotvi:brawlatar",
			"materials": {
				"default": "piglin_brute"
			},
			"textures": {
				"default": "textures/entity/disciples/brawlatar/brawlatar"
			},
			"geometry": {
				"default": "geometry.brawlatar"
			},
			"scripts": {
				"pre_animation": [
					"variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;",
					"variable.attack = Math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3;",
					"variable.attack2 = Math.sin(variable.attack_time * 180.0) * 57.3;",
					"variable.z_bob = Math.cos(query.life_time * 103.13244) * 2.865 + 2.865;",
					"variable.x_bob = Math.sin(query.life_time * 76.776372) * 2.865;"
				],
				"animate": [
					"controller_moveswap",
					"controller_melee_attack",
					"ears",
					"controller_enrageparticle"
				]
			},
			"render_controllers": [
				"controller.render.piglin_brute"
			],
			"enable_attachables": true,
			"spawn_egg": {
				"texture": "brawlatar_egg"
			},
			"animations": {
				"neutral_state": "animation.brawlatar.neutral_state",
				"move": "animation.brawlatar.move",
				"melee_attack": "animation.brawlatar.attack_rotations",
				"ears": "animation.brawlatar.ears",
				"controller_moveswap": "controller.animation.common.moveswap_brawlatar",
				"controller_melee_attack": "controller.animation.warden.melee_attacking",
				"look_at_target": "animation.common.look_at_target",
				"controller_puke": "controller.animation.brawlatar.puke",
				"roar": "animation.brawlatar.roar",
				"sickroar": "animation.brawlatar.sickroar",
				"controller_enrageparticle": "controller.animation.brawlatar_eyeparticle"
			},
			"particle_effects": {
				"brawlatarpuke": "dotvi:brawlatarpuke",
				"brawlatarpukelinger": "dotvi:brawlatarpukelinger",
				"mobeffect_brawlatar": "dotvi:mobeffect_brawlatar"
			},
			"sound_effects": {
				"puke": "brawlatar.puke"
			}
		}
	}
}