The return of achievements

- Re-added achievements
- Organised all imports (seemed all over the place)
- Formatted all code (seemed very combined, used the TinkerStyle)
This commit is contained in:
Arthur Uzulin committed 2014-09-09 18:30:15 +10:00
1 parent ae2d8d6e4d
commit 80efde613a
419 files changed
+2406 -4144

No files matched your search

@@ -1,28 +1,21 @@
package tconstruct.plugins.imc;
import java.util.Arrays;
import java.util.List;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.*;
import cpw.mods.fml.common.registry.GameRegistry.ObjectHolder;
import mantle.pulsar.pulse.Handler;
import mantle.pulsar.pulse.Pulse;
import java.util.*;
import mantle.pulsar.pulse.*;
import tconstruct.TConstruct;
import cpw.mods.fml.common.event.FMLInterModComms;
@ObjectHolder(TConstruct.modID)
@Pulse(id = "Tinkers AE2 Compatibility", description = "Tinkers Construct compatibility for Applied Energistics 2", modsRequired = "appliedenergistics2")
public class TinkerAE2
{
private static List<String> spatialIOLogics = Arrays.asList(
"EssenceExtractorLogic", "GolemPedestalLogic", //TODO What happened to these?
private static List<String> spatialIOLogics = Arrays.asList("EssenceExtractorLogic", "GolemPedestalLogic", //TODO What happened to these?
"MultiServantLogic"); //TODO Should Mantle handle this?
private static List<String> spatialIOSmelteryLogics = Arrays.asList("AdaptiveSmelteryLogic", "AqueductLogic", "CastingBasinLogic", "CastingChannelLogic",
"CastingTableLogic", "FaucetLogic", "LavaTankLogic", "SmelteryDrainLogic", "SmelteryLogic", "TankAirLogic", "TowerFurnaceLogic");
private static List<String> spatialIOSmelteryLogics = Arrays.asList("AdaptiveSmelteryLogic", "AqueductLogic", "CastingBasinLogic", "CastingChannelLogic", "CastingTableLogic", "FaucetLogic", "LavaTankLogic", "SmelteryDrainLogic", "SmelteryLogic", "TankAirLogic", "TowerFurnaceLogic");
private static List<String> spatialIOToolLogics = Arrays.asList("CraftingStationLogic", "FrypanLogic", "PartBuilderLogic", "PatternChestLogic",
"StencilTableLogic", "ToolForgeLogic", "ToolStationLogic");
private static List<String> spatialIOToolLogics = Arrays.asList("CraftingStationLogic", "FrypanLogic", "PartBuilderLogic", "PatternChestLogic", "StencilTableLogic", "ToolForgeLogic", "ToolStationLogic");
@Handler
public void init (FMLInitializationEvent event)
@@ -32,18 +25,18 @@ public class TinkerAE2
addtoSpatialWhitelist("tconstruct.blocks.logic.DryingRackLogic");
addtoSpatialWhitelist("tconstruct.mechworks.logic.TileEntityLandmine");
for(String s : spatialIOSmelteryLogics)
for (String s : spatialIOSmelteryLogics)
{
addtoSpatialWhitelist("tconstruct.smeltery.logic." + s);
}
for(String s : spatialIOToolLogics)
for (String s : spatialIOToolLogics)
{
addtoSpatialWhitelist("tconstruct.tools.logic." + s);
}
}
public void addtoSpatialWhitelist(String teClass)
public void addtoSpatialWhitelist (String teClass)
{
FMLInterModComms.sendMessage("appliedenergistics2", "whitelist-spatial", teClass);
}