2020-04-13 21:48:35 +02:00
|
|
|
package de.ellpeck.prettypipes;
|
|
|
|
|
2020-04-16 04:42:42 +02:00
|
|
|
import net.minecraftforge.api.distmarker.Dist;
|
2020-04-13 21:48:35 +02:00
|
|
|
import net.minecraftforge.eventbus.api.IEventBus;
|
2020-04-16 04:42:42 +02:00
|
|
|
import net.minecraftforge.fml.DistExecutor;
|
2020-04-13 21:48:35 +02:00
|
|
|
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);
|
2020-04-16 04:42:42 +02:00
|
|
|
DistExecutor.runWhenOn(Dist.CLIENT, () -> () -> bus.addListener(Registry.Client::setup));
|
2020-04-13 21:48:35 +02:00
|
|
|
}
|
|
|
|
}
|