How can I place a block randomly around my world?
//ads -- adsterra.com -- native banner
?>
I downloaded a lucky block mod and I want to place them randomly in my world. Is there a command to do this? I'd prefer the entire world to be affected but if it's just around 200 blocks then that's fine.
Best Answer
There isn't one command but you could do it with a few:
- Summon large amounts of entities. Armour stands are probably the best as they can't move.
- Use the
spreadplayerscommand to distribute them around the world. - Use the
executecommand tosetblockyour lucky block at each armour stands' position. - Use the
killcommand to remove all the armour stands.
Links on each commands' syntax are below.
Pictures about "How can I place a block randomly around my world?"



Quick Answer about "How can I place a block randomly around my world?"
How do you place a random block in Minecraft?
In easy mode, you just press the 'r' key (can be changed in options). From now on, whenever you place a block, your hotbar will switch to a different block.How do you randomly place blocks with commands?
Installing the command: - Open your world (with cheats enabled) in Minecraft. - Type "/tp @p 0 200 0" to teleport yourself to the center of the world. You must do this otherwise it will not work. - Type "/give @p command_block" and place the command block on the ground.How do you place a block in Minecraft where you are looking?
Open the chat box and enter \u201c/give [your username] command_block\u201d Place the block where you want it.Minecraft Random Block Placer - NO MODS
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Maria Orlova, Meruyert Gonullu, Pok Rie, Pok Rie
