Sign in
Skip to main content

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.

16

Default values for function macros

2 Comments

Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    Having gotten into datapacks recently for 1.21.1+...
    This would be extremely useful and cut down on many lines of commands

  • 2
    Registered User commented
    Comment actions Permalink

    I would love this to have this. A syntax I've seen in other places that make more sense here is using the pipe character |:

    $(macro1|323) $(macro2 | "this is a string")