Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>MC Math Expression GeneratorNew to Visual Studio Code? Get it now.

MC Math Expression Generator

Boomber

|
2,374 installs
| (0) | Free
Generate scoreboard operation from math expression
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Minecraft Math Expression Generator

This extension provide a way to generate long and confusing /scoreboard players operation in a much shorter way.

Features

  1. Expression Generator [extension.mc-math.insert]
    Generate /scoreboard players operation command from math expression such as 1+2*3.
    Do note that currently this extension always read expression from left to right not the usual PEMDAS convention.

    You can also use minecraft selector in the expression, E.g. @e[tag=foo] * 12

    1.1) Additionals operator
    1.1.1) '^' : Exponential, generate multiple /scoreboard lines to simulate exponential operator.
    Syntax: <selector>^<exponent>
    Example: @s^2, @r[tag=foo]^5
    Restriction: exponent must be pure integer not selector.

  2. Expression Evaluator [extension.mc-math.eval]
    Evaluate math expression on the fly.


    Or you can also evaluate expression from the editor itself!

Configurations

You can change these config from Settings page.
mc-math.default_scoreboard_1: first scoreboard objective when no scoreboard is provided.
mc-math.default_scoreboard_2: second scoreboard objective when no scoreboard is provided.
mc-math.exponent_limit: limit how big can exponent of ^ operator be.

Planned Features

  • PEMDAS convention
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft