mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
* Fix shift-merging tools voiding items fixes <https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/11392> * Change 0-sized ItemStacks into null stacks in crafting station attached slots Fixes <https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/10425> * Update buildscript * spotlessApply
51 lines
1.5 KiB
Java
51 lines
1.5 KiB
Java
package tconstruct.plugins.imc;
|
|
|
|
import static tconstruct.smeltery.TinkerSmeltery.*;
|
|
|
|
import cpw.mods.fml.common.event.*;
|
|
import mantle.pulsar.pulse.*;
|
|
import net.minecraftforge.fluids.Fluid;
|
|
import tconstruct.TConstruct;
|
|
|
|
@Pulse(
|
|
id = "Tinkers Mystcraft Compatibility",
|
|
forced = true,
|
|
modsRequired = "Mystcraft",
|
|
pulsesRequired = "Tinkers' Smeltery")
|
|
public class TinkerMystcraft {
|
|
@Handler
|
|
public void init(FMLInitializationEvent event) {
|
|
final Fluid[] fluids = new Fluid[] {
|
|
// precious tinker fluids
|
|
moltenGoldFluid,
|
|
moltenSteelFluid,
|
|
moltenEmeraldFluid,
|
|
moltenQuartzFluid,
|
|
moltenArditeFluid,
|
|
moltenCobaltFluid,
|
|
// all alloys
|
|
pigIronFluid,
|
|
moltenBronzeFluid,
|
|
moltenAlumiteFluid,
|
|
moltenAlubrassFluid,
|
|
moltenManyullynFluid,
|
|
// precious TE fluids
|
|
moltenEnderFluid,
|
|
moltenSilverFluid,
|
|
moltenInvarFluid,
|
|
moltenElectrumFluid,
|
|
moltenShinyFluid,
|
|
moltenSignalumFluid,
|
|
moltenLumiumFluid,
|
|
moltenMithrilFluid,
|
|
moltenEnderiumFluid
|
|
};
|
|
|
|
TConstruct.logger.info("Mystcraft detected. Blacklisting Mystcraft fluid symbols.");
|
|
for (Fluid fluid : fluids) {
|
|
if (fluid == null) continue;
|
|
FMLInterModComms.sendMessage("Mystcraft", "blacklistfluid", fluid.getName());
|
|
}
|
|
}
|
|
}
|