From 982f4e721ea20eaef3056050ad0b6a5058d24354 Mon Sep 17 00:00:00 2001
From: ingle <inglettronald@gmail.com>
Date: Fri, 23 Sep 2022 21:19:17 -0500
Subject: Nothing works yet :+1:

---
 src/main/java/com/dulkirmod/DulkirMod.java         |  6 ++++-
 .../com/dulkirmod/commands/ClientCommandBase.java  | 27 ----------------------
 src/main/java/com/dulkirmod/commands/Commands.java | 13 -----------
 .../com/dulkirmod/commands/EnchantRuneCommand.java | 22 ------------------
 .../java/com/dulkirmod/commands/FairyCommand.java  | 22 ------------------
 .../java/com/dulkirmod/commands/HelpCommand.java   | 24 -------------------
 6 files changed, 5 insertions(+), 109 deletions(-)
 delete mode 100644 src/main/java/com/dulkirmod/commands/ClientCommandBase.java
 delete mode 100644 src/main/java/com/dulkirmod/commands/Commands.java
 delete mode 100644 src/main/java/com/dulkirmod/commands/EnchantRuneCommand.java
 delete mode 100644 src/main/java/com/dulkirmod/commands/FairyCommand.java
 delete mode 100644 src/main/java/com/dulkirmod/commands/HelpCommand.java

(limited to 'src')

diff --git a/src/main/java/com/dulkirmod/DulkirMod.java b/src/main/java/com/dulkirmod/DulkirMod.java
index 07117c4..937031f 100644
--- a/src/main/java/com/dulkirmod/DulkirMod.java
+++ b/src/main/java/com/dulkirmod/DulkirMod.java
@@ -6,7 +6,9 @@ import net.minecraftforge.fml.common.Mod;
 import net.minecraftforge.fml.common.event.FMLInitializationEvent;
 import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
 
-@Mod(modid = "dulkirclient", version = "1.0.0")
+import javax.swing.text.JTextComponent;
+
+@Mod(modid = "dulkirmod", version = "1.0.0")
 public class DulkirMod {
     public Commands commands;
 
@@ -19,4 +21,6 @@ public class DulkirMod {
     public void preinit(FMLPreInitializationEvent event) {
         this.commands = new Commands();
     }
+
+
 }
diff --git a/src/main/java/com/dulkirmod/commands/ClientCommandBase.java b/src/main/java/com/dulkirmod/commands/ClientCommandBase.java
deleted file mode 100644
index 5f391f9..0000000
--- a/src/main/java/com/dulkirmod/commands/ClientCommandBase.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package com.dulkirmod.commands;
-
-import net.minecraft.command.CommandBase;
-import net.minecraft.command.ICommandSender;
-
-public abstract class ClientCommandBase extends CommandBase {
-    private final String name;
-
-    protected ClientCommandBase(String name) {
-        this.name = name;
-    }
-
-    @Override
-    public String getCommandName() {
-        return name;
-    }
-
-    @Override
-    public String getCommandUsage(ICommandSender sender) {
-        return "/" + name;
-    }
-
-    @Override
-    public boolean canCommandSenderUseCommand(ICommandSender sender) {
-        return true;
-    }
-}
diff --git a/src/main/java/com/dulkirmod/commands/Commands.java b/src/main/java/com/dulkirmod/commands/Commands.java
deleted file mode 100644
index b70ba4e..0000000
--- a/src/main/java/com/dulkirmod/commands/Commands.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package com.dulkirmod.commands;
-
-import net.minecraftforge.client.ClientCommandHandler;
-
-public class Commands {
-    public Commands() {
-        // Help Commands
-        ClientCommandHandler.instance.registerCommand(new HelpCommand());
-
-        // General
-        ClientCommandHandler.instance.registerCommand(new EnchantRuneCommand());
-    }
-}
\ No newline at end of file
diff --git a/src/main/java/com/dulkirmod/commands/EnchantRuneCommand.java b/src/main/java/com/dulkirmod/commands/EnchantRuneCommand.java
deleted file mode 100644
index 3a38053..0000000
--- a/src/main/java/com/dulkirmod/commands/EnchantRuneCommand.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package com.dulkirmod.commands;
-
-import com.dulkirmod.Settings;
-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 EnchantRuneCommand extends ClientCommandBase {
-
-    public EnchantRuneCommand() {
-        super("enchantrune");
-    }
-
-    @Override
-    public void processCommand(ICommandSender sender, String[] args) throws CommandException {
-        Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText(
-                EnumChatFormatting.BLACK+ "" + EnumChatFormatting.BOLD + "TOGGLED."));
-        Settings.EnchantRune = !Settings.EnchantRune;
-    }
-}
\ No newline at end of file
diff --git a/src/main/java/com/dulkirmod/commands/FairyCommand.java b/src/main/java/com/dulkirmod/commands/FairyCommand.java
deleted file mode 100644
index 0acc3a0..0000000
--- a/src/main/java/com/dulkirmod/commands/FairyCommand.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package com.dulkirmod.commands;
-
-import com.dulkirmod.Settings;
-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 FairyCommand extends ClientCommandBase {
-
-    public FairyCommand() {
-        super("fairy");
-    }
-
-    @Override
-    public void processCommand(ICommandSender sender, String[] args) throws CommandException {
-        Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText(
-                EnumChatFormatting.BLACK+ "" + EnumChatFormatting.BOLD + "TOGGLED."));
-        Settings.HealerFairy = !Settings.HealerFairy;
-    }
-}
\ No newline at end of file
diff --git a/src/main/java/com/dulkirmod/commands/HelpCommand.java b/src/main/java/com/dulkirmod/commands/HelpCommand.java
deleted file mode 100644
index 18dc399..0000000
--- a/src/main/java/com/dulkirmod/commands/HelpCommand.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package com.dulkirmod.commands;
-
-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 + "" + EnumChatFormatting.BOLD + " HI THIS IS DULKIRMOD!"));
-        Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText(
-                EnumChatFormatting.GRAY + "/enchantrune - toggles enchant rune visibility."));
-        Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText(
-                EnumChatFormatting.GRAY + "/fairy - toggles healer fairy visibility."));
-    }
-}
\ No newline at end of file
-- 
cgit