PrettyPipes/src/main/java/de/ellpeck/prettypipes/PrettyPipes.java

18 lines
498 B
Java
Raw Normal View History

2020-04-13 21:48:35 +02:00
package de.ellpeck.prettypipes;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
@Mod(PrettyPipes.ID)
public final class PrettyPipes {
public static final String ID = "prettypipes";
public PrettyPipes() {
IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus();
bus.addListener(Registry::setup);
bus.addListener(Registry::setupClient);
}
}