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.