Flywheel/src/main/java/com/jozufozu/flywheel/Flywheel.java

51 lines
1.6 KiB
Java
Raw Normal View History

package com.jozufozu.flywheel;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
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;
@Mod("flywheel")
public class Flywheel {
public static final String ID = "flywheel";
private static final Logger LOGGER = LogManager.getLogger();
public Flywheel() {
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup);
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::enqueueIMC);
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::processIMC);
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::doClientStuff);
MinecraftForge.EVENT_BUS.register(this);
}
private void setup(final FMLCommonSetupEvent event) {
2021-06-16 22:03:40 +02:00
}
private void doClientStuff(final FMLClientSetupEvent event) {
2021-06-16 22:03:40 +02:00
}
private void enqueueIMC(final InterModEnqueueEvent event) {
2021-06-16 22:03:40 +02:00
}
private void processIMC(final InterModProcessEvent event) {
2021-06-16 22:03:40 +02:00
}
@SubscribeEvent
public void onServerStarting(FMLServerStartingEvent event) {
}
}