2021-06-16 21:57:52 +02:00
|
|
|
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
|
|
|
|
2021-06-16 21:57:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
private void doClientStuff(final FMLClientSetupEvent event) {
|
2021-06-16 22:03:40 +02:00
|
|
|
|
2021-06-16 21:57:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
private void enqueueIMC(final InterModEnqueueEvent event) {
|
2021-06-16 22:03:40 +02:00
|
|
|
|
2021-06-16 21:57:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
private void processIMC(final InterModProcessEvent event) {
|
2021-06-16 22:03:40 +02:00
|
|
|
|
2021-06-16 21:57:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@SubscribeEvent
|
|
|
|
public void onServerStarting(FMLServerStartingEvent event) {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|