summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author alemidev <me@alemi.dev>2023-01-24 22:46:15 +0100
committer alemidev <me@alemi.dev>2023-01-24 22:46:15 +0100
commitb6f64fef258b728ef0b936d4f54d7d6efa52bc05 (patch)
tree2d80f8bb5e9e95a4f1b9a101df7ad6db81fe1fda
parent2e00a3ee4bd5740e47fe4ca5fd6d3bd9bc8af070 (diff)
chore: moved file, changed modid
-rw-r--r--src/main/java/co/fantabos/bscv/BoSCoVicino.java (renamed from src/main/java/com/example/examplemod/ExampleMod.java)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/example/examplemod/ExampleMod.java b/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)