From 2c0e73deb53f54d78bd5594786313ac82151be1a Mon Sep 17 00:00:00 2001 From: Appability Date: Tue, 11 Oct 2022 23:59:37 -0700 Subject: added chest qol features (complete, i think) --- .../com/examplemod/commands/ExampleCommand.kt | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/main/kotlin/com/examplemod/commands/ExampleCommand.kt (limited to 'src/main/kotlin/com/examplemod/commands/ExampleCommand.kt') diff --git a/src/main/kotlin/com/examplemod/commands/ExampleCommand.kt b/src/main/kotlin/com/examplemod/commands/ExampleCommand.kt deleted file mode 100644 index 12538ca..0000000 --- a/src/main/kotlin/com/examplemod/commands/ExampleCommand.kt +++ /dev/null @@ -1,23 +0,0 @@ -package com.examplemod.commands - -import ExampleMod -import com.examplemod.config.Config -import net.minecraft.command.CommandBase -import net.minecraft.command.ICommandSender -import net.minecraft.util.ChatComponentText -import net.minecraft.util.IChatComponent - -class ExampleCommand : CommandBase() { - override fun getCommandName() = "examplemod" - - override fun getCommandAliases() = listOf("example") - - override fun getCommandUsage(sender: ICommandSender?) = "/$commandName" - - override fun getRequiredPermissionLevel() = 0 - - override fun processCommand(sender: ICommandSender?, args: Array?) { - sender?.addChatMessage(ChatComponentText("Example command run!")) - ExampleMod.currentGui = Config.gui() - } -} \ No newline at end of file -- cgit