mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-09 22:06:09 +01:00
25 lines
662 B
Java
25 lines
662 B
Java
package com.jozufozu.flywheel;
|
|
|
|
import com.jozufozu.flywheel.backend.Backend;
|
|
import com.jozufozu.flywheel.core.AtlasStitcher;
|
|
|
|
import com.jozufozu.flywheel.core.Contexts;
|
|
|
|
import com.jozufozu.flywheel.core.Materials;
|
|
|
|
import net.minecraftforge.eventbus.api.IEventBus;
|
|
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
|
|
|
|
public class Client {
|
|
|
|
public static void clientInit() {
|
|
|
|
Backend.init();
|
|
IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus();
|
|
|
|
modEventBus.addListener(AtlasStitcher.getInstance()::onTextureStitch);
|
|
|
|
modEventBus.addListener(Contexts::flwInit);
|
|
modEventBus.addListener(Materials::flwInit);
|
|
}
|
|
}
|