aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/command/HelpCommand.kt
blob: 804cb5c6ec7f75656321d6d05de32e55102c86a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package dulkirmod.command

import net.minecraft.client.Minecraft
import net.minecraft.command.CommandException
import net.minecraft.command.ICommandSender
import net.minecraft.util.ChatComponentText
import net.minecraft.util.EnumChatFormatting

class HelpCommand : ClientCommandBase("dulkirhelp") {
    @Throws(CommandException::class)
    override fun processCommand(sender: ICommandSender, args: Array<String>) {
        Minecraft.getMinecraft().thePlayer.addChatMessage(
            ChatComponentText(
                EnumChatFormatting.GOLD.toString() + "" + EnumChatFormatting.BOLD + " HI THIS IS DULKIRMOD!"
            )
        )
        Minecraft.getMinecraft().thePlayer.addChatMessage(
            ChatComponentText(
                EnumChatFormatting.GRAY.toString() + "/enchantrune - toggles enchant rune visibility."
            )
        )
        Minecraft.getMinecraft().thePlayer.addChatMessage(
            ChatComponentText(
                EnumChatFormatting.GRAY.toString() + "/fairy - toggles healer fairy visibility."
            )
        )
    }
}