Commands let players perform actions and customize gameplay using text-based instructions. Use this topic to share feedback and ideas for improving commands and related tools.

7

/data should be able to change multiple targets

2 Comments

Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 2
    Registered User commented
    Comment actions Permalink

    Combine the data command with an execute command.

    /execute as <target> run data merge entity @s <NBT>

  • 0
    Registered User commented
    Comment actions Permalink

    /execute is also helpful for doing gamemode changes