From 033de65a180b64fc645036d142589f57956ea263 Mon Sep 17 00:00:00 2001 From: ingle Date: Fri, 23 Sep 2022 03:49:56 -0500 Subject: Nothing works yet :+1: --- .../java/com/example/commands/HelpCommand.java | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/main/java/com/example/commands/HelpCommand.java (limited to 'src/main/java/com/example/commands/HelpCommand.java') diff --git a/src/main/java/com/example/commands/HelpCommand.java b/src/main/java/com/example/commands/HelpCommand.java new file mode 100644 index 0000000..603fbdc --- /dev/null +++ b/src/main/java/com/example/commands/HelpCommand.java @@ -0,0 +1,23 @@ +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.")); + } +} \ No newline at end of file -- cgit