Skip to content

Commit

Permalink
Sort command registration into alphabetical order
Browse files Browse the repository at this point in the history
  • Loading branch information
Earthcomputer committed Mar 7, 2024
1 parent 8104eb5 commit 74e536f
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions src/main/java/net/earthcomputer/clientcommands/ClientCommands.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,61 +110,61 @@ public static void sendCommandExecutionToServer(String command) {
public static void registerCommands(CommandDispatcher<FabricClientCommandSource> dispatcher, CommandBuildContext context) {
Set<String> existingCommands = getCommands(dispatcher);

AliasCommand.register(dispatcher);
AreaStatsCommand.register(dispatcher, context);
AuditMixinsCommand.register(dispatcher);
BookCommand.register(dispatcher);
LookCommand.register(dispatcher);
NoteCommand.register(dispatcher);
ShrugCommand.register(dispatcher);
FindCommand.register(dispatcher);
FindBlockCommand.register(dispatcher, context);
FindItemCommand.register(dispatcher, context);
TaskCommand.register(dispatcher);
CalcCommand.register(dispatcher);
RenderCommand.register(dispatcher);
UsageTreeCommand.register(dispatcher);
WikiCommand.register(dispatcher);
CEnchantCommand.register(dispatcher);
GlowCommand.register(dispatcher);
GetDataCommand.register(dispatcher);
CalcStackCommand.register(dispatcher, context);
GammaCommand.register(dispatcher);
MoteCommand.register(dispatcher);
ChorusCommand.register(dispatcher);
FishCommand.register(dispatcher, context);
SignSearchCommand.register(dispatcher);
GhostBlockCommand.register(dispatcher, context);
RelogCommand.register(dispatcher);
CEnchantCommand.register(dispatcher);
CFunctionCommand.register(dispatcher);
CGameModeCommand.register(dispatcher);
CGiveCommand.register(dispatcher, context);
ChorusCommand.register(dispatcher);
CParticleCommand.register(dispatcher);
CPlaySoundCommand.register(dispatcher);
CrackRNGCommand.register(dispatcher);
CStopSoundCommand.register(dispatcher);
CTeleportCommand.register(dispatcher);
CTellRawCommand.register(dispatcher);
CTimeCommand.register(dispatcher);
CTitleCommand.register(dispatcher);
FindBlockCommand.register(dispatcher, context);
FindCommand.register(dispatcher);
FindItemCommand.register(dispatcher, context);
FishCommand.register(dispatcher, context);
FovCommand.register(dispatcher);
GammaCommand.register(dispatcher);
GetDataCommand.register(dispatcher);
GhostBlockCommand.register(dispatcher, context);
GlowCommand.register(dispatcher);
HotbarCommand.register(dispatcher);
KitCommand.register(dispatcher);
ItemGroupCommand.register(dispatcher, context);
CParticleCommand.register(dispatcher);
KitCommand.register(dispatcher);
ListenCommand.register(dispatcher);
LookCommand.register(dispatcher);
MoteCommand.register(dispatcher);
NoteCommand.register(dispatcher);
PermissionLevelCommand.register(dispatcher);
CTellRawCommand.register(dispatcher);
CTimeCommand.register(dispatcher);
AliasCommand.register(dispatcher);
AreaStatsCommand.register(dispatcher, context);
CTeleportCommand.register(dispatcher);
// PlayerInfoCommand.register(dispatcher);
PingCommand.register(dispatcher);
UuidCommand.register(dispatcher);
// PlayerInfoCommand.register(dispatcher);
PluginsCommand.register(dispatcher);
PosCommand.register(dispatcher);
RelogCommand.register(dispatcher);
RenderCommand.register(dispatcher);
ShrugCommand.register(dispatcher);
SignSearchCommand.register(dispatcher);
SnakeCommand.register(dispatcher);
CTitleCommand.register(dispatcher);
StartupCommand.register(dispatcher);
TaskCommand.register(dispatcher);
TooltipCommand.register(dispatcher, context);
TranslateCommand.register(dispatcher);
UsageTreeCommand.register(dispatcher);
UuidCommand.register(dispatcher);
VarCommand.register(dispatcher);
CFunctionCommand.register(dispatcher);
StartupCommand.register(dispatcher);
WhisperEncryptedCommand.register(dispatcher);
PosCommand.register(dispatcher);
CrackRNGCommand.register(dispatcher);
WeatherCommand.register(dispatcher);
PluginsCommand.register(dispatcher);
CGameModeCommand.register(dispatcher);
ListenCommand.register(dispatcher);
WhisperEncryptedCommand.register(dispatcher);
WikiCommand.register(dispatcher);

Calendar calendar = Calendar.getInstance();
boolean registerChatCommand = calendar.get(Calendar.MONTH) == Calendar.APRIL && calendar.get(Calendar.DAY_OF_MONTH) == 1;
Expand Down

0 comments on commit 74e536f

Please sign in to comment.