-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add /cdebug command #650
Add /cdebug command #650
Conversation
src/main/java/net/earthcomputer/clientcommands/command/CDebugCommand.java
Outdated
Show resolved
Hide resolved
src/main/java/net/earthcomputer/clientcommands/command/CDebugCommand.java
Outdated
Show resolved
Hide resolved
src/main/java/net/earthcomputer/clientcommands/command/CDebugCommand.java
Outdated
Show resolved
Hide resolved
src/main/java/net/earthcomputer/clientcommands/command/CDebugCommand.java
Outdated
Show resolved
Hide resolved
src/main/java/net/earthcomputer/clientcommands/command/CDebugCommand.java
Outdated
Show resolved
Hide resolved
src/main/java/net/earthcomputer/clientcommands/command/CDebugCommand.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool idea, an enum would be more future-proof than string literals, and less code to type for the branches
why can't a CEnumArgument be used here? |
sorry, i just noticed that you wrote 2 comments and I wasn't aware of the CEnumArgument. |
Sorry to bother, but what's the status on this PR? |
It is currently open. |
Yeah, but I mean if it's going to be merged sometime, if the feature seems unnecessary and not getting added or if I need to update something on the code. Sry for not clarifying. If you don't know yet, it's also ok, just wanted to ask |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, one final thing.
src/main/java/net/earthcomputer/clientcommands/command/CDebugCommand.java
Outdated
Show resolved
Hide resolved
src/main/java/net/earthcomputer/clientcommands/command/CDebugCommand.java
Outdated
Show resolved
Hide resolved
src/main/java/net/earthcomputer/clientcommands/command/CDebugCommand.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, one final thing.
src/main/java/net/earthcomputer/clientcommands/command/CDebugCommand.java
Show resolved
Hide resolved
Thank you! For such a simple command, it went through quite a lot of reviewing 😄. |
This command opens up the debug screen (F3) for the people who do not have the F3 key on their keyboard.
You can also use
/cdebug fps|network|profiler
to show the respective graphs.