|
@@ -2,6 +2,7 @@ package me.km;
|
|
|
|
|
|
import me.km.api.Module;
|
|
import me.km.api.Module;
|
|
import me.km.api.SimpleConfig;
|
|
import me.km.api.SimpleConfig;
|
|
|
|
+import me.km.api.VanillaCommandOverloader;
|
|
import me.km.blockprotections.BlockProtectionBank;
|
|
import me.km.blockprotections.BlockProtectionBank;
|
|
import me.km.blocks.ModBlocks;
|
|
import me.km.blocks.ModBlocks;
|
|
import me.km.chatmanager.ChatManager;
|
|
import me.km.chatmanager.ChatManager;
|
|
@@ -22,6 +23,7 @@ import me.km.snuviscript.QuestAPI;
|
|
import me.km.snuviscript.QuestBank;
|
|
import me.km.snuviscript.QuestBank;
|
|
import net.minecraft.server.MinecraftServer;
|
|
import net.minecraft.server.MinecraftServer;
|
|
import net.minecraft.util.text.TextFormatting;
|
|
import net.minecraft.util.text.TextFormatting;
|
|
|
|
+import net.minecraftforge.common.MinecraftForge;
|
|
import net.minecraftforge.fml.common.Mod;
|
|
import net.minecraftforge.fml.common.Mod;
|
|
import net.minecraftforge.fml.common.SidedProxy;
|
|
import net.minecraftforge.fml.common.SidedProxy;
|
|
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
|
|
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
|
|
@@ -114,6 +116,7 @@ public class KajetansMod
|
|
|
|
|
|
generalCommands = new Module("GeneralCommands", "Commands", TextFormatting.GOLD);
|
|
generalCommands = new Module("GeneralCommands", "Commands", TextFormatting.GOLD);
|
|
generalCommands.registerCommands(e, "me.km.commands");
|
|
generalCommands.registerCommands(e, "me.km.commands");
|
|
|
|
+ VanillaCommandOverloader.overloadVanillaCommands(e, generalCommands);
|
|
|
|
|
|
|
|
|
|
chatManager = new ChatManager("ChatManager", "Chat", TextFormatting.BLUE);
|
|
chatManager = new ChatManager("ChatManager", "Chat", TextFormatting.BLUE);
|
|
@@ -200,6 +203,7 @@ public class KajetansMod
|
|
public void init(FMLInitializationEvent e)
|
|
public void init(FMLInitializationEvent e)
|
|
{
|
|
{
|
|
proxy.initEntities();
|
|
proxy.initEntities();
|
|
|
|
+ MinecraftForge.EVENT_BUS.register(new ClientEvents());
|
|
}
|
|
}
|
|
|
|
|
|
@Mod.EventHandler
|
|
@Mod.EventHandler
|