Started by 
odchody
 on 
    Topic category: Help with Minecraft modding (Java Edition)
I would like to know if there's a way to start my procedure after the player executes a specific vanilla command; and if that's possible, addictionally reurtn the value used in the command.
Edited by odchody on Wed, 07/02/2025 - 14:31
                            
Yes, use global trigger player runs command
@Klemen what do I do next? Is there a way to check for a specific command?
Wait I think I figured it out. Btw thank you Klemen. If anyone needs it, all you need to do is:
1. Create a procedure with "Command Executed" global trigger
2. On the right panel, find Provided dependencies (it's on the lowest section)
3. One of the dependencies should be a green text saying "command" - double click on it
4. You'll get a Text Dependency block that will "tell" the procedure what command is executed.
Glad to hear that! This is exactly what I meant :)
Can you send a screenshot of what exactly the procedure block looks like?
I know I'm late, very late actually, but I cant get it for life of me, and freaking doubleclicking on the command thing in the bottom right isnt working for some reason so i have to add everything manually, even knowing what was the "text dependency[input]" what the input part was of it would be awesome