I've been trying to make a bomb using commands.
When the player uses the spawn egg I want it to summon like 10-20 invisible armor stands, then use
/spreadplayers to spread them above ground and underground at a 10 block radius from the player. Afterwards, TNT is summoned at the armor stands and that makes the explosion. After that the armor stands are killed.
The problem is, I don't know if the
/spreadplayers command even works with armor stands.