From b6f64fef258b728ef0b936d4f54d7d6efa52bc05 Mon Sep 17 00:00:00 2001 From: alemidev Date: Tue, 24 Jan 2023 22:46:15 +0100 Subject: [PATCH] chore: moved file, changed modid --- .../ExampleMod.java => co/fantabos/bscv/BoSCoVicino.java} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename src/main/java/{com/example/examplemod/ExampleMod.java => co/fantabos/bscv/BoSCoVicino.java} (94%) diff --git a/src/main/java/com/example/examplemod/ExampleMod.java b/src/main/java/co/fantabos/bscv/BoSCoVicino.java similarity index 94% rename from src/main/java/com/example/examplemod/ExampleMod.java rename to src/main/java/co/fantabos/bscv/BoSCoVicino.java index 6b5179d..e3555a5 100644 --- a/src/main/java/com/example/examplemod/ExampleMod.java +++ b/src/main/java/co/fantabos/bscv/BoSCoVicino.java @@ -19,13 +19,13 @@ import org.apache.logging.log4j.Logger; import java.util.stream.Collectors; // The value here should match an entry in the META-INF/mods.toml file -@Mod("examplemod") -public class ExampleMod +@Mod("bscv") +public class BoSCoVicino { // Directly reference a log4j logger. private static final Logger LOGGER = LogManager.getLogger(); - public ExampleMod() { + public BoSCoVicino() { // Register the setup method for modloading FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup); // Register the enqueueIMC method for modloading @@ -54,7 +54,7 @@ public class ExampleMod private void enqueueIMC(final InterModEnqueueEvent event) { // some example code to dispatch IMC to another mod - InterModComms.sendTo("examplemod", "helloworld", () -> { LOGGER.info("Hello world from the MDK"); return "Hello world";}); + InterModComms.sendTo("bscv", "helloworld", () -> { LOGGER.info("Hello world from the MDK"); return "Hello world";}); } private void processIMC(final InterModProcessEvent event)