{
   "format_version":"1.10.0",
   "minecraft:client_entity":{
      "description":{
         "identifier":"sgs_farm:shire_horse",
         "materials":{
            "default":"zombie"
         },
         "textures":{
            "default":"textures/sgs/farm/entity/horse/horse_shire_brown",
			"chestnut":"textures/sgs/farm/entity/horse/horse_shire_chestnut",
			"creamy":"textures/sgs/farm/entity/horse/horse_shire_creamy",
			"gray":"textures/sgs/farm/entity/horse/horse_shire_gray",
			
			"harvest":"textures/sgs/farm/entity/cart/cart_harvest",
			"plough":"textures/sgs/farm/entity/cart/cart_plough",
			"seed":"textures/sgs/farm/entity/cart/cart_seed",
			"cargo": "textures/sgs/farm/entity/cart/cart_cargo_oak"
         },
         "geometry":{
            "default":"geometry.sgs_farm_ent_horse_shire",
			"harvest":"geometry.sgs_farm_ent_cart_harvest",
			"plough":"geometry.sgs_farm_ent_cart_plough",
			"seed":"geometry.sgs_farm_ent_cart_seed",
			"cargo":"geometry.sgs_farm_ent_cart_cargo"
         },
         "animations":{
		  "graze": "animation.sgs_farm_ent_horse_shire.grazing",
		  "idle": "animation.sgs_farm_ent_horse_shire.tail",
		  "hurt": "animation.sgs_farm_ent_horse_shire.hurt",
		  "move": "animation.sgs_farm_ent_horse_shire.walk",
		  "walk_pulling": "animation.sgs_farm_ent_horse_shire.walk_pulling",
		  "lookat": "animation.sgs_farm_ent_horse_shire.look_at_player",
		  
		  "harvest_move": "animation.sgs_farms_ent_cart_harvest.move",
		  "plough_move": "animation.sgs_farms_ent_cart_plough.move",
		  "seed_move": "animation.sgs_farms_ent_cart_seed.move",
		  "cargo_move": "animation.sgs_farms_ent_cart_cargo.move",
		  
		  "harvest_interact": "animation.sgs_farms_ent_mach_harvest.interact",
		  "plough_interact": "animation.sgs_farms_ent_mach_plough.interact",
		  "seed_interact": "animation.sgs_farms_ent_mach_seed.interact",
		  
		  "control_move": "controller.animation.sgs_farm.move",
		  "control_jump": "controller.animation.sgs_farm.horse_jump"
         },
         "scripts":{
			"animate":[
               "control_move",
			   "control_jump",
			   {"harvest_interact": "query.property('sgs_farm:tool_active') && query.property('sgs_farm:harvest')"},
			   {"plough_interact": "query.property('sgs_farm:tool_active') && query.property('sgs_farm:plough')"},
			   {"seed_interact": "query.property('sgs_farm:tool_active') && query.property('sgs_farm:seed')"}
            ]
         },
         "spawn_egg":{
            "texture":"sgs_farm_horse_shire"
         },
         "enable_attachables":false,
         "render_controllers":[
            "controller.render.sgs_farm.shire_horse",
			{"controller.render.sgs_farm.seed": "query.property('sgs_farm:seed')"},
			{"controller.render.sgs_farm.harvest": "query.property('sgs_farm:harvest')"},
			{"controller.render.sgs_farm.plough": "query.property('sgs_farm:plough')"},
			{"controller.render.sgs_farm.cargo": "query.property('sgs_farm:cargo')"}
         ]
      }
   }
}