diff options
author | Draknyte1 <Draknyte1@hotmail.com> | 2017-04-30 15:36:43 +1000 |
---|---|---|
committer | Draknyte1 <Draknyte1@hotmail.com> | 2017-04-30 15:36:43 +1000 |
commit | b21648b4c0e0ad51dc7df2c50948ecc601c7044b (patch) | |
tree | 4a0d84bf7cf45da9519943515d79c0b953cdb6e2 /src/Java/gtPlusPlus/core/util/debug | |
parent | b8fcf82060c66cc383f7be9c3a5d064a718cbffa (diff) | |
download | GT5-Unofficial-b21648b4c0e0ad51dc7df2c50948ecc601c7044b.tar.gz GT5-Unofficial-b21648b4c0e0ad51dc7df2c50948ecc601c7044b.tar.bz2 GT5-Unofficial-b21648b4c0e0ad51dc7df2c50948ecc601c7044b.zip |
$ Fixed dirt not working in the Tree Farmer Frame recipe.
- Removed a touch of old code.
Diffstat (limited to 'src/Java/gtPlusPlus/core/util/debug')
-rw-r--r-- | src/Java/gtPlusPlus/core/util/debug/DEBUG_BLOCK_ShapeSpawner.java | 140 |
1 files changed, 0 insertions, 140 deletions
diff --git a/src/Java/gtPlusPlus/core/util/debug/DEBUG_BLOCK_ShapeSpawner.java b/src/Java/gtPlusPlus/core/util/debug/DEBUG_BLOCK_ShapeSpawner.java deleted file mode 100644 index 28a47d9b14..0000000000 --- a/src/Java/gtPlusPlus/core/util/debug/DEBUG_BLOCK_ShapeSpawner.java +++ /dev/null @@ -1,140 +0,0 @@ -package gtPlusPlus.core.util.debug; - -import gregtech.api.interfaces.ITexture; -import gregtech.api.interfaces.metatileentity.IMetaTileEntity; -import gregtech.api.interfaces.tileentity.IGregTechTileEntity; -import gtPlusPlus.core.util.Utils; -import net.minecraft.item.ItemStack; -import net.minecraftforge.common.util.ForgeDirection; - -public class DEBUG_BLOCK_ShapeSpawner extends DEBUG_MULTIBLOCK_ShapeSpawner { - - private static boolean controller; - - public DEBUG_BLOCK_ShapeSpawner(final int aID, final String aName, final String aNameRegional) { - super(aID, aName, aNameRegional); - } - - public DEBUG_BLOCK_ShapeSpawner(final String aName) { - super(aName); - } - - @Override - public IMetaTileEntity newMetaEntity(final IGregTechTileEntity aTileEntity) { - return new DEBUG_BLOCK_ShapeSpawner(this.mName); - } - - - @Override - public String[] getDescription() { - return new String[]{ - "Controller Block for the Testing", - "Create the shapes for Multiblocks.",}; - } - - - @Override - public ITexture[] getTexture(final IGregTechTileEntity arg0, final byte arg1, - final byte arg2, final byte arg3, final boolean arg4, final boolean arg5) { - // TODO Auto-generated method stub - return null; - } - - @Override - public boolean isCorrectMachinePart(final ItemStack aStack) { - // TODO Auto-generated method stub - return false; - } - - @Override - public boolean checkRecipe(final ItemStack aStack) { - // TODO Auto-generated method stub - return false; - } - - @Override - public boolean checkMachine(final IGregTechTileEntity aBaseMetaTileEntity, final ItemStack aStack) { - - final int xDir = ForgeDirection.getOrientation(aBaseMetaTileEntity.getBackFacing()).offsetX; - final int zDir = ForgeDirection.getOrientation(aBaseMetaTileEntity.getBackFacing()).offsetZ; - - if (!aBaseMetaTileEntity.getAirOffset(xDir, 0, zDir)) { - return false; - } - - int stepX = aBaseMetaTileEntity.getXCoord(); - final int stepY = aBaseMetaTileEntity.getYCoord(); - int stepZ = aBaseMetaTileEntity.getZCoord(); - final int temp = 0; - - Utils.LOG_INFO("Starting Block located @ "+"[X:"+stepX+"][Y:"+stepY+"][Z:"+stepZ+"]"); - - final int tAmount = 0; - switch (xDir) { - case -1: - stepX++; - Utils.LOG_INFO("Modifying stepX + accomodate a "+xDir+" xDir - [X:"+stepX+"][Y:"+stepY+"][Z:"+stepZ+"]"); - break; - - case 1: - stepX--; - Utils.LOG_INFO("Modifying stepX - accomodate a "+xDir+" xDir - [X:"+stepX+"][Y:"+stepY+"][Z:"+stepZ+"]"); - break; - } - switch (zDir) { - case -1: - stepZ++; - Utils.LOG_INFO("Modifying stepZ + accomodate a "+zDir+" zDir - [X:"+stepX+"][Y:"+stepY+"][Z:"+stepZ+"]"); - break; - - case 1: - stepZ--; - Utils.LOG_INFO("Modifying stepZ - accomodate a "+zDir+" zDir - [X:"+stepX+"][Y:"+stepY+"][Z:"+stepZ+"]"); - break; - } - - for (int i = stepX-1; i <= (stepX+1); i++){ - for (int j = stepZ-1; j <= (stepZ+1); j++){ - for (int h = stepY-1; h <= (stepY+1); h++){ - - - Utils.LOG_INFO("Block Facing - X:"+xDir+" Z:"+zDir); - Utils.LOG_INFO("(h != 0) || (((xDir + i != 0) || (zDir + j != 0)) && ((i != 0) || (j != 0)))"); - Utils.LOG_INFO(" "+(h != 0)+" || "+((((xDir + i) != 0)+" || "+((zDir + j) != 0))+" && "+((i != 0)+" || "+(j != 0)))); - } - } - } - return false; - } - - @Override - public int getMaxEfficiency(final ItemStack aStack) { - // TODO Auto-generated method stub - return 0; - } - - @Override - public int getPollutionPerTick(final ItemStack aStack) { - // TODO Auto-generated method stub - return 0; - } - - @Override - public int getDamageToComponent(final ItemStack aStack) { - // TODO Auto-generated method stub - return 0; - } - - @Override - public int getAmountOfOutputs() { - // TODO Auto-generated method stub - return 0; - } - - @Override - public boolean explodesOnComponentBreak(final ItemStack aStack) { - // TODO Auto-generated method stub - return false; - } - -} |