How to make a worldborder that expands every in-game day at dawn?

How to make a worldborder that expands every in-game day at dawn? - Green Tree

I want to make a world with a world border that increases 2 blocks every in game day when the sun rises using command blocks. How would I accomplish this?

I don't completely understand commands so please be really detailed in how to do this.



Best Answer

First place a daylight sensor with a comparator infront of it, with the comparator facing out of the daylight sensor. Then put a command block as the output of the comparator. The redstone should look like following:

Redstone

Then, inside the command block, type:

/worldborder add 2

How this works is that the daylight sensor will activate each day and when it activates, it will give an input to the comparator which will then execute the command inside the command block and add a distance of 2 to the world border.




Pictures about "How to make a worldborder that expands every in-game day at dawn?"

How to make a worldborder that expands every in-game day at dawn? - Close-up of Wheat Plant during Sunset
How to make a worldborder that expands every in-game day at dawn? - View of Clouds during Sunset
How to make a worldborder that expands every in-game day at dawn? - Aerial Photo of Forest



How do you get a Worldborder in 100x100?

Setting Up A World Border
  • Specify the center of your world border by using the command /worldborder center <X> <Z> , replacing <X> and <Z> with your X and Z coordinates. ...
  • Once the center is set, you can now specify the size of the world border using the command /worldborder set <size> .


  • How do you make a Minecraft world slowly expand?

    1 Answer
  • Start with /worldborder center ~0 ~0 to center the future border around you.
  • Set the border radius to something small: /worldborder set 30 .
  • Make the border grow by a large number of blocks over a large amount of time: /worldborder add 1000000 10000000.




  • How To Create a Minecraft World that Slowly Expands - Yeah Jaron




    More answers regarding how to make a worldborder that expands every in-game day at dawn?

    Answer 2

    Plan 1: (hard&redstone way, no big differences with Plan 2) (not tested)
    First of all, you must do a 1 day loop with redstones. And next off, when you connect them to the command block, you must add /worldborder add 2 1 (2 = 2 blocks, 1 = 1 seconds to open) to it.

    Plan 2: (easy way) (tested and works)
    Put a Daylight Sensor, connect it to a command block, add /worldborder add 2 1 (2 = 2 blocks, 1 = 1 seconds to open) in command block.

    Note: Plan 2 might not work, see CommandFox' answer for a better take of this plan.

    Plan 3: (tested and works) (world will grow slowly, a new block everymidday)
    A minecraft day is 20 minutes. 1200 seconds. So just use this code in console: /worldborder add 2xdays-you-want 1200xdays-you-want. So making this work for 1000 days would be /worldborder add 2000 1200000.

    Also if you are mapping, I recommend adding another command block to let the player know that world grew.

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

    Images: Pixabay, Pixabay, Peter Fazekas, invisiblepower