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.

2

An addition to the scoreboard command

1 Comments

Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    You can already do this (at least in JE 1.13.2)

     

    execute store result score @p pos_z run data get entity @p Pos[2] 1

    scoreboard player add @p pos_z 3

    execute store result entity @p Pos[2] double 1 run scoreboard players get @p pos_z