We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

6

/execute store worldborder

1 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    I agree with this for the most part, but there are a few modifications that I would make, mostly to face the fact that commands can only return one number:

    • center would have to be two different options: center_x and center_z because they are two different properties.
    • damage would need to be two different options: damage_buffer and damage_amount because they are two different properties.
    • warning would have to be two different options: warning_distance and warning_time because they are two different properties.
    • For setting the main size and time, it won't be that easy because commands only return one number. I propose a setup similar to the way /title works:
      1. /execute store result worldborder time
        This will set a time for the worldborder to move, but not take any immediate action.
      2. /execute store result worldborder size
        This will start the worldborder moving to the target size, for the duration specified in the previous command for time. If a call setting the time was never made, the worldborder moves instantly.
      3. Once the worldborder finished moving, the set time is reset to 0.