use of pl.asie.charset.module.transport.carts.link.TrainLinker in project Charset by CharsetMC.
the class CharsetTransportCarts method preInit.
@Mod.EventHandler
public void preInit(FMLPreInitializationEvent event) {
CapabilityManager.INSTANCE.register(Linkable.class, Linkable.STORAGE, Linkable::new);
if (ModCharset.profile.includes(ModuleProfile.INDEV)) {
linker = new TrainLinker();
MinecraftForge.EVENT_BUS.register(linker);
itemLinker = new Item().setCreativeTab(ModCharset.CREATIVE_TAB).setUnlocalizedName("linker").setMaxStackSize(1);
}
combiner = new TrackCombiner();
}
Aggregations