Jump to content

Please hook Minecraft.handleClientCommand() to handle client commands.


Recommended Posts

Posted

Wow.  I wasn't even aware of that possibility.  I'm quite surprised.  Last time I looked at hot swapping code I think I reached the conclusion that it required JPDA and it all seemed too hard for my humble mod.

 

I guess, ideally there would be a standard interface, so I'd greatly appreciate any work you could do in that regard.

 

Thank you for your reply.

Posted

Any particular reason you used your own registry/interfaces? Could you not re-use the Command registry thats on the servers?

{Havent looked yet, just a thought}

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

My mod is entirely client-side.  It doesn't rely on anything in particular from the server other than permission to use LogBlock/CoreProtect/Prism query commands and tppos.

 

A local command line was my preferred way of driving it.

 

Posted

How does that relate to what I just said?

The registry and stuff are client env as well.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Ah, I understand what you're saying now.

 

I think at the time I wrote it I wasn't sure if I could use net.minecraft.command.CommandHandler client side. If that is possible, then great.

 

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.