package com.example.commands; import com.example.commands.ClientCommandBase; 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; public class HelpCommand extends ClientCommandBase { public HelpCommand() { super("dulkir"); } @Override public void processCommand(ICommandSender sender, String[] args) throws CommandException { Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText( EnumChatFormatting.GOLD + "HI THIS IS DULKIRMOD")); Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText( EnumChatFormatting.GRAY + "/enchantrune - toggles enchant rune visibility.")); } }