Posted October 22, 20195 yr Is it possible to override minecraft vanilla commands? I just try register command with same arguments and name, but, it work incorrect.
October 22, 20195 yr I believe if you want to modify base classes you will have to use ASM or reflection. Most of the time this is not needed depending on what you are doing. What is it that you are specifically trying to accomplish?
October 23, 20195 yr Author 20 hours ago, BoredPerson said: I believe if you want to modify base classes you will have to use ASM or reflection. Most of the time this is not needed depending on what you are doing. What is it that you are specifically trying to accomplish? In simple words, I want to make unregister that command and register your own. Or simply register on top, thereby replacing the minecraft vanilla command.
October 25, 20195 yr On 10/24/2019 at 11:42 AM, MairwunNx said: Not resolved. Update. ⬆ I don't know how to do this, but if I were you I'd make the command name the same and register it. Then, on CommandEvent, cancel the event if the command is the one you want to override.
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.