summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-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)