1
Help With /spreadplayersmemory
So I'm trying to use the /spreadplayers command for a maze minigame to spread items to random locations in the maze by spreading armour stands to random locations in the maze and then using /setblock to place a block where they are, but I can't find a way to stop /spreadplayers from putting them on top of the maze walls, so does anyone know how to make them only spread in random places inside the maze and not change elevation?
1
If the maze walls are at a uniform height, you might try this syntax of the command:
/spreadplayers <center> <spreadDistance> <maxRange> under <maxHeight> <respectTeams> <targets>
I have little experience with the spreadplayers command, but maybe the 'under <maxHeight>' argument could solve your problem
/spreadplayers <center> <spreadDistance> <maxRange> under <maxHeight> <respectTeams> <targets>
I have little experience with the spreadplayers command, but maybe the 'under <maxHeight>' argument could solve your problem
