you didn't know chatGPT could do this:
Me:
How can I make a snowball that when it collides with something explodes, and after 3 seconds summons a cat called "Behrauder" in the same place where the snowball exploded, using only command blocks?
chatGPT:
To create a snowball that explodes upon impact and summons a cat called "Behrauder" after 3 seconds in the same place where the snowball exploded using command blocks, you can follow these steps:
Create a repeating command block and set it to "Always Active" mode.
Enter the command /execute at @e[type=snowball] run summon area_effect_cloud ~ ~ ~ {Duration:60,Tags:["explode"]}
in the command block.
Create a chain command block and set it to "Conditional" mode.
Enter the command /execute as @e[type=snowball,tag=explode] at @s run summon cat ~ ~ ~ {CustomName:"\"Behrauder\"",CustomNameVisible:1}
in the command block.
Create another chain command block and set it to "Conditional" mode.
Enter the command /execute as @e[type=snowball,tag=explode] at @s run summon area_effect_cloud ~ ~ ~ {Duration:20,Tags:["remove"]}
in the command block.
I don't have minecraft installed and I don't want to install it now, so it's not confirmed that it works but it should work, if it works it's very useful.