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.

4

Varible command

2 Comments

Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 2
    Registered User commented
    Comment actions Permalink

    There are two main types of data storage in Minecraft, and there is no need for another form of data storage you can already do lots of things with this. There are two main forms of data storage:

    • Scoreboard objectives: The best way for storing integers, because of the ability to do basic math such as addition (+=), subtraction (-=), muliplication (*=), division (/=) and modulus (%=).
    • NBT data: Best way for storing almost anything else. Reading and writing is easy with the /data command.

    It is also possible to perform your example command using scoreboard values and armour stands. There is no need to add another form of data storage.

  • 1
    Registered User commented
    Comment actions Permalink

    That's a really cool idea.