mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Fix JABBA-related issues with crafting station slots (#54)
* 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
This commit is contained in:
1 parent
18bfeaff32
commit
39be06c23b
571 files changed
+25959
-28223
No files matched your search
@@ -1,49 +1,49 @@
|
||||
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;
|
||||
|
||||
import static tconstruct.smeltery.TinkerSmeltery.*;
|
||||
|
||||
@Pulse(id = "Tinkers Mystcraft Compatibility", forced = true, modsRequired = "Mystcraft", pulsesRequired = "Tinkers' Smeltery")
|
||||
public class TinkerMystcraft
|
||||
{
|
||||
@Pulse(
|
||||
id = "Tinkers Mystcraft Compatibility",
|
||||
forced = true,
|
||||
modsRequired = "Mystcraft",
|
||||
pulsesRequired = "Tinkers' Smeltery")
|
||||
public class TinkerMystcraft {
|
||||
@Handler
|
||||
public void init (FMLInitializationEvent event)
|
||||
{
|
||||
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
|
||||
// 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;
|
||||
for (Fluid fluid : fluids) {
|
||||
if (fluid == null) continue;
|
||||
FMLInterModComms.sendMessage("Mystcraft", "blacklistfluid", fluid.getName());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user