diff --git a/src/main/java/co/fantabos/bscv/BoSCoVicino.java b/src/main/java/co/fantabos/bscv/BoSCoVicino.java index 2f2fed9..5dab510 100644 --- a/src/main/java/co/fantabos/bscv/BoSCoVicino.java +++ b/src/main/java/co/fantabos/bscv/BoSCoVicino.java @@ -1,34 +1,21 @@ package co.fantabos.bscv; import net.minecraft.block.Block; -import net.minecraft.block.Blocks; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.player.ClientPlayerEntity; import net.minecraft.command.CommandSource; import net.minecraft.command.Commands; -import net.minecraft.util.text.Color; import net.minecraft.util.text.StringTextComponent; -import net.minecraft.util.text.Style; -import net.minecraft.util.text.TextComponent; -import net.minecraft.util.text.event.HoverEvent; import net.minecraftforge.client.event.ClientChatEvent; -import net.minecraftforge.client.event.RenderGameOverlayEvent; -import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType; import net.minecraftforge.common.ForgeConfigSpec; import net.minecraftforge.common.MinecraftForge; -import net.minecraftforge.event.RegisterCommandsEvent; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.event.world.WorldEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; -import net.minecraftforge.fml.InterModComms; import net.minecraftforge.fml.ModLoadingContext; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.config.ModConfig.Type; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; -import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; -import net.minecraftforge.fml.event.lifecycle.InterModEnqueueEvent; -import net.minecraftforge.fml.event.lifecycle.InterModProcessEvent; -import net.minecraftforge.fml.event.server.FMLServerStartingEvent; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @@ -39,9 +26,7 @@ import com.mojang.brigadier.exceptions.CommandSyntaxException; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.List; -import java.util.stream.Collectors; -import co.fantabos.bscv.Module; import co.fantabos.bscv.modules.*; // The value here should match an entry in the META-INF/mods.toml file diff --git a/src/main/java/co/fantabos/bscv/Command.java b/src/main/java/co/fantabos/bscv/Command.java deleted file mode 100644 index 496a48c..0000000 --- a/src/main/java/co/fantabos/bscv/Command.java +++ /dev/null @@ -1,17 +0,0 @@ -package co.fantabos.bscv; - -import com.mojang.brigadier.CommandDispatcher; - -import net.minecraft.command.CommandSource; -import net.minecraftforge.event.RegisterCommandsEvent; -import net.minecraftforge.eventbus.api.SubscribeEvent; - -public class Command { - - // TODO automate registering commands - - @SubscribeEvent - public static void onRegisterCommandEvent(RegisterCommandsEvent event) { - CommandDispatcher dispatcher = event.getDispatcher(); - } -}