diff options
| author | boubou19 <miisterunknown@gmail.com> | 2023-04-10 02:20:55 +0200 |
|---|---|---|
| committer | boubou19 <miisterunknown@gmail.com> | 2023-04-10 02:20:55 +0200 |
| commit | 42f5fb70e399c4ec49438fc6e838e323c62c8ba0 (patch) | |
| tree | 0af950f8ef7e0cf0adc5e2727f6f0fd05d4e9973 /src | |
| parent | 4cf78d9ffab5d0e3c61706aee568f57db63dd873 (diff) | |
| download | GT5-Unofficial-42f5fb70e399c4ec49438fc6e838e323c62c8ba0.tar.gz GT5-Unofficial-42f5fb70e399c4ec49438fc6e838e323c62c8ba0.tar.bz2 GT5-Unofficial-42f5fb70e399c4ec49438fc6e838e323c62c8ba0.zip | |
remove commented out code
Diffstat (limited to 'src')
27 files changed, 25 insertions, 926 deletions
diff --git a/src/main/java/com/github/technus/tectech/loader/MainLoader.java b/src/main/java/com/github/technus/tectech/loader/MainLoader.java index b880847bd3..1dce2f4848 100644 --- a/src/main/java/com/github/technus/tectech/loader/MainLoader.java +++ b/src/main/java/com/github/technus/tectech/loader/MainLoader.java @@ -154,11 +154,6 @@ public final class MainLoader { new BaseRecipeLoader().run(transformationInfo); TecTech.LOGGER.info("Recipe Init Done"); - // Hazmat moved to GT5U - // progressBarPostLoad.step("Register Extra Hazmat Suits"); - // registerExtraHazmats(); - // TecTech.LOGGER.info("Hazmat additions done"); - if (!configTecTech.DISABLE_BLOCK_HARDNESS_NERF) { progressBarPostLoad.step("Nerf blocks blast resistance"); adjustTwilightBlockResistance(); diff --git a/src/main/java/com/github/technus/tectech/mechanics/anomaly/AnomalyHandler.java b/src/main/java/com/github/technus/tectech/mechanics/anomaly/AnomalyHandler.java index 012b5f8b05..f1332bd2cf 100644 --- a/src/main/java/com/github/technus/tectech/mechanics/anomaly/AnomalyHandler.java +++ b/src/main/java/com/github/technus/tectech/mechanics/anomaly/AnomalyHandler.java @@ -123,8 +123,6 @@ public class AnomalyHandler implements IChunkMetaDataHandler { if (absDifference != 0) { if (player.getDistanceSqToEntity(other) < 1) { double avg = (fieldOther + field) / 2; - // addAnomaly(other.worldObj.provider.dimensionId, new ChunkCoordIntPair(other.chunkCoordX, - // other.chunkCoordZ), Math.min(SWAP_THRESHOLD, PER_PARTICLE * absDifference)); if (TecTech.configTecTech.BOOM_ENABLE) { other.worldObj.createExplosion( other, diff --git a/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/core/decay/EMDecay.java b/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/core/decay/EMDecay.java index 4dfe3ef7a8..a6d85847ab 100644 --- a/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/core/decay/EMDecay.java +++ b/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/core/decay/EMDecay.java @@ -69,8 +69,7 @@ public final class EMDecay { if (empty) { return decayResult; } - // newEnergyLevel /= qtty; - // lifeMult /= (float) qtty; + for (EMDefinitionStack stack : getOutputStacks().valuesToArray()) { decayResult.putUnify( new EMInstanceStack( diff --git a/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/core/stacks/EMInstanceStack.java b/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/core/stacks/EMInstanceStack.java index bc5e2af118..2d0d216f54 100644 --- a/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/core/stacks/EMInstanceStack.java +++ b/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/core/stacks/EMInstanceStack.java @@ -270,16 +270,6 @@ public final class EMInstanceStack implements IEMStack { long newEnergyLevel) { double newAmount = div(getAmount(), Math.pow(2D, 1D /* 1 second */ / lifeTime)); - // if(definition.getSymbol().startsWith("U ")) { - // System.out.println("newAmount = " + newAmount); - // System.out.println("amountRemaining = " + amountRemaining); - // for(cElementalDecay decay:decays){ - // System.out.println("prob = "+decay.probability); - // for(cElementalDefinitionStack stack:decay.outputStacks.values()){ - // System.out.println("stack = " + stack.getDefinition().getSymbol() + " " + stack.amount); - // } - // } - // } if (newAmount == getAmount()) { newAmount -= ulpSigned(newAmount); } else if (newAmount < 1) { @@ -355,50 +345,6 @@ public final class EMInstanceStack implements IEMStack { Minecraft.getMinecraft().crashed(new CrashReport("Decay failed for: " + this, e)); return null; } - // long amountRemaining = this.amount, amount = this.amount; - // float remainingProbability = 1D; - // - // for (int i = 0; i < differentDecays; i++) { - // if (decays[i].probability >= 1D) { - // long thisDecayAmount = (long) Math.floor(remainingProbability * (double) amount); - // if (thisDecayAmount > 0) { - // if (thisDecayAmount <= amountRemaining) { - // amountRemaining -= thisDecayAmount; - // qttyOfDecay[i] += thisDecayAmount; - // }else {//in case too much was made - // qttyOfDecay[i] += amountRemaining; - // amountRemaining = 0; - // //remainingProbability=0; - // } - // } - // break; - // } - // long thisDecayAmount = (long) Math.floor(decays[i].probability * (double) amount); - // if (thisDecayAmount <= amountRemaining && thisDecayAmount > 0) {//some was made - // amountRemaining -= thisDecayAmount; - // qttyOfDecay[i] += thisDecayAmount; - // } else if (thisDecayAmount > amountRemaining) {//too much was made - // qttyOfDecay[i] += amountRemaining; - // amountRemaining = 0; - // //remainingProbability=0; - // break; - // } - // remainingProbability -= decays[i].probability; - // if(remainingProbability<=0) { - // break; - // } - // } - - // for (int i = 0; i < amountRemaining; i++) { - // double rand = TecTech.RANDOM.nextDouble(); - // for (int j = 0; j < differentDecays; j++) {//looking for the thing it decayed into - // rand -= decays[j].probability; - // if (rand <= 0D) { - // qttyOfDecay[j]++; - // break; - // } - // } - // } if (getDefinition().decayMakesEnergy(energy)) { for (int i = differentDecays - 1; i >= 0; i--) { diff --git a/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/complex/EMAtomDefinition.java b/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/complex/EMAtomDefinition.java index 6f51a43627..29f2045b8e 100644 --- a/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/complex/EMAtomDefinition.java +++ b/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/complex/EMAtomDefinition.java @@ -1645,21 +1645,6 @@ public class EMAtomDefinition extends EMComplexTemplate { return new EMDecay[] { new EMDecay(0.75D, decaysInto.toArray(new EMDefinitionStack[0])), deadEnd }; } - // @Override - // public iElementalDefinition getAnti() { - // EMDefinitionStack[] stacks = this.elementalStacks.values(); - // EMDefinitionStack[] antiElements = new EMDefinitionStack[stacks.length]; - // for (int i = 0; i < antiElements.length; i++) { - // antiElements[i] = new EMDefinitionStack(stacks[i].definition.getAnti(), stacks[i].amount); - // } - // try { - // return new dAtomDefinition(false, antiElements); - // } catch (tElementalException e) { - // if (DEBUG_MODE) e.printStackTrace(); - // return null; - // } - // } - @Override public EMAtomDefinition getAnti() { EMDefinitionStackMap anti = new EMDefinitionStackMap(); @@ -1935,8 +1920,7 @@ public class EMAtomDefinition extends EMComplexTemplate { new EMDefinitionStack(getFirstStableIsotope(9), EM_COUNT_PER_MATERIAL_AMOUNT_DIMINISHED), Fluorine.mGas, 144); - // transformationInfo.addFluid(new EMDefinitionStack(getFirstStableIsotope(10), - // AVOGADRO_CONSTANT_144),Neon.mGas.getID(), 144); + transformationInfo.addOredict( new EMDefinitionStack(getFirstStableIsotope(11), EM_COUNT_PER_MATERIAL_AMOUNT_DIMINISHED), dust, @@ -2036,19 +2020,13 @@ public class EMAtomDefinition extends EMComplexTemplate { dust, Gallium, 1); - // transformationInfo.addOredict(new EMDefinitionStack(getFirstStableIsotope(32), AVOGADRO_CONSTANT_144),dust, - // Germanium,1); + transformationInfo.addOredict( new EMDefinitionStack(getFirstStableIsotope(33), EM_COUNT_PER_MATERIAL_AMOUNT_DIMINISHED), dust, Arsenic, 1); - // transformationInfo.addOredict(new EMDefinitionStack(getFirstStableIsotope(34), AVOGADRO_CONSTANT_144),dust, - // Selenium,1); - // transformationInfo.addOredict(new EMDefinitionStack(getFirstStableIsotope(35), AVOGADRO_CONSTANT_144),dust, - // Bromine,1); - // transformationInfo.addOredict(new EMDefinitionStack(getFirstStableIsotope(36), AVOGADRO_CONSTANT_144),dust, - // Krypton,1); + transformationInfo.addOredict( new EMDefinitionStack(getFirstStableIsotope(37), EM_COUNT_PER_MATERIAL_AMOUNT_DIMINISHED), dust, @@ -2064,8 +2042,7 @@ public class EMAtomDefinition extends EMComplexTemplate { dust, Yttrium, 1); - // transformationInfo.addOredict(new EMDefinitionStack(getFirstStableIsotope(40), AVOGADRO_CONSTANT_144),dust, - // Zirconium,1); + transformationInfo.addOredict( new EMDefinitionStack(getFirstStableIsotope(41), EM_COUNT_PER_MATERIAL_AMOUNT_DIMINISHED), dust, @@ -2076,12 +2053,7 @@ public class EMAtomDefinition extends EMComplexTemplate { dust, Molybdenum, 1); - // transformationInfo.addOredict(new EMDefinitionStack(getFirstStableIsotope(43), AVOGADRO_CONSTANT_144),dust, - // Technetium,1); - // transformationInfo.addOredict(new EMDefinitionStack(getFirstStableIsotope(44), AVOGADRO_CONSTANT_144),dust, - // Ruthenium,1); - // transformationInfo.addOredict(new EMDefinitionStack(getFirstStableIsotope(45), AVOGADRO_CONSTANT_144),dust, - // Rhodium,1); + transformationInfo.addOredict( new EMDefinitionStack(getFirstStableIsotope(46), EM_COUNT_PER_MATERIAL_AMOUNT_DIMINISHED), dust, @@ -2117,10 +2089,7 @@ public class EMAtomDefinition extends EMComplexTemplate { dust, Tellurium, 1); - // transformationInfo.addOredict(new EMDefinitionStack(getFirstStableIsotope(53), AVOGADRO_CONSTANT_144),dust, - // Iodine,1); - // transformationInfo.addFluid(new EMDefinitionStack(getFirstStableIsotope(54), - // AVOGADRO_CONSTANT_144),Xenon.mGas.getID(), 144); + transformationInfo.addOredict( new EMDefinitionStack(getFirstStableIsotope(55), EM_COUNT_PER_MATERIAL_AMOUNT_DIMINISHED), dust, @@ -2201,8 +2170,7 @@ public class EMAtomDefinition extends EMComplexTemplate { dust, Lutetium, 1); - // transformationInfo.addOredict(new EMDefinitionStack(getFirstStableIsotope(72), AVOGADRO_CONSTANT_144),dust, - // Hafnum,1); + transformationInfo.addOredict( new EMDefinitionStack(getFirstStableIsotope(73), EM_COUNT_PER_MATERIAL_AMOUNT_DIMINISHED), dust, @@ -2213,8 +2181,7 @@ public class EMAtomDefinition extends EMComplexTemplate { dust, Tungsten, 1); - // transformationInfo.addOredict(new EMDefinitionStack(getFirstStableIsotope(75), AVOGADRO_CONSTANT_144),dust, - // Rhenium,1); + transformationInfo.addOredict( new EMDefinitionStack(getFirstStableIsotope(76), EM_COUNT_PER_MATERIAL_AMOUNT_DIMINISHED), dust, @@ -2239,8 +2206,7 @@ public class EMAtomDefinition extends EMComplexTemplate { new EMDefinitionStack(getFirstStableIsotope(80), EM_COUNT_PER_MATERIAL_AMOUNT_DIMINISHED), Mercury.mFluid, 144); - // transformationInfo.addOredict(new EMDefinitionStack(getFirstStableIsotope(81), AVOGADRO_CONSTANT_144),dust, - // Thallium,1); + transformationInfo.addOredict( new EMDefinitionStack(getFirstStableIsotope(82), EM_COUNT_PER_MATERIAL_AMOUNT_DIMINISHED), dust, @@ -2260,33 +2226,18 @@ public class EMAtomDefinition extends EMComplexTemplate { dust, Bismuth, 1); - // transformationInfo.addOredict(new EMDefinitionStack(getBestUnstableIsotope(84),AVOGADRO_CONSTANT_144),dust, - // Polonium,1); - // transformationInfo.addFluid(new - // EMDefinitionStack(getBestUnstableIsotope(85),AVOGADRO_CONSTANT_144),Astatine.mPlasma.getID(), 144); + transformationInfo.addFluid( new EMDefinitionStack(getBestUnstableIsotope(86), EM_COUNT_PER_MATERIAL_AMOUNT_DIMINISHED), Radon.mGas, 144); - // transformationInfo.addOredict(new EMDefinitionStack(getBestUnstableIsotope(87),AVOGADRO_CONSTANT_144),dust, - // Francium,1); - // transformationInfo.addOredict(new EMDefinitionStack(getBestUnstableIsotope(88),AVOGADRO_CONSTANT_144),dust, - // Radium,1); - // transformationInfo.addOredict(new EMDefinitionStack(getBestUnstableIsotope(89),AVOGADRO_CONSTANT_144),dust, - // Actinium,1); + transformationInfo.addOredict( new EMDefinitionStack(getBestUnstableIsotope(90), EM_COUNT_PER_MATERIAL_AMOUNT_DIMINISHED), dust, Thorium, 1); - // transformationInfo.addOredict(new EMDefinitionStack(getBestUnstableIsotope(91),AVOGADRO_CONSTANT_144),dust, - // Protactinium,1); - //// transformationInfo.addOredict(new EMDefinitionStack(getBestUnstableIsotope(92),AVOGADRO_CONSTANT_144), - // dust, Uranium,1); - // transformationInfo.addOredict(new EMDefinitionStack(getBestUnstableIsotope(93),AVOGADRO_CONSTANT_144),dust, - // Neptunium,1); - //// transformationInfo.addOredict(new EMDefinitionStack(getBestUnstableIsotope(94),AVOGADRO_CONSTANT_144), - // dust, Plutonium,1); + transformationInfo.addOredict( new EMDefinitionStack(getBestUnstableIsotope(95), EM_COUNT_PER_MATERIAL_AMOUNT_DIMINISHED), dust, diff --git a/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/complex/EMHadronDefinition.java b/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/complex/EMHadronDefinition.java index b1f6c79d30..60dc89ba01 100644 --- a/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/complex/EMHadronDefinition.java +++ b/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/complex/EMHadronDefinition.java @@ -57,8 +57,7 @@ public class EMHadronDefinition extends EMComplexTemplate { // TODO Optimize map private final int amount; // generation max present inside - minus if contains any antiquark private final byte type; - // private final FluidStack fluidThing; - // private final ItemStack itemThing; + private final EMConstantStackMap quarkStacks; @@ -346,21 +345,6 @@ public class EMHadronDefinition extends EMComplexTemplate { // TODO Optimize map return type; } - // @Override - // public iElementalDefinition getAnti() { - // cElementalDefinitionStack[] stacks = this.quarkStacks.values(); - // cElementalDefinitionStack[] antiElements = new cElementalDefinitionStack[stacks.length]; - // for (int i = 0; i < antiElements.length; i++) { - // antiElements[i] = new cElementalDefinitionStack(stacks[i].definition.getAnti(), stacks[i].amount); - // } - // try { - // return new dHadronDefinition(false, antiElements); - // } catch (tElementalException e) { - // if (DEBUG_MODE) e.printStackTrace(); - // return null; - // } - // } - @Override public IEMDefinition getAnti() { EMDefinitionStackMap anti = new EMDefinitionStackMap(); diff --git a/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/complex/EMNuclideIAEA.java b/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/complex/EMNuclideIAEA.java index e5e0bb35ea..cae4a3a876 100644 --- a/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/complex/EMNuclideIAEA.java +++ b/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/complex/EMNuclideIAEA.java @@ -132,11 +132,6 @@ public final class EMNuclideIAEA { } private void getMoreData(String[] cells) { - // if(DEBUG_MODE) { - // if (add(cells[14])) System.out.println(N + " " + Z); - // if (add(cells[17])) System.out.println(N + " " + Z); - // if (add(cells[20])) System.out.println(N + " " + Z); - // } new energeticState( this, getHalfTime(), @@ -249,11 +244,6 @@ public final class EMNuclideIAEA { nuclide.energeticStates = new TreeMap<>(); } nuclide.energeticStates.put(energy, this); - // if(DEBUG_MODE) { - // if (add(cells[12])) System.out.println(nuclide.N + " " + nuclide.Z); - // if (add(cells[15])) System.out.println(nuclide.N + " " + nuclide.Z); - // if (add(cells[18])) System.out.println(nuclide.N + " " + nuclide.Z); - // } decaymodes = getDecaysFixed( cells[12], doubleOrNaN(cells[13], "chance 1", nuclide), diff --git a/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/primitive/EMLeptonDefinition.java b/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/primitive/EMLeptonDefinition.java index 8e71fe3f59..46663605b2 100644 --- a/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/primitive/EMLeptonDefinition.java +++ b/src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/primitive/EMLeptonDefinition.java @@ -42,8 +42,6 @@ public class EMLeptonDefinition extends EMFermionDefinition { protected EMLeptonDefinition(String name, String symbol, int type, double mass, int charge, int ID, String bind) { super(name, TT_Utility.toSuperscript(symbol), type, mass, charge, -1, ID, bind); - // this.itemThing=null; - // this.fluidThing=null; } public static void run(EMDefinitionsRegistry registry) { diff --git a/src/main/java/com/github/technus/tectech/thing/block/QuantumGlassBlock.java b/src/main/java/com/github/technus/tectech/thing/block/QuantumGlassBlock.java index 2512fc7aaf..cb7cdc62d1 100644 --- a/src/main/java/com/github/technus/tectech/thing/block/QuantumGlassBlock.java +++ b/src/main/java/com/github/technus/tectech/thing/block/QuantumGlassBlock.java @@ -53,11 +53,6 @@ public final class QuantumGlassBlock extends BlockBase { return false; } - // @Override - // public boolean canRenderInPass(int pass) { - // return true; - // } - @Override public boolean canBeReplacedByLeaves(IBlockAccess world, int x, int y, int z) { return false; diff --git a/src/main/java/com/github/technus/tectech/thing/block/QuantumStuffBlock.java b/src/main/java/com/github/technus/tectech/thing/block/QuantumStuffBlock.java index 24838bdaf9..3584186ef4 100644 --- a/src/main/java/com/github/technus/tectech/thing/block/QuantumStuffBlock.java +++ b/src/main/java/com/github/technus/tectech/thing/block/QuantumStuffBlock.java @@ -60,11 +60,6 @@ public final class QuantumStuffBlock extends BlockBase { return false; } - // @Override - // public boolean canRenderInPass(int pass) { - // return true; - // } - @Override public boolean canBeReplacedByLeaves(IBlockAccess world, int x, int y, int z) { return false; diff --git a/src/main/java/com/github/technus/tectech/thing/item/renderElemental/RenderElementalName.java b/src/main/java/com/github/technus/tectech/thing/item/renderElemental/RenderElementalName.java index a57cc32cab..0a072e3872 100644 --- a/src/main/java/com/github/technus/tectech/thing/item/renderElemental/RenderElementalName.java +++ b/src/main/java/com/github/technus/tectech/thing/item/renderElemental/RenderElementalName.java @@ -42,8 +42,6 @@ public class RenderElementalName implements IItemRenderer { tessellator.addVertexWithUV(16, 16, 0.0, icon.getMaxU(), icon.getMaxV()); tessellator.addVertexWithUV(16, 0.0, 0.0, icon.getMaxU(), icon.getMinV()); tessellator.draw(); - // ItemRenderer.renderItemIn2D(Tessellator.instance, icon.getMaxU(), icon.getMinV(), icon.getMinU(), - // icon.getMaxV(), icon.getIconWidth(), icon.getIconHeight(), 0.0625f); } String sym = ((IElementalItem) item).getSymbol(itemStack, (int) (System.currentTimeMillis() / 1000)); if (sym != null) { diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_InputElemental.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_InputElemental.java index 3ef9180649..97f6ad358b 100644 --- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_InputElemental.java +++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_InputElemental.java @@ -19,11 +19,6 @@ public class GT_MetaTileEntity_Hatch_InputElemental extends GT_MetaTileEntity_Ha TT_Utility.setTier(aTier, this); } - // public GT_MetaTileEntity_Hatch_InputElemental(String aName, int aTier, String aDescription, ITexture[][][] - // aTextures) { - // super(aName, aTier, aDescription, aTextures); - // } - public GT_MetaTileEntity_Hatch_InputElemental(String aName, int aTier, String aDescription, ITexture[][][] aTextures) { super(aName, aTier, aDescription, aTextures); diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_OutputElemental.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_OutputElemental.java index 4274ce14aa..01b52a3649 100644 --- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_OutputElemental.java +++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_OutputElemental.java @@ -22,11 +22,6 @@ public class GT_MetaTileEntity_Hatch_OutputElemental extends GT_MetaTileEntity_H TT_Utility.setTier(aTier, this); } - // public GT_MetaTileEntity_Hatch_OutputElemental(String aName, int aTier, String aDescription, ITexture[][][] - // aTextures) { - // super(aName, aTier, aDescription, aTextures); - // } - public GT_MetaTileEntity_Hatch_OutputElemental(String aName, int aTier, String aDescription, ITexture[][][] aTextures) { super(aName, aTier, aDescription, aTextures); diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_Param.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_Param.java index 5ca8cc4787..03acc689b1 100644 --- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_Param.java +++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_Param.java @@ -84,20 +84,6 @@ public class GT_MetaTileEntity_Hatch_Param extends GT_MetaTileEntity_Hatch imple return new ITexture[] { aBaseTexture, new GT_RenderedTexture(ScreenOFF) }; } - // @Override - // public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) { - // if (aBaseMetaTileEntity.isClientSide() && (aTick % 20L == 0L)) { - // //refresh casing on state change - // int Xpos = aBaseMetaTileEntity.getXCoord(); - // int Ypos = aBaseMetaTileEntity.getYCoord(); - // int Zpos = aBaseMetaTileEntity.getZCoord(); - // try { - // aBaseMetaTileEntity.getWorld().markBlockRangeForRenderUpdate(Xpos , Ypos, Zpos , Xpos , Ypos, Zpos ); - // } catch (Exception e) {} - // } - // super.onPostTick(aBaseMetaTileEntity, aTick); - // } - @Override public IMetaTileEntity newMetaEntity(IGregTechTileEntity iGregTechTileEntity) { return new GT_MetaTileEntity_Hatch_Param(mName, mTier, mDescription, mTextures); diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_ParamText.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_ParamText.java index bf41683c03..905c912c24 100644 --- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_ParamText.java +++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_ParamText.java @@ -50,20 +50,6 @@ public class GT_MetaTileEntity_Hatch_ParamText extends GT_MetaTileEntity_Hatch_P super(aName, aTier, aDescription, aTextures); } - // @Override - // public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) { - // if (aBaseMetaTileEntity.isClientSide() && (aTick % 20L == 0L)) { - // //refresh casing on state change - // int Xpos = aBaseMetaTileEntity.getXCoord(); - // int Ypos = aBaseMetaTileEntity.getYCoord(); - // int Zpos = aBaseMetaTileEntity.getZCoord(); - // try { - // aBaseMetaTileEntity.getWorld().markBlockRangeForRenderUpdate(Xpos , Ypos, Zpos , Xpos , Ypos, Zpos ); - // } catch (Exception e) {} - // } - // super.onPostTick(aBaseMetaTileEntity, aTick); - // } - @Override public IMetaTileEntity newMetaEntity(IGregTechTileEntity iGregTechTileEntity) { return new GT_MetaTileEntity_Hatch_ParamText(mName, mTier, mDescription, mTextures); diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_Rack.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_Rack.java index 65441e4149..9b4f0ee12c 100644 --- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_Rack.java +++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_Rack.java @@ -252,13 +252,6 @@ public class GT_MetaTileEntity_Hatch_Rack extends GT_MetaTileEntity_Hatch implem } } - // @Override - // public void onRemoval() { - // if(mInventory!=null && (heat>0 || (getBaseMetaTileEntity()!=null && getBaseMetaTileEntity().isActive()))) - // for(int i=0;i<mInventory.length;i++) - // mInventory[i]=null; - // } - @Override public int getSizeInventory() { // HACK TO |
