Jump to content

Recommended Posts

Posted

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?

Posted
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.

Posted
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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.