{
	"format_version": "1.8.0",
	"minecraft:client_entity": {
		"description": {
			"identifier": "minecraft:allay",
			"materials": {
				"default": "allay"
			},
			"textures": {
				"default": "textures/entity/allay/allay",
				"default2": "textures/entity/allay/allay2"
			},
			"geometry": {
				"default": "geometry.allay"
			},
       "spawn_egg": {
         "base_color": "#00daff",
         "overlay_color": "#00adff"
      },
      "scripts": {
        "pre_animation": [
          "variable.holding_trident = query.is_item_name_any('slot.weapon.mainhand', 'minecraft:trident');",
          "variable.Nvar =(variable.Nvar ?? Math.random(-1,1));",
          "variable.Avar = (variable.Avar ?? Math.random(-20,20));",
          "variable.Xvar = (variable.Xvar ?? Math.random(0,999));"
        ],
        "scale": "(0.95+0.0*variable.Nvar)"
      },
			"animations": {
				"idle": "animation.allay.idle",
				"fly": "animation.allay.fly",
				"hold_item": "animation.allay.hold_item"
			},
			"animation_controllers": [
				{ "general": "controller.animation.allay.general" },
				{ "holding": "controller.animation.allay.holding" }
			],
      "render_controllers": [ "controller.render.allay_x" ],
      "enable_attachables":  true
		}
	}
}
