mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Port TCon to use the v2 loader infrastructure from Mantle
This commit is contained in:
1 parent
a3aa7c2380
commit
891086dca4
9 files changed
+88
-241
No files matched your search
@@ -3,22 +3,20 @@ package tconstruct.plugins.imc;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import mantle.module.ILoadableModule;
|
||||
import tconstruct.TConstruct;
|
||||
import tconstruct.plugins.ICompatPlugin;
|
||||
import cpw.mods.fml.common.event.FMLInterModComms;
|
||||
|
||||
public class AppEng implements ICompatPlugin
|
||||
public class AppEng implements ILoadableModule
|
||||
{
|
||||
|
||||
private static List<String> spatialIOLogics = Arrays.asList("AdaptiveSmelteryLogic", "AqueductLogic", "CastingBasinLogic", "CastingChannelLogic", "CastingTableLogic", "CraftingStationLogic",
|
||||
"DryingRackLogic", "EssenceExtractorLogic", "FaucetLogic", "FrypanLogic", "GolemPedestalLogic", "LavaTankLogic", "PartBuilderLogic", "PatternChestLogic", "SmelteryDrainLogic",
|
||||
"SmelteryLogic", "StencilTableLogic", "TankAirLogic", "TileEntityLandmine", "ToolForgeLogic", "ToolStationLogic", "TowerFurnaceLogic", "MultiServantLogic");
|
||||
|
||||
@Override
|
||||
public String getModId ()
|
||||
{
|
||||
return "AppliedEnergistics";
|
||||
}
|
||||
@SuppressWarnings("unused")
|
||||
public static String modId = "AppliedEnergistics";
|
||||
|
||||
@Override
|
||||
public void preInit ()
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package tconstruct.plugins.imc;
|
||||
|
||||
import mantle.module.ILoadableModule;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import tconstruct.TConstruct;
|
||||
@@ -7,14 +8,11 @@ import tconstruct.common.TRepo;
|
||||
import tconstruct.plugins.ICompatPlugin;
|
||||
import cpw.mods.fml.common.event.FMLInterModComms;
|
||||
|
||||
public class BuildcraftTransport implements ICompatPlugin
|
||||
public class BuildcraftTransport implements ILoadableModule
|
||||
{
|
||||
|
||||
@Override
|
||||
public String getModId ()
|
||||
{
|
||||
return "BuildCraft|Transport";
|
||||
}
|
||||
@SuppressWarnings("unused")
|
||||
public static String modId = "BuildCraft|Transport";
|
||||
|
||||
@Override
|
||||
public void preInit ()
|
||||
|
||||
@@ -1,21 +1,19 @@
|
||||
package tconstruct.plugins.imc;
|
||||
|
||||
import mantle.module.ILoadableModule;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import tconstruct.TConstruct;
|
||||
import tconstruct.plugins.ICompatPlugin;
|
||||
import cpw.mods.fml.common.event.FMLInterModComms;
|
||||
|
||||
public class Mystcraft implements ICompatPlugin
|
||||
public class Mystcraft implements ILoadableModule
|
||||
{
|
||||
|
||||
private static String[] fluids = new String[] { "invar.molten", "electrum.molten", "bronze.molten", "aluminumbrass.molten", "manyullyn.molten", "alumite.molten", "cobalt.molten", "moltenArdite",
|
||||
"ender", "steel.molten", "platinum.molten" };
|
||||
|
||||
@Override
|
||||
public String getModId ()
|
||||
{
|
||||
return "Mystcraft";
|
||||
}
|
||||
@SuppressWarnings("unused")
|
||||
public static String modId = "Mystcraft";
|
||||
|
||||
@Override
|
||||
public void preInit ()
|
||||
@@ -43,7 +41,7 @@ public class Mystcraft implements ICompatPlugin
|
||||
NBTMsg.setTag("fluidsymbol", new NBTTagCompound());
|
||||
NBTMsg.getCompoundTag("fluidsymbol").setFloat("rarity", 0.0F);
|
||||
NBTMsg.getCompoundTag("fluidsymbol").setFloat("grammarweight", 0.0F);
|
||||
NBTMsg.getCompoundTag("fluidsymbol").setFloat("instabilityPerBlock", 10000F);// renders creative symbol useless
|
||||
NBTMsg.getCompoundTag("fluidsymbol").setFloat("instabilityPerBlock", 10000F); // renders creative symbol useless
|
||||
NBTMsg.getCompoundTag("fluidsymbol").setString("fluidname", FluidName);
|
||||
FMLInterModComms.sendMessage("Mystcraft", "fluidsymbol", NBTMsg);
|
||||
}
|
||||
|
||||
@@ -1,19 +1,17 @@
|
||||
package tconstruct.plugins.imc;
|
||||
|
||||
import mantle.module.ILoadableModule;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import tconstruct.TConstruct;
|
||||
import tconstruct.common.TRepo;
|
||||
import tconstruct.plugins.ICompatPlugin;
|
||||
import cpw.mods.fml.common.event.FMLInterModComms;
|
||||
|
||||
public class Thaumcraft implements ICompatPlugin
|
||||
public class Thaumcraft implements ILoadableModule
|
||||
{
|
||||
|
||||
@Override
|
||||
public String getModId ()
|
||||
{
|
||||
return "Thaumcraft";
|
||||
}
|
||||
@SuppressWarnings("unused")
|
||||
public static String modId = "Thaumcraft";
|
||||
|
||||
@Override
|
||||
public void preInit ()
|
||||
|
||||
Reference in new issue
Block a user