diff options
author | ingle <inglettronald@gmail.com> | 2022-09-23 05:01:47 -0500 |
---|---|---|
committer | ingle <inglettronald@gmail.com> | 2022-09-23 05:01:47 -0500 |
commit | add142c970d52d33e731fb3a30605a5ef1f128bd (patch) | |
tree | 5cad6bf99e2453481f3cbba220cbe6491b4ce625 /src/main/java/com/example/commands/EnchantRuneCommand.java | |
parent | 033de65a180b64fc645036d142589f57956ea263 (diff) | |
download | DulkirMod-add142c970d52d33e731fb3a30605a5ef1f128bd.tar.gz DulkirMod-add142c970d52d33e731fb3a30605a5ef1f128bd.tar.bz2 DulkirMod-add142c970d52d33e731fb3a30605a5ef1f128bd.zip |
Nothing works yet :+1:
Diffstat (limited to 'src/main/java/com/example/commands/EnchantRuneCommand.java')
-rw-r--r-- | src/main/java/com/example/commands/EnchantRuneCommand.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/main/java/com/example/commands/EnchantRuneCommand.java b/src/main/java/com/example/commands/EnchantRuneCommand.java deleted file mode 100644 index 98296ae..0000000 --- a/src/main/java/com/example/commands/EnchantRuneCommand.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.example.commands;
-
-import com.example.Settings;
-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 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 |