diff options
author | alemidev <me@alemi.dev> | 2023-01-29 17:08:50 +0100 |
---|---|---|
committer | alemidev <me@alemi.dev> | 2023-01-29 17:08:50 +0100 |
commit | 54a20617f812cf46ac4e11fe583bd06879ef3f5d (patch) | |
tree | 3112cfff361526eb3f1d9ab67975c72ecf1ce2b3 /src/main | |
parent | 8b81f50b33be4613c87db0d29600bad31d02b301 (diff) |
chore: cleanup
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/co/fantabos/bscv/BoSCoVicino.java | 15 | ||||
-rw-r--r-- | src/main/java/co/fantabos/bscv/Command.java | 17 |
2 files changed, 0 insertions, 32 deletions
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<CommandSource> dispatcher = event.getDispatcher(); - } -} |