2021-06-19 07:52:33 +02:00
|
|
|
package com.jozufozu.flywheel;
|
|
|
|
|
|
|
|
import com.jozufozu.flywheel.backend.Backend;
|
|
|
|
import com.jozufozu.flywheel.core.AtlasStitcher;
|
2021-06-23 22:19:03 +02:00
|
|
|
import com.jozufozu.flywheel.core.Contexts;
|
|
|
|
import com.jozufozu.flywheel.core.Materials;
|
|
|
|
|
|
|
|
import net.minecraftforge.eventbus.api.IEventBus;
|
2021-06-19 07:52:33 +02:00
|
|
|
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
|
|
|
|
|
2021-06-30 21:43:54 +02:00
|
|
|
public class FlywheelClient {
|
2021-06-19 07:52:33 +02:00
|
|
|
|
|
|
|
public static void clientInit() {
|
|
|
|
|
|
|
|
Backend.init();
|
2021-06-30 21:43:54 +02:00
|
|
|
IEventBus modEventBus = FMLJavaModLoadingContext.get()
|
|
|
|
.getModEventBus();
|
2021-06-23 22:19:03 +02:00
|
|
|
|
|
|
|
modEventBus.addListener(AtlasStitcher.getInstance()::onTextureStitch);
|
|
|
|
|
|
|
|
modEventBus.addListener(Contexts::flwInit);
|
|
|
|
modEventBus.addListener(Materials::flwInit);
|
2021-06-19 07:52:33 +02:00
|
|
|
}
|
|
|
|
}
|