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

18

Minecraft Bedrock Variables

4 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    This would be especially useful on Java edition as well! Love the idea, but would like to see it in both versions, as Java doesn’t have a reliable variable system. Also a couple of suggestions:


    1. Instead of /getvar and /setvar, it should be /variable get and /variable set (could be shortened to just /var

    2. There should be operations to these variables, eg /var operation [value]. (For example, /var operation exampleInteger addition 5, or /var operation exampleString join “Hello”)

    3. Some more types of variable: Boolean (stores True or False), Date (stores a date), Time (stores a time)

  • 0
    Registered User commented
    Comment actions Permalink

    3

  • 0
    Registered User commented
    Comment actions Permalink

    This would be awesome. The amount of uses and purposes this could serve in command projects would be crazy.

    For coordinates, I think it would be nice to specify which to save as variables with arguments. And a way to include these in commands such as teleport and summon would be insanely useful.

    I hope to see this in the game sometime in the future. :]

  • 0
    Registered User commented
    Comment actions Permalink

    For the number vars they should make it so anywhere you can type numbers you can use the variables