chore: moved file, changed modid
This commit is contained in:
parent
2e00a3ee4b
commit
b6f64fef25
1 changed files with 4 additions and 4 deletions
|
@ -19,13 +19,13 @@ import org.apache.logging.log4j.Logger;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
// The value here should match an entry in the META-INF/mods.toml file
|
// The value here should match an entry in the META-INF/mods.toml file
|
||||||
@Mod("examplemod")
|
@Mod("bscv")
|
||||||
public class ExampleMod
|
public class BoSCoVicino
|
||||||
{
|
{
|
||||||
// Directly reference a log4j logger.
|
// Directly reference a log4j logger.
|
||||||
private static final Logger LOGGER = LogManager.getLogger();
|
private static final Logger LOGGER = LogManager.getLogger();
|
||||||
|
|
||||||
public ExampleMod() {
|
public BoSCoVicino() {
|
||||||
// Register the setup method for modloading
|
// Register the setup method for modloading
|
||||||
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup);
|
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup);
|
||||||
// Register the enqueueIMC method for modloading
|
// Register the enqueueIMC method for modloading
|
||||||
|
@ -54,7 +54,7 @@ public class ExampleMod
|
||||||
private void enqueueIMC(final InterModEnqueueEvent event)
|
private void enqueueIMC(final InterModEnqueueEvent event)
|
||||||
{
|
{
|
||||||
// some example code to dispatch IMC to another mod
|
// 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)
|
private void processIMC(final InterModProcessEvent event)
|
Loading…
Reference in a new issue