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

3

On Use

3 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    The /execute command wasn't meant for scheduling things to happen, it was meant for modifying execution properties. In layman's terms, it modifies the who, what, and where attributes, but wasn't designed to modify the when.

    A better way to do this would probably be to add a scoreboard criteria for these triggers and set up updates - I know this can get a bit cumbersome, but I know that /execute is probably not the best way to go for this.

  • 0
    Registered User commented
    Comment actions Permalink

    ExpertCoder14 the reason I did example syntax at the execute command was just for the Bedrock Edition example, because let’s be honest: are they gonna add scoreboard criteria in Bedrock Edition? If they do, that would have to be an entire thing separately - the introduction of that - and I can’t see that coming the way things are. The most complicated thing like that is the execute detect, which is what I took a spin off of. While it would be better, the Bedrock Team seems to not to want to add things like that and asking for something in that form seems like asking for two things at once.

  • 1
    Registered User commented
    Comment actions Permalink

    No

    The best way is, adding the "use" or "using" item component, and use advancement to detect the use (or a fild in the item component that execute a command if the item is used or it's using)