execute align xz run summon area_effect_cloud ~.5 ~ ~.5 {Tags:["unspellable","spider_egg","attack","EB"],Duration:120}

function rng:percentage
fill ~ ~ ~ ~ ~ ~ turtle_egg[eggs=1] replace #ykw:replaceable
execute if score out rng matches 40.. run fill ~ ~ ~ ~ ~ ~ turtle_egg[eggs=2] replace #ykw:replaceable
execute if score out rng matches 70.. run fill ~ ~ ~ ~ ~ ~ turtle_egg[eggs=3] replace #ykw:replaceable

playsound custom.honey_block.step.no_subtitle hostile @a ~ ~ ~ 1 .7
playsound custom.spider.egg.lay hostile @a ~ ~ ~
