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

4

Add a `target` coordinate option

3 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    target could be a positioning option in an execute command.
    As the player run: 

    execute positioned target run setblock ~ ~ ~ stone
  • 0
    Registered User commented
    Comment actions Permalink

    U mean on bedrock? Cause i think this feature is already in java.

  • 0
    Registered User commented
    Comment actions Permalink

    It might be tricky to implement unless it's a feature for "/execute" command.
    For example, this command would change the block the player is looking at (or fail if the player is not looking at any of the blocks or the player is gone).

    /execute as @p positioned block target run setblock ~ ~ ~

    On the other hand, this command would change the block that the player would create if they clicked right mouse button (usually the block next to targeted one, dependent from the player position) (or fail in some scenarios):

    /execute as @p positioned block placeable run setblock ~ ~ ~