Skip to content

Commit

Permalink
refactor(next): mod server command
Browse files Browse the repository at this point in the history
  • Loading branch information
WakelessSloth56 committed Sep 28, 2022
1 parent 3404bd1 commit f7823db
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
@@ -1,7 +1,7 @@
package org.auioc.mcmod.arnicalib.game.command;

import org.auioc.mcmod.arnicalib.mod.client.command.AHClientCommands;
import org.auioc.mcmod.arnicalib.server.command.AHServerCommands;
import org.auioc.mcmod.arnicalib.mod.server.command.AHServerCommands;
import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.tree.CommandNode;
import net.minecraft.commands.CommandSourceStack;
Expand Down
@@ -1,12 +1,12 @@
package org.auioc.mcmod.arnicalib.server.command;
package org.auioc.mcmod.arnicalib.mod.server.command;

import static net.minecraft.commands.Commands.literal;
import java.util.List;
import org.auioc.mcmod.arnicalib.ArnicaLib;
import org.auioc.mcmod.arnicalib.game.command.DynamicCommandHandler;
import org.auioc.mcmod.arnicalib.game.command.node.VersionCommandNode;
import org.auioc.mcmod.arnicalib.game.cpw.EnvironmentUtils;
import org.auioc.mcmod.arnicalib.server.command.impl.RtpCommand;
import org.auioc.mcmod.arnicalib.mod.server.command.impl.RtpCommand;
import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.tree.CommandNode;
import net.minecraft.commands.CommandSourceStack;
Expand Down Expand Up @@ -45,7 +45,7 @@ private static void addTestNode(CommandNode<CommandSourceStack> node) {
literal("test")
.executes(
(ctx) -> DynamicCommandHandler.run(
"org.auioc.mcmod.arnicalib.server.command.TestCommandHandler",
"org.auioc.mcmod.arnicalib.mod.server.command.TestCommandHandler",
"run",
ctx
)
Expand Down
@@ -1,4 +1,4 @@
package org.auioc.mcmod.arnicalib.server.command.impl;
package org.auioc.mcmod.arnicalib.mod.server.command.impl;

import static net.minecraft.commands.Commands.argument;
import static net.minecraft.commands.Commands.literal;
Expand Down
Expand Up @@ -3,7 +3,7 @@
import static org.auioc.mcmod.arnicalib.ArnicaLib.LOGGER;
import org.apache.logging.log4j.Marker;
import org.auioc.mcmod.arnicalib.base.log.LogUtil;
import org.auioc.mcmod.arnicalib.server.command.AHServerCommands;
import org.auioc.mcmod.arnicalib.mod.server.command.AHServerCommands;
import org.auioc.mcmod.arnicalib.server.event.impl.ServerLoginEvent;
import net.minecraft.network.ConnectionProtocol;
import net.minecraftforge.event.RegisterCommandsEvent;
Expand Down

0 comments on commit f7823db

Please sign in to comment.