You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ServerCommand.java, you use ClientPlayNetworkHandlerAccessor in order to retrieve the server command tree.
You don't need to even listen for the packet the server sends!
I've been using this method to get the command tree; it's the one similar to what Minecraft uses.
Describe the feature
In ServerCommand.java, you use ClientPlayNetworkHandlerAccessor in order to retrieve the server command tree.
You don't need to even listen for the packet the server sends!
I've been using this method to get the command tree; it's the one similar to what Minecraft uses.
For your use case, it would be beneficial to pass an empty string as the method parameter to get the default command tree.
Hopefully this helps!
Before submitting a suggestion
This feature doesn't already exist in the client. (I have checked every module and their settings on the latest dev build)
This wasn't already suggested. (I have searched suggestions on GitHub and read the FAQ)
The text was updated successfully, but these errors were encountered: