Sign in
Skip to main content

Share your thoughts on features being tested in the latest Java Edition Snapshot. Keep in mind that not everything may be available, fully functional, or released as tested. General gameplay suggestions and feature requests belong in other categories.

14

Interaction Entity - Run Command

1 Comments

Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    yes we absolutely need this, way easier than using repeat command blocks all the time (as using many of them lowers the game performance since they'd all check per tick on the interaction entities).
    what i'd add though is that this idea of yours works only if the response is set to true (1b), otherwise the command field would be ignored even if filled.
    so {response:1b, run_command:"execute as @e[type=interaction] on target run give @s diamond 1"} would work (first it'd capture the interactor then execute the command) but {response:0b, run_command:"execute as @e[type=interaction] on target run give @s diamond 1} wouldn't do anything as response is set to false (0b), thus the "run_command" field wouldnt run