//bridge-file-version: #1
{
	"format_version": "1.8.0",
	"minecraft:client_entity": {
		"description": {
			"identifier": "mythmob:mushroom2",
			"materials": {
				"default": "goblin"
			},
			"textures": {
				"default": "textures/entity/mythmob/redmushroom"
			},
			"geometry": {
				"default": "geometry.mushroom2"
			},
			"scripts": {
				"pre_animation": [
					"variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;",
					"variable.tcos1 = -variable.tcos0;",
					"variable.internal_swim_pos = Math.mod(query.modified_distance_moved, 26.0);"
				]
			},
			"animations": {
				"humanoid_base_pose": "animation.goblin.general",
				"move": "animation.kobold.move",
				"riding.arms": "animation.humanoid.riding.arms.v1.0",
				"riding.legs": "animation.humanoid.riding.legs.v1.0",
				"brandish_spear": "animation.goblin.brandish_spear",
				"charging": "animation.humanoid.charging.v1.0",
				"sneaking": "animation.humanoid.sneaking.v1.0",
				"bow_and_arrow": "animation.humanoid.bow_and_arrow.v1.0",
				"swimming": "animation.humanoid.swimming.v1.0",
				"use_item_progress": "animation.humanoid.use_item_progress.v1.0"
			},
			"animation_controllers": [
				{
					"humanoid_base_pose": "controller.animation.humanoid.base_pose"
				},
				{
					"look_at_target": "controller.animation.humanoid.look_at_target"
				},
				{
					"move": "controller.animation.humanoid.move"
				},
				{
					"riding": "controller.animation.humanoid.riding"
				},
				{
					"charging": "controller.animation.humanoid.charging"
				},
				{
					"sneaking": "controller.animation.humanoid.sneaking"
				},
				{
					"bob": "controller.animation.humanoid.bob"
				},
				{
					"bow_and_arrow": "controller.animation.humanoid.bow_and_arrow"
				},
				{
					"swimming": "controller.animation.humanoid.swimming"
				},
				{
					"use_item_progress": "controller.animation.humanoid.use_item_progress"
				}
			],
			"render_controllers": [
				"controller.render.goblin"
			],
			"enable_attachables": true,
			"spawn_egg": {
				"base_color": "#BDADA6",
				"overlay_color": "#C53131"
			}
		}
	}
}