I found a script for world edit that generates these spiral cones but it was made 12 years ago, how to do this in 1.19? That script unfortunately does not work anymore :
WorldEdit | EngineHub
WORLD EDIT MOD 1.19.4 minecraft - how to download & install WorldEdit 1.19.4 (with FABRIC) - YouTube
WorldEdit - Minecraft Mods - CurseForge
WorldEdit Addon (1.20, 1.19) - Bedrock Edition Mod - 9Minecraft.Net