Posted April 16, 20205 yr Hello, i was wondering how i can intercept a command, so i can replace certain things in the command and then execute the command when it's edited. I want to be able to use variables inside my commands, like %variableName%, those get then changed to the value of the variable, thanks for the help.
April 17, 20205 yr 8 hours ago, Akke said: Hello, i was wondering how i can intercept a command, so i can replace certain things in the command and then execute the command when it's edited. I want to be able to use variables inside my commands, like %variableName%, those get then changed to the value of the variable, thanks for the help. Use the CommandEvent event to do that. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
April 17, 20205 yr Author 6 hours ago, Animefan8888 said: Use the CommandEvent event to do that. Ok that worked, i was able to cancel the command, but how can i modify the command it self when i have the event?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.