From 393f3c8f9279f5d8f5e33933ce6ef985d65a92f0 Mon Sep 17 00:00:00 2001 From: ThatGravyBoat Date: Fri, 18 Feb 2022 04:58:10 -0330 Subject: Move commands to separate classes (#82) --- .../notenoughupdates/commands/misc/ButtonsCommand.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/main/java/io/github/moulberry/notenoughupdates/commands/misc/ButtonsCommand.java (limited to 'src/main/java/io/github/moulberry/notenoughupdates/commands/misc/ButtonsCommand.java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/ButtonsCommand.java b/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/ButtonsCommand.java new file mode 100644 index 00000000..16f59910 --- /dev/null +++ b/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/ButtonsCommand.java @@ -0,0 +1,16 @@ +package io.github.moulberry.notenoughupdates.commands.misc; + +import io.github.moulberry.notenoughupdates.commands.ClientCommandBase; +import net.minecraft.command.CommandException; +import net.minecraft.command.ICommandSender; + +public class ButtonsCommand extends ClientCommandBase { + protected ButtonsCommand(String name) { + super(name); + } + + @Override + public void processCommand(ICommandSender sender, String[] args) throws CommandException { + + } +} -- cgit From b09f774d422263ce15b97d6d0804beddf856176d Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sun, 27 Feb 2022 11:53:57 -0500 Subject: feat: improve formating :) --- .../notenoughupdates/commands/misc/ButtonsCommand.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/main/java/io/github/moulberry/notenoughupdates/commands/misc/ButtonsCommand.java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/ButtonsCommand.java b/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/ButtonsCommand.java index 16f59910..63d5c327 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/ButtonsCommand.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/ButtonsCommand.java @@ -5,12 +5,12 @@ import net.minecraft.command.CommandException; import net.minecraft.command.ICommandSender; public class ButtonsCommand extends ClientCommandBase { - protected ButtonsCommand(String name) { - super(name); - } + protected ButtonsCommand(String name) { + super(name); + } - @Override - public void processCommand(ICommandSender sender, String[] args) throws CommandException { + @Override + public void processCommand(ICommandSender sender, String[] args) throws CommandException { - } + } } -- cgit