Supports the ability for commands to be registered internally (#12520)

This commit is contained in:
Owen
2025-05-06 16:05:00 -04:00
committed by GitHub
parent c98cd65802
commit 42a2a6c2b5
12 changed files with 92 additions and 52 deletions

View File

@ -15,5 +15,9 @@ public enum CommandRegistrationFlag {
* @deprecated This is the default behavior now.
*/
@Deprecated(since = "1.21.4")
FLATTEN_ALIASES
FLATTEN_ALIASES,
/**
* Prevents this command from being sent to the client.
*/
SERVER_ONLY
}