summon block_display ~ ~ ~ {Tags:["supply_drop.core"],teleport_duration:5,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-.5f,-1f,-.5f],scale:[1f,1f,1f]},block_state:{Name:"minecraft:barrel"}}

#Chickens
summon minecraft:chicken ~ ~2 ~ {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~1 ~2 ~-1 {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~-1 ~2 ~1 {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~-1 ~2 ~-1 {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~1 ~2 ~1 {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~-1 ~2 ~ {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~1 ~2 ~ {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~ ~2 ~-1 {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~ ~2 ~1 {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~0.5 ~2 ~0.5 {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~0.5 ~2 ~-0.5 {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~-0.5 ~2 ~0.5 {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~-0.5 ~2 ~-0.5 {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~0.5 ~2 ~0.5 {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~-0.5 ~2 ~ {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~0.5 ~2 ~ {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~ ~2 ~-0.5 {Tags:["supply_drop.chicken"]}
summon minecraft:chicken ~ ~2 ~0.5 {Tags:["supply_drop.chicken"]}

execute as @e[type=chicken,tag=supply_drop.chicken] at @s run data modify entity @s leash set from entity @e[type=block_display,sort=nearest,limit=1,tag=supply_drop.core,distance=..6] {}

playsound minecraft:block.chest.open master @a ~ ~ ~ 1000 1.2
tellraw @a {"color":"green","fallback":"A supply drop has been dropped.","italic":false,"translate":"subchronos.game.drop"}