mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +00:00
69bb974420
* Use compileOnlyApi for CoFH * spotlessApply (#85) Co-authored-by: GitHub GTNH Actions <> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
28 lines
1.1 KiB
Java
28 lines
1.1 KiB
Java
package tconstruct.plugins.mfr;
|
|
|
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
|
import cpw.mods.fml.common.registry.GameRegistry.ObjectHolder;
|
|
import mantle.pulsar.pulse.*;
|
|
import tconstruct.TConstruct;
|
|
|
|
@ObjectHolder(TConstruct.modID)
|
|
@Pulse(
|
|
id = "Tinkers MFR Compatibility",
|
|
description = "Tinkers Construct compatibility for MineFactory Reloaded",
|
|
modsRequired = "MineFactoryReloaded",
|
|
forced = true)
|
|
public class TinkerMFR {
|
|
|
|
@Handler
|
|
public void init(FMLInitializationEvent event) {
|
|
TConstruct.logger.info(
|
|
"MineFactoryReloaded detected. Registering TConstruct farmables/grindables with MFR's Farming Registry.");
|
|
MFRRegister.registerWithMFR();
|
|
/*
|
|
* Perhaps TC ores should be registered as drops from the MFR Laser Drill here, but I don't know which things
|
|
* would be suitable for that. Syntax: FarmingRegistry.registerLaserOre(int weight, ItemStack droppedStack));
|
|
* Currently used weights are from about 50 (emerald) to 175 (coal).
|
|
*/
|
|
}
|
|
}
|