Pump tooltips

This commit is contained in:
Muramasa- 2017-08-12 02:21:09 +01:00
parent 14a7d0768f
commit 9fc5d17eb5
2 changed files with 7 additions and 5 deletions

View file

@ -58,11 +58,13 @@ public abstract class GT_Block_Ores_Abstract extends GT_Generic_Block implements
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + "." + ((i + 16000) + (j * 1000)) + aTextName, aTextSmall + getLocalizedName(GregTech_API.sGeneratedMaterials[i]));
if ((GregTech_API.sGeneratedMaterials[i].mTypes & 0x8) != 0) {
GT_OreDictUnificator.registerOre(this.getProcessingPrefix()[j] != null ? this.getProcessingPrefix()[j].get(GregTech_API.sGeneratedMaterials[i]) : "", new ItemStack(this, 1, i + (j * 1000)));
if (tHideOres) {
if(!(j == 0 && !aHideFirstMeta)){
codechicken.nei.api.API.hideItem(new ItemStack(this, 1, i + (j * 1000)));}
if (tHideOres) {
if (!(j == 0 && !aHideFirstMeta)) {
codechicken.nei.api.API.hideItem(new ItemStack(this, 1, i + (j * 1000)));
}
codechicken.nei.api.API.hideItem(new ItemStack(this, 1, (i + 16000) + (j * 1000)));
}}
}
}
}
}
}

View file

@ -34,7 +34,7 @@ public class GT_MetaTileEntity_Pump extends GT_MetaTileEntity_Hatch {
public Block mPumpedBlock2 = null;
public GT_MetaTileEntity_Pump(int aID, String aName, String aNameRegional, int aTier) {
super(aID, aName, aNameRegional, aTier, 3, "The best way of emptying Oceans!");
super(aID, aName, aNameRegional, aTier, 3, new String[]{"The best way to empty Oceans!", "Pumping Area: " + (10 * ((int) Math.pow(1.6, aTier))) * 2 + 1 + "x" + (10 * ((int) Math.pow(1.6, aTier))) * 2 + 1});
}
public GT_MetaTileEntity_Pump(String aName, int aTier, String aDescription, ITexture[][][] aTextures) {