aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/examplemod/commands/ExampleCommand.kt
diff options
context:
space:
mode:
authorAppability <appable@icloud.com>2022-10-11 23:59:37 -0700
committerAppability <appable@icloud.com>2022-10-11 23:59:37 -0700
commit2c0e73deb53f54d78bd5594786313ac82151be1a (patch)
tree97fc2f389cc99d8f9e078a1cd7b0c6a5859a3f34 /src/main/kotlin/com/examplemod/commands/ExampleCommand.kt
parent363b2426f8d9e45e52c472750c798dcaceb05a88 (diff)
downloadAmbientAddons-2c0e73deb53f54d78bd5594786313ac82151be1a.tar.gz
AmbientAddons-2c0e73deb53f54d78bd5594786313ac82151be1a.tar.bz2
AmbientAddons-2c0e73deb53f54d78bd5594786313ac82151be1a.zip
added chest qol features (complete, i think)
Diffstat (limited to 'src/main/kotlin/com/examplemod/commands/ExampleCommand.kt')
-rw-r--r--src/main/kotlin/com/examplemod/commands/ExampleCommand.kt23
1 files changed, 0 insertions, 23 deletions
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<out String>?) {
- sender?.addChatMessage(ChatComponentText("Example command run!"))
- ExampleMod.currentGui = Config.gui()
- }
-} \ No newline at end of file