diff options
| author | Blood Asp <Blood@Asp> | 2015-04-23 18:14:22 +0200 |
|---|---|---|
| committer | Blood Asp <Blood@Asp> | 2015-04-23 18:14:22 +0200 |
| commit | 7224ac4299098c70efae9dbd04c50a97e3f5f583 (patch) | |
| tree | c739bb7d176a9735bc8e598063918023de32330c /main/java/gregtech/common/tileentities/machines | |
| download | GT5-Unofficial-7224ac4299098c70efae9dbd04c50a97e3f5f583.tar.gz GT5-Unofficial-7224ac4299098c70efae9dbd04c50a97e3f5f583.tar.bz2 GT5-Unofficial-7224ac4299098c70efae9dbd04c50a97e3f5f583.zip | |
Initial Commit
Diffstat (limited to 'main/java/gregtech/common/tileentities/machines')
40 files changed, 5251 insertions, 0 deletions
diff --git a/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_BasicHull_Bronze.java b/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_BasicHull_Bronze.java new file mode 100644 index 0000000000..567fa05557 --- /dev/null +++ b/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_BasicHull_Bronze.java @@ -0,0 +1,47 @@ +/* 1: */ package gregtech.common.tileentities.machines;
+/* 2: */
+/* 3: */ import gregtech.api.enums.Dyes;
+import gregtech.api.enums.Textures;
+/* 4: */ import gregtech.api.enums.Textures.BlockIcons;
+/* 5: */ import gregtech.api.interfaces.ITexture;
+/* 6: */ import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
+/* 7: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+/* 8: */ import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicHull_NonElectric;
+/* 9: */ import gregtech.api.objects.GT_RenderedTexture;
+/* 10: */
+/* 11: */ public class GT_MetaTileEntity_BasicHull_Bronze
+/* 12: */ extends GT_MetaTileEntity_BasicHull_NonElectric
+/* 13: */ {
+/* 14: */ public GT_MetaTileEntity_BasicHull_Bronze(int aID, String aName, String aNameRegional, int aTier, String aDescription)
+/* 15: */ {
+/* 16:13 */ super(aID, aName, aNameRegional, aTier, aDescription);
+/* 17: */ }
+/* 18: */
+/* 19: */ public GT_MetaTileEntity_BasicHull_Bronze(String aName, int aTier, String aDescription, ITexture[][][] aTextures)
+/* 20: */ {
+/* 21:17 */ super(aName, aTier, aDescription, aTextures);
+/* 22: */ }
+/* 23: */
+/* 24: */ public IMetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity)
+/* 25: */ {
+/* 26:22 */ return new GT_MetaTileEntity_BasicHull_Bronze(this.mName, this.mTier, this.mDescription, this.mTextures);
+/* 27: */ }
+/* 28: */
+/* 29: */ public ITexture[][][] getTextureSet(ITexture[] aTextures)
+/* 30: */ {
+/* 31:27 */ ITexture[][][] rTextures = new ITexture[3][17][];
+/* 32:28 */ for (byte i = -1; i < 16; i = (byte)(i + 1))
+/* 33: */ {
+/* 34:29 */ rTextures[0][(i + 1)] = new ITexture[] { new GT_RenderedTexture(Textures.BlockIcons.MACHINE_BRONZE_BOTTOM, Dyes.getModulation(i, Dyes._NULL.mRGBa)) };
+/* 35:30 */ rTextures[1][(i + 1)] = new ITexture[] { new GT_RenderedTexture(Textures.BlockIcons.MACHINE_BRONZE_TOP, Dyes.getModulation(i, Dyes._NULL.mRGBa)) };
+/* 36:31 */ rTextures[2][(i + 1)] = new ITexture[] { new GT_RenderedTexture(Textures.BlockIcons.MACHINE_BRONZE_SIDE, Dyes.getModulation(i, Dyes._NULL.mRGBa)) };
+/* 37: */ }
+/* 38:33 */ return rTextures;
+/* 39: */ }
+/* 40: */ }
+
+
+/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
+ * Qualified Name: gregtech.common.tileentities.machines.GT_MetaTileEntity_BasicHull_Bronze
+ * JD-Core Version: 0.7.0.1
+ */
\ No newline at end of file diff --git a/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_BasicHull_BronzeBricks.java b/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_BasicHull_BronzeBricks.java new file mode 100644 index 0000000000..cbad52bfc1 --- /dev/null +++ b/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_BasicHull_BronzeBricks.java @@ -0,0 +1,48 @@ +/* 1: */ package gregtech.common.tileentities.machines;
+/* 2: */
+/* 3: */ import gregtech.api.enums.*;
+/* 4: */ import gregtech.api.enums.Textures.BlockIcons;
+/* 5: */ import gregtech.api.interfaces.ITexture;
+/* 6: */ import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
+/* 7: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+/* 8: */ import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicHull_NonElectric;
+/* 9: */ import gregtech.api.objects.GT_RenderedTexture;
+/* 10: */
+/* 11: */ public class GT_MetaTileEntity_BasicHull_BronzeBricks
+/* 12: */ extends GT_MetaTileEntity_BasicHull_NonElectric
+/* 13: */ {
+/* 14: */ public GT_MetaTileEntity_BasicHull_BronzeBricks(int aID, String aName, String aNameRegional, int aTier, String aDescription)
+/* 15: */ {
+/* 16:13 */ super(aID, aName, aNameRegional, aTier, aDescription);
+/* 17: */ }
+/* 18: */
+/* 19: */ public GT_MetaTileEntity_BasicHull_BronzeBricks(String aName, int aTier, String aDescription, ITexture[][][] aTextures)
+/* 20: */ {
+/* 21:17 */ super(aName, aTier, aDescription, aTextures);
+/* 22: */ }
+/* 23: */
+/* 24: */ public IMetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity)
+/* 25: */ {
+/* 26:22 */ return new GT_MetaTileEntity_BasicHull_BronzeBricks(this.mName, this.mTier, this.mDescription, this.mTextures);
+/* 27: */ }
+/* 28: */
+/* 29: */ public ITexture[][][] getTextureSet(ITexture[] aTextures)
+/* 30: */ {
+/* 31:27 */ ITexture[][][] rTextures = new ITexture[3][17][];
+/* 32:28 */ for (byte i = -1; i < 16; i = (byte)(i + 1))
+/* 33: */ {ITexture[] tmp0 ={ new GT_RenderedTexture(Textures.BlockIcons.MACHINE_BRONZEBRICKS_BOTTOM, Dyes.getModulation(i, Dyes._NULL.mRGBa)) };
+/* 34:29 */ rTextures[0][(i + 1)] = tmp0;
+/* 35:30 */ ITexture[] tmp1 = { new GT_RenderedTexture(Textures.BlockIcons.MACHINE_BRONZEBRICKS_TOP, Dyes.getModulation(i, Dyes._NULL.mRGBa)) };
+rTextures[1][(i + 1)] =tmp1;
+/* 36:31 */ ITexture[] tmp2 ={ new GT_RenderedTexture(Textures.BlockIcons.MACHINE_BRONZEBRICKS_SIDE, Dyes.getModulation(i, Dyes._NULL.mRGBa)) };
+rTextures[2][(i + 1)] = tmp2;
+/* 37: */ }
+/* 38:33 */ return rTextures;
+/* 39: */ }
+/* 40: */ }
+
+
+/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
+ * Qualified Name: gregtech.common.tileentities.machines.GT_MetaTileEntity_BasicHull_BronzeBricks
+ * JD-Core Version: 0.7.0.1
+ */
\ No newline at end of file diff --git a/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_BasicHull_Steel.java b/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_BasicHull_Steel.java new file mode 100644 index 0000000000..b7eb59ff4c --- /dev/null +++ b/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_BasicHull_Steel.java @@ -0,0 +1,49 @@ +/* 1: */ package gregtech.common.tileentities.machines;
+/* 2: */
+/* 3: */ import gregtech.api.enums.Dyes;
+import gregtech.api.enums.Textures;
+/* 4: */ import gregtech.api.enums.Textures.BlockIcons;
+/* 5: */ import gregtech.api.interfaces.ITexture;
+/* 6: */ import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
+/* 7: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+/* 8: */ import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicHull_NonElectric;
+/* 9: */ import gregtech.api.objects.GT_RenderedTexture;
+/* 10: */
+/* 11: */ public class GT_MetaTileEntity_BasicHull_Steel
+/* 12: */ extends GT_MetaTileEntity_BasicHull_NonElectric
+/* 13: */ {
+/* 14: */ public GT_MetaTileEntity_BasicHull_Steel(int aID, String aName, String aNameRegional, int aTier, String aDescription)
+/* 15: */ {
+/* 16:13 */ super(aID, aName, aNameRegional, aTier, aDescription);
+/* 17: */ }
+/* 18: */
+/* 19: */ public GT_MetaTileEntity_BasicHull_Steel(String aName, int aTier, String aDescription, ITexture[][][] aTextures)
+/* 20: */ {
+/* 21:17 */ super(aName, aTier, aDescription, aTextures);
+/* 22: */ }
+/* 23: */
+/* 24: */ public IMetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity)
+/* 25: */ {
+/* 26:22 */ return new GT_MetaTileEntity_BasicHull_Steel(this.mName, this.mTier, this.mDescription, this.mTextures);
+/* 27: */ }
+/* 28: */
+/* 29: */ public ITexture[][][] getTextureSet(ITexture[] aTextures)
+/* 30: */ {
+/* 31:27 */ ITexture[][][] rTextures = new ITexture[3][17][];
+/* 32:28 */ for (byte i = -1; i < 16; i = (byte)(i + 1))
+/* 33: */ {ITexture[] tmp0 ={ new GT_RenderedTexture(Textures.BlockIcons.MACHINE_STEEL_BOTTOM, Dyes.getModulation(i, Dyes._NULL.mRGBa)) };
+/* 34:29 */ rTextures[0][(i + 1)] = tmp0;
+/* 35:30 */ ITexture[] tmp1 ={ new GT_RenderedTexture(Textures.BlockIcons.MACHINE_STEEL_TOP, Dyes.getModulation(i, Dyes._NULL.mRGBa)) };
+rTextures[1][(i + 1)] = tmp1;
+/* 36:31 */ ITexture[] tmp2 = { new GT_RenderedTexture(Textures.BlockIcons.MACHINE_STEEL_SIDE, Dyes.getModulation(i, Dyes._NULL.mRGBa)) };
+rTextures[2][(i + 1)] =tmp2;
+/* 37: */ }
+/* 38:33 */ return rTextures;
+/* 39: */ }
+/* 40: */ }
+
+
+/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
+ * Qualified Name: gregtech.common.tileentities.machines.GT_MetaTileEntity_BasicHull_Steel
+ * JD-Core Version: 0.7.0.1
+ */
\ No newline at end of file diff --git a/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_BasicHull_SteelBricks.java b/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_BasicHull_SteelBricks.java new file mode 100644 index 0000000000..592d167da7 --- /dev/null +++ b/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_BasicHull_SteelBricks.java @@ -0,0 +1,49 @@ +/* 1: */ package gregtech.common.tileentities.machines;
+/* 2: */
+/* 3: */ import gregtech.api.enums.Dyes;
+import gregtech.api.enums.Textures;
+/* 4: */ import gregtech.api.enums.Textures.BlockIcons;
+/* 5: */ import gregtech.api.interfaces.ITexture;
+/* 6: */ import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
+/* 7: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+/* 8: */ import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicHull_NonElectric;
+/* 9: */ import gregtech.api.objects.GT_RenderedTexture;
+/* 10: */
+/* 11: */ public class GT_MetaTileEntity_BasicHull_SteelBricks
+/* 12: */ extends GT_MetaTileEntity_BasicHull_NonElectric
+/* 13: */ {
+/* 14: */ public GT_MetaTileEntity_BasicHull_SteelBricks(int aID, String aName, String aNameRegional, int aTier, String aDescription)
+/* 15: */ {
+/* 16:13 */ super(aID, aName, aNameRegional, aTier, aDescription);
+/* 17: */ }
+/* 18: */
+/* 19: */ public GT_MetaTileEntity_BasicHull_SteelBricks(String aName, int aTier, String aDescription, ITexture[][][] aTextures)
+/* 20: */ {
+/* 21:17 */ super(aName, aTier, aDescription, aTextures);
+/* 22: */ }
+/* 23: */
+/* 24: */ public IMetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity)
+/* 25: */ {
+/* 26:22 */ return new GT_MetaTileEntity_BasicHull_SteelBricks(this.mName, this.mTier, this.mDescription, this.mTextures);
+/* 27: */ }
+/* 28: */
+/* 29: */ public ITexture[][][] getTextureSet(ITexture[] aTextures)
+/* 30: */ {
+/* 31:27 */ ITexture[][][] rTextures = new ITexture[3][17][];
+/* 32:28 */ for (byte i = -1; i < 16; i = (byte)(i + 1))
+/* 33: */ {ITexture[] tmp0 ={ new GT_RenderedTexture(Textures.BlockIcons.MACHINE_STEELBRICKS_BOTTOM, Dyes.getModulation(i, Dyes._NULL.mRGBa)) };
+/* 34:29 */ rTextures[0][(i + 1)] = tmp0;
+/* 35:30 */ ITexture[] tmp1 ={ new GT_RenderedTexture(Textures.BlockIcons.MACHINE_STEELBRICKS_TOP, Dyes.getModulation(i, Dyes._NULL.mRGBa)) };
+rTextures[1][(i + 1)] = tmp1;
+/* 36:31 */ ITexture[] tmp2 ={ new GT_RenderedTexture(Textures.BlockIcons.MACHINE_STEELBRICKS_SIDE, Dyes.getModulation(i, Dyes._NULL.mRGBa)) };
+rTextures[2][(i + 1)] = tmp2;
+/* 37: */ }
+/* 38:33 */ return rTextures;
+/* 39: */ }
+/* 40: */ }
+
+
+/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
+ * Qualified Name: gregtech.common.tileentities.machines.GT_MetaTileEntity_BasicHull_SteelBricks
+ * JD-Core Version: 0.7.0.1
+ */
\ No newline at end of file diff --git a/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Boxinator.java b/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Boxinator.java new file mode 100644 index 0000000000..8d05b6e5a2 --- /dev/null +++ b/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Boxinator.java @@ -0,0 +1,109 @@ +/* 1: */ package gregtech.common.tileentities.machines.basic;
+/* 2: */
+/* 3: */ import gregtech.api.enums.ItemList;
+import gregtech.api.enums.Textures;
+/* 4: */ import gregtech.api.enums.Textures.BlockIcons;
+/* 5: */ import gregtech.api.interfaces.ITexture;
+/* 6: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+/* 7: */ import gregtech.api.metatileentity.MetaTileEntity;
+/* 8: */ import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine;
+/* 9: */ import gregtech.api.objects.GT_RenderedTexture;
+/* 10: */ import gregtech.api.util.GT_ModHandler;
+import gregtech.api.util.GT_Recipe;
+/* 11: */ import gregtech.api.util.GT_Recipe.GT_Recipe_Map;
+/* 12: */ import gregtech.api.util.GT_Utility;
+/* 13: */ import net.minecraft.item.ItemStack;
+/* 14: */
+/* 15: */ public class GT_MetaTileEntity_Boxinator
+/* 16: */ extends GT_MetaTileEntity_BasicMachine
+/* 17: */ {
+/* 18: */ public GT_MetaTileEntity_Boxinator(int aID, String aName, String aNameRegional, int aTier)
+/* 19: */ {
+/* 20:18 */ super(aID, aName, aNameRegional, aTier, 1, "Puts things into Boxes", 2, 1, "Packager.png", "", new ITexture[] { new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_SIDE_BOXINATOR_ACTIVE), new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_SIDE_BOXINATOR), new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_FRONT_BOXINATOR_ACTIVE), new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_FRONT_BOXINATOR), new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_TOP_BOXINATOR_ACTIVE), new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_TOP_BOXINATOR), new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_BOTTOM_BOXINATOR_ACTIVE), new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_BOTTOM_BOXINATOR) });
+/* 21: */ }
+/* 22: */
+/* 23: */ public GT_MetaTileEntity_Boxinator(String aName, int aTier, String aDescription, ITexture[][][] aTextures, String aGUIName, String aNEIName)
+/* 24: */ {
+/* 25:22 */ super(aName, aTier, 1, aDescription, aTextures, 2, 1, aGUIName, aNEIName);
+/* 26: */ }
+/* 27: */
+/* 28: */ public MetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity)
+/* 29: */ {
+/* 30:27 */ return new GT_MetaTileEntity_Boxinator(this.mName, this.mTier, this.mDescription, this.mTextures, this.mGUIName, this.mNEIName);
+/* 31: */ }
+/* 32: */
+/* 33: */ public GT_Recipe.GT_Recipe_Map getRecipeList()
+/* 34: */ {
+/* 35:32 */ return GT_Recipe.GT_Recipe_Map.sBoxinatorRecipes;
+/* 36: */ }
+/* 37: */
+/* 38: */ public int checkRecipe()
+/* 39: */ {
+/* 40:37 */ int tCheck = super.checkRecipe();
+/* 41:38 */ if (tCheck != 0) {
+/* 42:38 */ return tCheck;
+/* 43: */ }
+/* 44:39 */ if ((GT_Utility.isStackValid(getInputAt(0))) && (GT_Utility.isStackValid(getInputAt(1))) && (GT_Utility.getContainerItem(getInputAt(0), true) == null))
+/* 45: */ {
+/* 46:40 */ if ((ItemList.Schematic_1by1.isStackEqual(getInputAt(1))) && (getInputAt(0).stackSize >= 1))
+/* 47: */ {
+/* 48:41 */ this.mOutputItems[0] = GT_ModHandler.getRecipeOutput(new ItemStack[] { getInputAt(0) });
+/* 49:42 */ if (this.mOutputItems[0] != null) {
+/* 50:42 */ if (canOutput(new ItemStack[] { this.mOutputItems[0] }))
+/* 51: */ {
+/* 52:43 */ getInputAt(0).stackSize -= 1;
+/* 53:44 */ this.mEUt = (32 * (1 << this.mTier - 1) * (1 << this.mTier - 1));
+/* 54:45 */ this.mMaxProgresstime = (16 / (1 << this.mTier - 1));
+/* 55:46 */ return 2;
+/* 56: */ }
+/* 57: */ }
+/* 58:48 */ return 0;
+/* 59: */ }
+/* 60:50 */ if ((ItemList.Schematic_2by2.isStackEqual(getInputAt(1))) && (getInputAt(0).stackSize >= 4))
+/* 61: */ {
+/* 62:51 */ this.mOutputItems[0] = GT_ModHandler.getRecipeOutput(new ItemStack[] { getInputAt(0), getInputAt(0), null, getInputAt(0), getInputAt(0) });
+/* 63:52 */ if (this.mOutputItems[0] != null) {
+/* 64:52 */ if (canOutput(new ItemStack[] { this.mOutputItems[0] }))
+/* 65: */ {
+/* 66:53 */ getInputAt(0).stackSize -= 4;
+/* 67:54 */ this.mEUt = (32 * (1 << this.mTier - 1) * (1 << this.mTier - 1));
+/* 68:55 */ this.mMaxProgresstime = (32 / (1 << this.mTier - 1));
+/* 69:56 */ return 2;
+/* 70: */ }
+/* 71: */ }
+/* 72:58 */ return 0;
+/* 73: */ }
+/* 74:60 */ if ((ItemList.Schematic_3by3.isStackEqual(getInputAt(1))) && (getInputAt(0).stackSize >= 9))
+/* 75: */ {
+/* 76:61 */ this.mOutputItems[0] = GT_ModHandler.getRecipeOutput(new ItemStack[] { getInputAt(0), getInputAt(0), getInputAt(0), getInputAt(0), getInputAt(0), getInputAt(0), getInputAt(0), getInputAt(0), getInputAt(0) });
+/* 77:62 */ if (this.mOutputItems[0] != null) {
+/* 78:62 */ if (canOutput(new ItemStack[] { this.mOutputItems[0] }))
+/* 79: */ {
+/* 80:63 */ getInputAt(0).stackSize -= 9;
+/* 81:64 */ this.mEUt = (32 * (1 << this.mTier - 1) * (1 << this.mTier - 1));
+/* 82:65 */ this.mMaxProgresstime = (64 / (1 << this.mTier - 1));
+/* 83:66 */ return 2;
+/* 84: */ }
+/* 85: */ }
+/* 86:68 */ return 0;
+/* 87: */ }
+/* 88: */ }
+/* 89:71 */ return 0;
+/* 90: */ }
+/* 91: */
+/* 92: */ public boolean allowPutStack(IGregTechTileEntity aBaseMetaTileEntity, int aIndex, byte aSide, ItemStack aStack)
+/* 93: */ {
+/* 94:76 */ if (super.allowPutStack(aBaseMetaTileEntity, aIndex, aSide, aStack))
+/* 95: */ {
+/* 96:76 */ if (((getInputSlot() == aIndex) || (!ItemList.Crate_Empty.isStackEqual(aStack))) && (!ItemList.Schematic_1by1.isStackEqual(getInputAt(1))) && (!ItemList.Schematic_2by2.isStackEqual(getInputAt(1))) && (!ItemList.Schematic_3by3.isStackEqual(getInputAt(1)))) {}
+/* 97:76 */ return GT_Recipe.GT_Recipe_Map.sBoxinatorRecipes.findRecipe(getBaseMetaTileEntity(), true, gregtech.api.enums.GT_Values.V[this.mTier], null, new ItemStack[] { GT_Utility.copyAmount(64L, new Object[] { aStack }), getInputAt(1) }) != null;
+/* 98: */ }
+/* 99:77 */ return false;
+/* :0: */ }
+/* :1: */ }
+
+
+/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
+ * Qualified Name: gregtech.common.tileentities.machines.basic.GT_MetaTileEntity_Boxinator
+ * JD-Core Version: 0.7.0.1
+ */
\ No newline at end of file diff --git a/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Disassembler.java b/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Disassembler.java new file mode 100644 index 0000000000..4a123f4639 --- /dev/null +++ b/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Disassembler.java @@ -0,0 +1,71 @@ +/* 1: */ package gregtech.common.tileentities.machines.basic;
+/* 2: */
+/* 3: */ import gregtech.api.enums.Textures;
+import gregtech.api.enums.Textures.BlockIcons;
+/* 4: */ import gregtech.api.interfaces.ITexture;
+/* 5: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+/* 6: */ import gregtech.api.metatileentity.MetaTileEntity;
+/* 7: */ import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine;
+/* 8: */ import gregtech.api.objects.GT_RenderedTexture;
+/* 9: */ import gregtech.api.util.GT_Utility;
+/* 10: */ import net.minecraft.item.ItemStack;
+/* 11: */ import net.minecraft.nbt.NBTTagCompound;
+/* 12: */
+/* 13: */ public class GT_MetaTileEntity_Disassembler
+/* 14: */ extends GT_MetaTileEntity_BasicMachine
+/* 15: */ {
+/* 16: */ public GT_MetaTileEntity_Disassembler(int aID, String aName, String aNameRegional, int aTier)
+/* 17: */ {
+/* 18:15 */ super(aID, aName, aNameRegional, aTier, 1, "Disassembles Machines at " + (50 + 10 * aTier) + "% Efficiency", 1, 9, "Disassembler.png", "", new ITexture[] { new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_SIDE_DISASSEMBLER_ACTIVE), new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_SIDE_DISASSEMBLER), new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_FRONT_DISASSEMBLER_ACTIVE), new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_FRONT_DISASSEMBLER), new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_TOP_DISASSEMBLER_ACTIVE), new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_TOP_DISASSEMBLER), new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_BOTTOM_DISASSEMBLER_ACTIVE), new GT_RenderedTexture(Textures.BlockIcons.OVERLAY_BOTTOM_DISASSEMBLER) });
+/* 19: */ }
+/* 20: */
+/* 21: */ public GT_MetaTileEntity_Disassembler(String aName, int aTier, String aDescription, ITexture[][][] aTextures, String aGUIName, String aNEIName)
+/* 22: */ {
+/* 23:19 */ super(aName, aTier, 1, aDescription, aTextures, 1, 9, aGUIName, aNEIName);
+/* 24: */ }
+/* 25: */
+/* 26: */ public MetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity)
+/* 27: */ {
+/* 28:24 */ return new GT_MetaTileEntity_Disassembler(this.mName, this.mTier, this.mDescription, this.mTextures, this.mGUIName, this.mNEIName);
+/* 29: */ }
+/* 30: */
+/* 31: */ public int checkRecipe()
+/* 32: */ {
+/* 33:29 */ if ((getInputAt(0) != null) && (isOutputEmpty()))
+/* 34: */ {
+/* 35:30 */ NBTTagCompound tNBT = getInputAt(0).getTagCompound();
+/* 36:31 */ if (tNBT != null)
+/* 37: */ {
+/* 38:32 */ tNBT = tNBT.getCompoundTag("GT.CraftingComponents");
+/* 39:33 */ if (tNBT != null)
+/* 40: */ {
+/* 41:34 */ getInputAt(0).stackSize -= 1;
+/* 42:35 */ this.mEUt = (16 * (1 << this.mTier - 1) * (1 << this.mTier - 1));
+/* 43:36 */ this.mMaxProgresstime = 160;
+/* 44:37 */ for (int i = 0; i < this.mOutputItems.length; i++) {
+/* 45:37 */ if (getBaseMetaTileEntity().getRandomNumber(100) < 50 + 10 * this.mTier)
+/* 46: */ {
+/* 47:38 */ this.mOutputItems[i] = GT_Utility.loadItem(tNBT, "Ingredient." + i);
+/* 48:39 */ if (this.mOutputItems[i] != null) {
+/* 49:39 */ this.mMaxProgresstime *= 2;
+/* 50: */ }
+/* 51: */ }
+/* 52: */ }
+/* 53:41 */ return 2;
+/* 54: */ }
+/* 55: */ }
+/* 56: */ }
+/* 57:45 */ return 0;
+/* 58: */ }
+/* 59: */
+/* 60: */ public boolean allowPutStack(IGregTechTileEntity aBaseMetaTileEntity, int aIndex, byte aSide, ItemStack aStack)
+/* 61: */ {
+/* 62:50 */ return (super.allowPutStack(aBaseMetaTileEntity, aIndex, aSide, aStack)) && (aStack.getTagCompound() != null) && (aStack.getTagCompound().getCompoundTag("GT.CraftingComponents") != null);
+/* 63: */ }
+/* 64: */ }
+
+
+/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
+ * Qualified Name: gregtech.common.tileentities.machines.basic.GT_MetaTileEntity_Disassembler
+ * JD-Core Version: 0.7.0.1
+ */
\ No newline at end of file diff --git a/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Massfabricator.java b/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Massfabricator.java new file mode 100644 index 0000000000..2a26825db4 --- /dev/null +++ b/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Massfabricator.java @@ -0,0 +1,83 @@ +/* 1: */ package gregtech.common.tileentities.machines.basic;
+/* 2: */
+/* 3: */ import gregtech.api.enums.ConfigCategories;
+/* 4: */ import gregtech.api.enums.ItemList;
+/* 5: */ import gregtech.api.enums.Materials;
+import gregtech.api.enums.Textures;
+/* 6: */ import gregtech.api.enums.Textures.BlockIcons;
+/* 7: */ import gregtech.api.interfaces.ITexture;
+/* 8: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+/* 9: */ import gregtech.api.metatileentity.MetaTileEntity;
+/* 10: */ import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine;
+/* 11: */ import gregtech.api.objects.GT_RenderedTexture;
+/* 12: */ import gregtech.api.util.GT_Config;
+/* 13: */ import net.minecraftforge.fluids.FluidStack;
+/* 14: */
+/* 15: */ public class GT_MetaTileEntity_Massfabricator
+/* 16: */ extends GT_MetaTileEntity_BasicMachine
+/* 17: */ {
|
