Command Blocks Mob Land Filler

Command Blocks Mob Land Filler - Overhead view of colorful roofs of residential buildings and lush green trees in flooded small village

I made a TNT cannon in superflat and now there is obviously a large hole in the world. I would like a system that will fill in the area, but I don't know how to use command blocks very well.

I don't want to just to use a simple /fill command, rather, I think it would be cool to have a mob, say a horse, walk around in the hole and where ever it goes the land around him is filled in. I don't know if it's possible, but it would definetely be very fun to watch. He would also need to have invulnerability, too so TNT does not kill him. Is there a command to do this?



Best Answer

To create it with a custom name and invincibility:

summon Chicken ~ ~ ~ {CustomName:"Landfiller",Invulberable:1b}

To constantly fill in the land (put this one on a clock):

execute @e[name=Landfiller,type=Chicken] ~ ~ ~ fill ~-1 1 ~-1 ~1 ~-1 ~1 minecraft:sandstone

Things to change:

  • You can modify the block you want to fill in with (change the minecraft:sandstone part)

  • You can experiment with different relative coordinates to fill in different amounts of land as the chicken walks (right now it's set to a 3x3 area centered on the chicken)

  • You can change which mob you use (Chicken AI is stupid, might be better off using something else)

Here is the Minecraft Wiki's Commands page.

Also check out some YouTube channels for some more info about commands and command blocks.




Pictures about "Command Blocks Mob Land Filler"

Command Blocks Mob Land Filler - Flooded small village with residential houses
Command Blocks Mob Land Filler - Flooded small village with houses
Command Blocks Mob Land Filler - Block of Flats in Barren Land



Can you use command blocks to fill an area?

Type the command in the chat window and press the Enter key to run the command. This /fill command would replace all blocks in the fill region, including air. The replaced blocks will be dropped and can then be collected as if they were mined with a pickaxe or shovel.



how to fill any colour of concrete by command in minecraft (check description)




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Pok Rie, Pok Rie, Pok Rie, Jo Kassis