Please remember this category is for features inside the latest pre-release only. To make a new suggestion for Java (like a block or gameplay suggestion), please use the appropriate category for your suggestion.

14

Interaction Entity - Run Command

1 Comments

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