aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/common/helpers/CraftingHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/common/helpers/CraftingHelper.java')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/helpers/CraftingHelper.java39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/helpers/CraftingHelper.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/helpers/CraftingHelper.java
deleted file mode 100644
index 0d85d6299f..0000000000
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/helpers/CraftingHelper.java
+++ /dev/null
@@ -1,39 +0,0 @@
-package gtPlusPlus.xmod.gregtech.common.helpers;
-
-import net.minecraft.entity.player.EntityPlayerMP;
-import net.minecraft.world.World;
-
-import gtPlusPlus.api.objects.Logger;
-import gtPlusPlus.core.lib.CORE;
-import gtPlusPlus.xmod.gregtech.common.helpers.autocrafter.AC_Helper_Container;
-import gtPlusPlus.xmod.gregtech.common.helpers.autocrafter.AC_Helper_Utils;
-import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production.GT4Entity_AutoCrafter;
-
-public class CraftingHelper {
-
- public final String mInventoryName;
- public final int mPosX;
- public final int mPosY;
- public final int mPosZ;
- public final GT4Entity_AutoCrafter crafter;
- public final World world;
- public final EntityPlayerMP player;
- public final AC_Helper_Container inventory;
-
- public CraftingHelper(GT4Entity_AutoCrafter AC) {
- Logger.INFO("[A-C] Created a crafting helper.");
- crafter = AC;
- AC_Helper_Utils.addCrafter(AC);
- // Get some variables.
- world = AC.getBaseMetaTileEntity().getWorld();
- mPosX = AC.getBaseMetaTileEntity().getXCoord();
- mPosY = AC.getBaseMetaTileEntity().getYCoord();
- mPosZ = AC.getBaseMetaTileEntity().getZCoord();
- // Create Fake player to handle crating.
-
- player = CORE.getFakePlayer(world);
- // Set storage container
- inventory = new AC_Helper_Container(player.inventory, world, mPosX, mPosY, mPosZ);
- mInventoryName = inventory.getMatrix().getInventoryName();
- }
-}