Redone Tooltips and some scanner info
This commit is contained in:
parent
3f46725bbc
commit
680676e411
21 changed files with 291 additions and 198 deletions
|
@ -44,12 +44,14 @@ public class GT_MetaTileEntity_AdvMiner2 extends GT_MetaTileEntity_MultiBlockBas
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Controller Block for the Advanced Miner II",
|
"Controller Block for the Advanced Miner II",
|
||||||
"Size: 3x3x7", "Controller (front middle at bottom)",
|
"Size(WxHxD): 3x7x3, Controller (Front middle bottom)",
|
||||||
"3x3 Base of Solid Steel Casings",
|
"3x1x3 Base of Solid Steel Casings",
|
||||||
"Also part of Base: MV+ Energy Input Hatch",
|
"1x3x1 Solid Steel Casing pillar (Center of base)",
|
||||||
"Fluid Input Hatch, Output Bus and Maintainance Hatch",
|
"1x3x1 Steel Frame Boxes (Each Steel pillar side and on top)",
|
||||||
"3x Solid Steel Casings on top the Center of the base",
|
"1x Input Hatch (Any bottom layer casing)",
|
||||||
"Steel Frame Boxes on each side and 3 more on top"};
|
"1x Output Bus (Any bottom layer casing)",
|
||||||
|
"1x Maintenance Hatch (Any bottom layer casing)",
|
||||||
|
"1x MV+ Energy Hatch (Any bottom layer casing)"};
|
||||||
}
|
}
|
||||||
|
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
|
@ -58,7 +60,7 @@ public class GT_MetaTileEntity_AdvMiner2 extends GT_MetaTileEntity_MultiBlockBas
|
||||||
}
|
}
|
||||||
return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[16]};
|
return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[16]};
|
||||||
}
|
}
|
||||||
|
|
||||||
public Object getClientGUI(int aID, InventoryPlayer aPlayerInventory, IGregTechTileEntity aBaseMetaTileEntity) {
|
public Object getClientGUI(int aID, InventoryPlayer aPlayerInventory, IGregTechTileEntity aBaseMetaTileEntity) {
|
||||||
return new GT_GUIContainer_MultiMachine(aPlayerInventory, aBaseMetaTileEntity, getLocalName(), "DrillingRig.png");
|
return new GT_GUIContainer_MultiMachine(aPlayerInventory, aBaseMetaTileEntity, getLocalName(), "DrillingRig.png");
|
||||||
}
|
}
|
||||||
|
@ -112,18 +114,18 @@ public class GT_MetaTileEntity_AdvMiner2 extends GT_MetaTileEntity_MultiBlockBas
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mMineList.isEmpty()) {
|
if (mMineList.isEmpty()) {
|
||||||
if(getBaseMetaTileEntity().getBlockOffset(ForgeDirection.getOrientation(getBaseMetaTileEntity().getBackFacing()).offsetX, getYOfPumpHead() - 1 - getBaseMetaTileEntity().getYCoord(), ForgeDirection.getOrientation(getBaseMetaTileEntity().getBackFacing()).offsetZ) != Blocks.bedrock){
|
if(getBaseMetaTileEntity().getBlockOffset(ForgeDirection.getOrientation(getBaseMetaTileEntity().getBackFacing()).offsetX, getYOfPumpHead() - 1 - getBaseMetaTileEntity().getYCoord(), ForgeDirection.getOrientation(getBaseMetaTileEntity().getBackFacing()).offsetZ) != Blocks.bedrock){
|
||||||
if (mEnergyHatches.size() > 0 && mEnergyHatches.get(0).getEUVar() > (512 + getMaxInputVoltage() * 4)) {
|
if (mEnergyHatches.size() > 0 && mEnergyHatches.get(0).getEUVar() > (512 + getMaxInputVoltage() * 4)) {
|
||||||
moveOneDown();
|
moveOneDown();
|
||||||
}
|
}
|
||||||
}else{return false;}
|
}else{return false;}
|
||||||
}
|
}
|
||||||
ArrayList<ItemStack> tDrops = new ArrayList();
|
ArrayList<ItemStack> tDrops = new ArrayList();
|
||||||
if (!mMineList.isEmpty()) {
|
if (!mMineList.isEmpty()) {
|
||||||
Block tMineBlock = getBaseMetaTileEntity().getBlockOffset(mMineList.get(0).chunkPosX, mMineList.get(0).chunkPosY, mMineList.get(0).chunkPosZ);
|
Block tMineBlock = getBaseMetaTileEntity().getBlockOffset(mMineList.get(0).chunkPosX, mMineList.get(0).chunkPosY, mMineList.get(0).chunkPosZ);
|
||||||
tDrops = tMineBlock.getDrops(getBaseMetaTileEntity().getWorld(), mMineList.get(0).chunkPosX, mMineList.get(0).chunkPosY, mMineList.get(0).chunkPosZ, getBaseMetaTileEntity().getMetaIDOffset(mMineList.get(0).chunkPosX, mMineList.get(0).chunkPosY, mMineList.get(0).chunkPosZ), 1);
|
tDrops = tMineBlock.getDrops(getBaseMetaTileEntity().getWorld(), mMineList.get(0).chunkPosX, mMineList.get(0).chunkPosY, mMineList.get(0).chunkPosZ, getBaseMetaTileEntity().getMetaIDOffset(mMineList.get(0).chunkPosX, mMineList.get(0).chunkPosY, mMineList.get(0).chunkPosZ), 1);
|
||||||
if (!tDrops.isEmpty()) {
|
if (!tDrops.isEmpty()) {
|
||||||
ItemData tData = GT_OreDictUnificator.getItemData(tDrops.get(0).copy());
|
ItemData tData = GT_OreDictUnificator.getItemData(tDrops.get(0).copy());
|
||||||
if (tData.mPrefix != OrePrefixes.crushed&& tData.mMaterial.mMaterial != Materials.Oilsands) {
|
if (tData.mPrefix != OrePrefixes.crushed&& tData.mMaterial.mMaterial != Materials.Oilsands) {
|
||||||
GT_Recipe tRecipe = GT_Recipe.GT_Recipe_Map.sMaceratorRecipes.findRecipe(getBaseMetaTileEntity(), false, tVoltage, null, tDrops.get(0).copy());
|
GT_Recipe tRecipe = GT_Recipe.GT_Recipe_Map.sMaceratorRecipes.findRecipe(getBaseMetaTileEntity(), false, tVoltage, null, tDrops.get(0).copy());
|
||||||
if (tRecipe != null) {
|
if (tRecipe != null) {
|
||||||
|
@ -291,4 +293,4 @@ public class GT_MetaTileEntity_AdvMiner2 extends GT_MetaTileEntity_MultiBlockBas
|
||||||
return new GT_MetaTileEntity_AdvMiner2(this.mName);
|
return new GT_MetaTileEntity_AdvMiner2(this.mName);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -34,13 +34,13 @@ public class GT_MetaTileEntity_AssemblyLine
|
||||||
}
|
}
|
||||||
|
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{"Assembly line",
|
return new String[]{"Assembly line",
|
||||||
"Size: 3x(2-16)x4, variable lenght",
|
"Size: 3x(2-16)x4, variable length",
|
||||||
"Bottom: Steel Casing(or Maintainance or Input Hatch), Input Bus(Last Output Bus), Steel Casing",
|
"Bottom: Steel Casing(or Maintenance or Input Hatch), Input Bus(Last Output Bus), Steel Casing",
|
||||||
"Middle: Reinforced Glass, Assembling Line, Reinforced Glass",
|
"Middle: Reinforced Glass, Assembling Line, Reinforced Glass",
|
||||||
"UpMiddle: Grate Casing(or Controller), Assambling Casing, Grate Casing",
|
"UpMiddle: Grate Casing(or Controller), Assembling Casing, Grate Casing",
|
||||||
"Top: Steel Casing(or Energy Hatch)",
|
"Top: Steel Casing(or Energy Hatch)",
|
||||||
"Up to 16 repeating slices, last is Output Bus"};
|
"Up to 16 repeating slices, last is Output Bus"};
|
||||||
}
|
}
|
||||||
|
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
|
@ -137,74 +137,74 @@ public class GT_MetaTileEntity_AssemblyLine
|
||||||
int xDir = ForgeDirection.getOrientation(aBaseMetaTileEntity.getBackFacing()).offsetX;
|
int xDir = ForgeDirection.getOrientation(aBaseMetaTileEntity.getBackFacing()).offsetX;
|
||||||
int zDir = ForgeDirection.getOrientation(aBaseMetaTileEntity.getBackFacing()).offsetZ;
|
int zDir = ForgeDirection.getOrientation(aBaseMetaTileEntity.getBackFacing()).offsetZ;
|
||||||
if (xDir != 0) {
|
if (xDir != 0) {
|
||||||
for(int r = 0; r <= 16; r++){
|
for(int r = 0; r <= 16; r++){
|
||||||
int i = r*xDir;
|
int i = r*xDir;
|
||||||
|
|
||||||
if(i!=0&&aBaseMetaTileEntity.getBlockOffset(0, 0, i)!=GregTech_API.sBlockCasings3&&aBaseMetaTileEntity.getMetaIDOffset(0, 0, i)!=10){return false;}
|
if(i!=0&&aBaseMetaTileEntity.getBlockOffset(0, 0, i)!=GregTech_API.sBlockCasings3&&aBaseMetaTileEntity.getMetaIDOffset(0, 0, i)!=10){return false;}
|
||||||
if(!aBaseMetaTileEntity.getBlockOffset(0, -1, i).getUnlocalizedName().equals("blockAlloyGlass")){return false;}
|
if(!aBaseMetaTileEntity.getBlockOffset(0, -1, i).getUnlocalizedName().equals("blockAlloyGlass")){return false;}
|
||||||
IGregTechTileEntity tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(0, -2, i);
|
IGregTechTileEntity tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(0, -2, i);
|
||||||
if ((!addMaintenanceToMachineList(tTileEntity, 16)) && (!addInputToMachineList(tTileEntity, 16))){
|
if ((!addMaintenanceToMachineList(tTileEntity, 16)) && (!addInputToMachineList(tTileEntity, 16))){
|
||||||
if (aBaseMetaTileEntity.getBlockOffset(0, -2, i) != GregTech_API.sBlockCasings2) {return false;}
|
if (aBaseMetaTileEntity.getBlockOffset(0, -2, i) != GregTech_API.sBlockCasings2) {return false;}
|
||||||
if (aBaseMetaTileEntity.getMetaIDOffset(0, -2, i) != 0) {return false;}
|
if (aBaseMetaTileEntity.getMetaIDOffset(0, -2, i) != 0) {return false;}
|
||||||
}
|
}
|
||||||
|
|
||||||
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(xDir, 1, i);
|
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(xDir, 1, i);
|
||||||
if (!addEnergyInputToMachineList(tTileEntity, 16)){
|
if (!addEnergyInputToMachineList(tTileEntity, 16)){
|
||||||
if (aBaseMetaTileEntity.getBlockOffset(xDir, 1, i) != GregTech_API.sBlockCasings2) {return false;}
|
if (aBaseMetaTileEntity.getBlockOffset(xDir, 1, i) != GregTech_API.sBlockCasings2) {return false;}
|
||||||
if (aBaseMetaTileEntity.getMetaIDOffset(xDir, 1, i) != 0) {return false;}
|
if (aBaseMetaTileEntity.getMetaIDOffset(xDir, 1, i) != 0) {return false;}
|
||||||
}
|
}
|
||||||
if(i!=0&&aBaseMetaTileEntity.getBlockOffset(xDir, 0, i)!=GregTech_API.sBlockCasings2&&aBaseMetaTileEntity.getMetaIDOffset(xDir, 0, i)!=9){return false;}
|
if(i!=0&&aBaseMetaTileEntity.getBlockOffset(xDir, 0, i)!=GregTech_API.sBlockCasings2&&aBaseMetaTileEntity.getMetaIDOffset(xDir, 0, i)!=9){return false;}
|
||||||
if(i!=0&&aBaseMetaTileEntity.getBlockOffset(xDir,-1, i)!=GregTech_API.sBlockCasings2&&aBaseMetaTileEntity.getMetaIDOffset(xDir,-1, i)!=5){return false;}
|
if(i!=0&&aBaseMetaTileEntity.getBlockOffset(xDir,-1, i)!=GregTech_API.sBlockCasings2&&aBaseMetaTileEntity.getMetaIDOffset(xDir,-1, i)!=5){return false;}
|
||||||
|
|
||||||
|
|
||||||
if(aBaseMetaTileEntity.getBlockOffset(xDir*2, 0, i)!=GregTech_API.sBlockCasings3&&aBaseMetaTileEntity.getMetaIDOffset(xDir*2, 0, i)!=10){return false;}
|
if(aBaseMetaTileEntity.getBlockOffset(xDir*2, 0, i)!=GregTech_API.sBlockCasings3&&aBaseMetaTileEntity.getMetaIDOffset(xDir*2, 0, i)!=10){return false;}
|
||||||
if(!aBaseMetaTileEntity.getBlockOffset(xDir*2, -1, i).getUnlocalizedName().equals("blockAlloyGlass")){return false;}
|
if(!aBaseMetaTileEntity.getBlockOffset(xDir*2, -1, i).getUnlocalizedName().equals("blockAlloyGlass")){return false;}
|
||||||
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(xDir*2, -2, i);
|
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(xDir*2, -2, i);
|
||||||
if ((!addMaintenanceToMachineList(tTileEntity, 16)) && (!addInputToMachineList(tTileEntity, 16))){
|
if ((!addMaintenanceToMachineList(tTileEntity, 16)) && (!addInputToMachineList(tTileEntity, 16))){
|
||||||
if (aBaseMetaTileEntity.getBlockOffset(xDir*2, -2, i) != GregTech_API.sBlockCasings2) {return false;}
|
if (aBaseMetaTileEntity.getBlockOffset(xDir*2, -2, i) != GregTech_API.sBlockCasings2) {return false;}
|
||||||
if (aBaseMetaTileEntity.getMetaIDOffset(xDir*2, -2, i) != 0) {return false;}
|
if (aBaseMetaTileEntity.getMetaIDOffset(xDir*2, -2, i) != 0) {return false;}
|
||||||
}
|
}
|
||||||
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(xDir, -2, i);
|
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(xDir, -2, i);
|
||||||
if (!addInputToMachineList(tTileEntity, 16)){
|
if (!addInputToMachineList(tTileEntity, 16)){
|
||||||
if (!addOutputToMachineList(tTileEntity, 16)){;return false;
|
if (!addOutputToMachineList(tTileEntity, 16)){;return false;
|
||||||
}else{if(r>0){return true;}else{return false;}}
|
}else{if(r>0){return true;}else{return false;}}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
for(int r = 0; r <= 16; r++){
|
for(int r = 0; r <= 16; r++){
|
||||||
int i = r*-zDir;
|
int i = r*-zDir;
|
||||||
|
|
||||||
if(i!=0&&aBaseMetaTileEntity.getBlockOffset(i, 0, 0)!=GregTech_API.sBlockCasings3&&aBaseMetaTileEntity.getMetaIDOffset(i, 0, 0)!=10){return false;}
|
if(i!=0&&aBaseMetaTileEntity.getBlockOffset(i, 0, 0)!=GregTech_API.sBlockCasings3&&aBaseMetaTileEntity.getMetaIDOffset(i, 0, 0)!=10){return false;}
|
||||||
if(!aBaseMetaTileEntity.getBlockOffset(i, -1, 0).getUnlocalizedName().equals("blockAlloyGlass")){return false;}
|
if(!aBaseMetaTileEntity.getBlockOffset(i, -1, 0).getUnlocalizedName().equals("blockAlloyGlass")){return false;}
|
||||||
IGregTechTileEntity tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(i, -2, 0);
|
IGregTechTileEntity tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(i, -2, 0);
|
||||||
if ((!addMaintenanceToMachineList(tTileEntity, 16)) && (!addInputToMachineList(tTileEntity, 16))){
|
if ((!addMaintenanceToMachineList(tTileEntity, 16)) && (!addInputToMachineList(tTileEntity, 16))){
|
||||||
if (aBaseMetaTileEntity.getBlockOffset(i, -2, 0) != GregTech_API.sBlockCasings2) {return false;}
|
if (aBaseMetaTileEntity.getBlockOffset(i, -2, 0) != GregTech_API.sBlockCasings2) {return false;}
|
||||||
if (aBaseMetaTileEntity.getMetaIDOffset(i, -2, 0) != 0) {return false;}
|
if (aBaseMetaTileEntity.getMetaIDOffset(i, -2, 0) != 0) {return false;}
|
||||||
}
|
}
|
||||||
|
|
||||||
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(i, 1, zDir);
|
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(i, 1, zDir);
|
||||||
if (!addEnergyInputToMachineList(tTileEntity, 16)){
|
if (!addEnergyInputToMachineList(tTileEntity, 16)){
|
||||||
if (aBaseMetaTileEntity.getBlockOffset(i, 1, zDir) != GregTech_API.sBlockCasings2) {return false;}
|
if (aBaseMetaTileEntity.getBlockOffset(i, 1, zDir) != GregTech_API.sBlockCasings2) {return false;}
|
||||||
if (aBaseMetaTileEntity.getMetaIDOffset(i, 1, zDir) != 0) {return false;}
|
if (aBaseMetaTileEntity.getMetaIDOffset(i, 1, zDir) != 0) {return false;}
|
||||||
}
|
}
|
||||||
if(i!=0&&aBaseMetaTileEntity.getBlockOffset(i, 0, zDir)!=GregTech_API.sBlockCasings2&&aBaseMetaTileEntity.getMetaIDOffset(i, 0, zDir)!=9){return false;}
|
if(i!=0&&aBaseMetaTileEntity.getBlockOffset(i, 0, zDir)!=GregTech_API.sBlockCasings2&&aBaseMetaTileEntity.getMetaIDOffset(i, 0, zDir)!=9){return false;}
|
||||||
if(i!=0&&aBaseMetaTileEntity.getBlockOffset(i,-1, zDir)!=GregTech_API.sBlockCasings2&&aBaseMetaTileEntity.getMetaIDOffset(i,-1, zDir)!=5){return false;}
|
if(i!=0&&aBaseMetaTileEntity.getBlockOffset(i,-1, zDir)!=GregTech_API.sBlockCasings2&&aBaseMetaTileEntity.getMetaIDOffset(i,-1, zDir)!=5){return false;}
|
||||||
|
|
||||||
|
|
||||||
if(aBaseMetaTileEntity.getBlockOffset(i, 0, zDir*2)!=GregTech_API.sBlockCasings3&&aBaseMetaTileEntity.getMetaIDOffset(i, 0, zDir*2)!=10){return false;}
|
if(aBaseMetaTileEntity.getBlockOffset(i, 0, zDir*2)!=GregTech_API.sBlockCasings3&&aBaseMetaTileEntity.getMetaIDOffset(i, 0, zDir*2)!=10){return false;}
|
||||||
if(!aBaseMetaTileEntity.getBlockOffset(i, -1, zDir*2).getUnlocalizedName().equals("blockAlloyGlass")){return false;}
|
if(!aBaseMetaTileEntity.getBlockOffset(i, -1, zDir*2).getUnlocalizedName().equals("blockAlloyGlass")){return false;}
|
||||||
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(i, -2, zDir*2);
|
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(i, -2, zDir*2);
|
||||||
if ((!addMaintenanceToMachineList(tTileEntity, 16)) && (!addInputToMachineList(tTileEntity, 16))){
|
if ((!addMaintenanceToMachineList(tTileEntity, 16)) && (!addInputToMachineList(tTileEntity, 16))){
|
||||||
if (aBaseMetaTileEntity.getBlockOffset(i, -2, zDir*2) != GregTech_API.sBlockCasings2) {return false;}
|
if (aBaseMetaTileEntity.getBlockOffset(i, -2, zDir*2) != GregTech_API.sBlockCasings2) {return false;}
|
||||||
if (aBaseMetaTileEntity.getMetaIDOffset(i, -2, zDir*2) != 0) {return false;}
|
if (aBaseMetaTileEntity.getMetaIDOffset(i, -2, zDir*2) != 0) {return false;}
|
||||||
}
|
}
|
||||||
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(i, -2, zDir);
|
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(i, -2, zDir);
|
||||||
if (!addInputToMachineList(tTileEntity, 16)){
|
if (!addInputToMachineList(tTileEntity, 16)){
|
||||||
if (!addOutputToMachineList(tTileEntity, 16)){
|
if (!addOutputToMachineList(tTileEntity, 16)){
|
||||||
}else{if(r>0){return true;}else{return false;}}
|
}else{if(r>0){return true;}else{return false;}}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -227,4 +227,4 @@ public class GT_MetaTileEntity_AssemblyLine
|
||||||
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -43,7 +43,11 @@ public class GT_MetaTileEntity_BronzeBlastFurnace
|
||||||
}
|
}
|
||||||
|
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{"To get your first Steel", "Multiblock: 3x3x4 hollow with opening on top", "32 Bronze Plated Bricks required"};
|
return new String[]{
|
||||||
|
"Controller Block for the Bronze Blast Furnace",
|
||||||
|
"How to get your first Steel",
|
||||||
|
"Size(WxHxD): 3x4x3 (Hollow, with opening on top)",
|
||||||
|
"Bronze Plated Bricks for the rest (32 at least!)"};
|
||||||
}
|
}
|
||||||
|
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
|
@ -338,4 +342,4 @@ public class GT_MetaTileEntity_BronzeBlastFurnace
|
||||||
public byte getTileEntityBaseType() {
|
public byte getTileEntityBaseType() {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -36,14 +36,14 @@ public class GT_MetaTileEntity_Charcoal_Pit extends GT_MetaTileEntity_MultiBlock
|
||||||
}
|
}
|
||||||
|
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{"Charcoal pit controller",
|
return new String[]{
|
||||||
"Place on top of a pile of wood logs",
|
"Controller for the Charcoal Pit",
|
||||||
"Maximum size of logs below 11x11x5",
|
"Converts Logs into Brittle Charcoal blocks",
|
||||||
"No air beween logs alowed",
|
"Max Size(WxHxD): 11x6x11, Controller (Top layer, centered)",
|
||||||
"Sides and top must be dirt or grass",
|
"11x1x11 of Bricks (Bottom layer only)",
|
||||||
"Below logs must be bricks",
|
"11x5x11 of Logs (Above bottom Brick layer)",
|
||||||
"No other blocks can touch logs",
|
"Only grass/dirt can touch Log blocks",
|
||||||
"Turns logs into Brittle Charcoal blocks"};
|
"No air between logs allowed"};
|
||||||
}
|
}
|
||||||
|
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
|
@ -184,7 +184,7 @@ public class GT_MetaTileEntity_Charcoal_Pit extends GT_MetaTileEntity_MultiBlock
|
||||||
if (p6) aList2.add(new ChunkPosition(aX, aY, aZ - 1));
|
if (p6) aList2.add(new ChunkPosition(aX, aY, aZ - 1));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isWoodLog(Block log){
|
public boolean isWoodLog(Block log){
|
||||||
String tTool = log.getHarvestTool(0);
|
String tTool = log.getHarvestTool(0);
|
||||||
return OrePrefixes.log.contains(new ItemStack(log, 1))&& ((tTool != null) && (tTool.equals("axe"))) || (log.getMaterial() == Material.wood);
|
return OrePrefixes.log.contains(new ItemStack(log, 1))&& ((tTool != null) && (tTool.equals("axe"))) || (log.getMaterial() == Material.wood);
|
||||||
|
@ -219,4 +219,4 @@ public class GT_MetaTileEntity_Charcoal_Pit extends GT_MetaTileEntity_MultiBlock
|
||||||
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -41,11 +41,12 @@ public class GT_MetaTileEntity_DistillationTower
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Controller Block for the Distillation Tower",
|
"Controller Block for the Distillation Tower",
|
||||||
"Size: 3x3x6 (Hollow)", "Controller (front bottom)",
|
"Size(WxHxD): 3x6x3 (Hollow), Controller (Front bottom)",
|
||||||
"1x Input Hatch (bottom)",
|
"1x Input Hatch (Any bottom layer casing)",
|
||||||
"5x Output Hatch (one each height level besides botton)",
|
"5x Output Hatch (Any casing besides bottom layer)",
|
||||||
"1x Output Bus (Botton)", "1x Energy Hatch (anywhere)",
|
"1x Output Bus (Any bottom layer casing)",
|
||||||
"1x Maintenance Hatch (anywhere)",
|
"1x Maintenance Hatch (Any casing)",
|
||||||
|
"1x Energy Hatch (Any casing)",
|
||||||
"Clean Stainless Steel Casings for the rest (26 at least!)"};
|
"Clean Stainless Steel Casings for the rest (26 at least!)"};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,12 +88,12 @@ public class GT_MetaTileEntity_DistillationTower
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
long tVoltage = getMaxInputVoltage();
|
long tVoltage = getMaxInputVoltage();
|
||||||
byte tTier = (byte) Math.max(1, GT_Utility.getTier(tVoltage));
|
byte tTier = (byte) Math.max(1, GT_Utility.getTier(tVoltage));
|
||||||
FluidStack[] tFluids = (FluidStack[]) Arrays.copyOfRange(tFluidList.toArray(new FluidStack[tFluidList.size()]), 0, 1);
|
FluidStack[] tFluids = (FluidStack[]) Arrays.copyOfRange(tFluidList.toArray(new FluidStack[tFluidList.size()]), 0, 1);
|
||||||
if (tFluids.length > 0) {
|
if (tFluids.length > 0) {
|
||||||
GT_Recipe tRecipe = GT_Recipe.GT_Recipe_Map.sDistillationRecipes.findRecipe(getBaseMetaTileEntity(), false, gregtech.api.enums.GT_Values.V[tTier], tFluids, new ItemStack[]{});
|
GT_Recipe tRecipe = GT_Recipe.GT_Recipe_Map.sDistillationRecipes.findRecipe(getBaseMetaTileEntity(), false, gregtech.api.enums.GT_Values.V[tTier], tFluids, new ItemStack[]{});
|
||||||
if (tRecipe != null) {
|
if (tRecipe != null) {
|
||||||
if (tRecipe.isRecipeInputEqual(true, tFluids, new ItemStack[]{})) {
|
if (tRecipe.isRecipeInputEqual(true, tFluids, new ItemStack[]{})) {
|
||||||
this.mEfficiency = (10000 - (getIdealStatus() - getRepairStatus()) * 1000);
|
this.mEfficiency = (10000 - (getIdealStatus() - getRepairStatus()) * 1000);
|
||||||
|
@ -114,7 +115,7 @@ public class GT_MetaTileEntity_DistillationTower
|
||||||
this.mMaxProgresstime = Math.max(1, this.mMaxProgresstime);
|
this.mMaxProgresstime = Math.max(1, this.mMaxProgresstime);
|
||||||
this.mOutputItems = new ItemStack[]{tRecipe.getOutput(0)};
|
this.mOutputItems = new ItemStack[]{tRecipe.getOutput(0)};
|
||||||
this.mOutputFluids = tRecipe.mFluidOutputs.clone();
|
this.mOutputFluids = tRecipe.mFluidOutputs.clone();
|
||||||
ArrayUtils.reverse(mOutputFluids);
|
ArrayUtils.reverse(mOutputFluids);
|
||||||
updateSlots();
|
updateSlots();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,16 @@ public class GT_MetaTileEntity_ElectricBlastFurnace
|
||||||
}
|
}
|
||||||
|
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{"Controller Block for the Blast Furnace", "Size: 3x3x4 (Hollow)", "Controller (front middle at bottom)", "16x Heating Coils (two middle Layers, hollow)", "1x Input (one of bottom)", "1x Output (one of bottom)", "1x Energy Hatch (one of bottom)", "1x Maintenance Hatch (one of bottom)", "1x Muffler Hatch (top middle)", "Heat Proof Machine Casings for the rest"};
|
return new String[]{
|
||||||
|
"Controller Block for the Blast Furnace",
|
||||||
|
"Size(WxHxD): 3x4x3 (Hollow), Controller (Front middle bottom)",
|
||||||
|
"16x Heating Coils (Two middle Layers, hollow)",
|
||||||
|
"1x Input (Any bottom layer casing)",
|
||||||
|
"1x Output (Any bottom layer casing)",
|
||||||
|
"1x Energy Hatch (Any bottom layer casing)",
|
||||||
|
"1x Maintenance Hatch (Any bottom layer casing)",
|
||||||
|
"1x Muffler Hatch (Top middle)",
|
||||||
|
"Heat Proof Machine Casings for the rest"};
|
||||||
}
|
}
|
||||||
|
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
|
@ -210,4 +219,4 @@ public class GT_MetaTileEntity_ElectricBlastFurnace
|
||||||
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -440,4 +440,28 @@ public abstract class GT_MetaTileEntity_FusionComputer extends GT_MetaTileEntity
|
||||||
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String[] getInfoData() {
|
||||||
|
String tier = tier() == 6 ? "I" : tier() == 7 ? "II" : "III";
|
||||||
|
float plasmaOut = 0;
|
||||||
|
int powerRequired = 0;
|
||||||
|
if (this.mLastRecipe != null) {
|
||||||
|
powerRequired = this.mLastRecipe.mEUt;
|
||||||
|
if (this.mLastRecipe.getFluidOutput(0) != null) {
|
||||||
|
plasmaOut = (float)this.mLastRecipe.getFluidOutput(0).amount / (float)this.mLastRecipe.mDuration;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return new String[]{
|
||||||
|
"Fusion Reactor MK "+tier,
|
||||||
|
"EU Required: "+powerRequired+"EU/t",
|
||||||
|
"Stored EU: "+mEUStore+" / "+maxEUStore(),
|
||||||
|
"Plasma Output: "+plasmaOut+"L/t"};
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isGivingInformation() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -37,16 +37,15 @@ public class GT_MetaTileEntity_HeatExchanger extends GT_MetaTileEntity_MultiBloc
|
||||||
|
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Controller Block for the Heat Exchanger",
|
"Controller Block for the Heat Exchanger",
|
||||||
"Size: 3x3x4",
|
"Size(WxHxD): 3x4x3, Controller (Front middle at bottom)",
|
||||||
"Controller (front middle at bottom)",
|
"3x3x4 of Stable Titanium Casing (hollow, Min 24!)",
|
||||||
"3x3x4 of Stable Titanium Casing (hollow, Min 24!)",
|
"2 Titanium Pipe Casing Blocks (Inside the Hollow Casing)",
|
||||||
"2 Titanium Pipe Casing Blocks inside the Hollow Casing",
|
"1x Distillated Water Input (Any casing)",
|
||||||
"1x Distillated Water Input (one of the Casings)",
|
"min 1 Steam Output (Any casing)",
|
||||||
"min 1 Steam Output (one of the Casings)",
|
"1x Hot Fluid Input (Bottom center)",
|
||||||
"1x Maintenance Hatch (one of the Casings)",
|
"1x Cold Fluid Output (Top Center)",
|
||||||
"1x Hot Fluid Input (botton Center)",
|
"1x Maintenance Hatch (Any casing)"};
|
||||||
"1x Cold Fluid Output (top Center)"};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -288,4 +287,4 @@ public class GT_MetaTileEntity_HeatExchanger extends GT_MetaTileEntity_MultiBloc
|
||||||
public IMetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity) {
|
public IMetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity) {
|
||||||
return new GT_MetaTileEntity_HeatExchanger(this.mName);
|
return new GT_MetaTileEntity_HeatExchanger(this.mName);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -33,7 +33,15 @@ public class GT_MetaTileEntity_ImplosionCompressor
|
||||||
}
|
}
|
||||||
|
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{"Controller Block for the Implosion Compressor", "Size: 3x3x3 (Hollow)", "Controller (front centered)", "1x Input (anywhere)", "1x Output (anywhere)", "1x Energy Hatch (anywhere)", "1x Maintenance Hatch (anywhere)", "1x Muffler Hatch (anywhere)", "Solid Steel Casings for the rest (16 at least!)"};
|
return new String[]{
|
||||||
|
"Controller Block for the Implosion Compressor",
|
||||||
|
"Size(WxHxD): 3x3x3 (Hollow), Controller (Front centered)",
|
||||||
|
"1x Input Bus (Any casing)",
|
||||||
|
"1x Output Bus (Any casing)",
|
||||||
|
"1x Maintenance Hatch (Any casing)",
|
||||||
|
"1x Muffler Hatch (Any casing)",
|
||||||
|
"1x Energy Hatch (Any casing)",
|
||||||
|
"Solid Steel Casings for the rest (16 at least!)"};
|
||||||
}
|
}
|
||||||
|
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
|
@ -144,4 +152,4 @@ public class GT_MetaTileEntity_ImplosionCompressor
|
||||||
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -32,7 +32,18 @@ public abstract class GT_MetaTileEntity_LargeBoiler
|
||||||
}
|
}
|
||||||
|
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{"Controller Block for the Large Boiler", "Size: 3x3x5", "Controller (front middle in Fireboxes)", "3x3 of Fire Boxes (bottom Layer, Min 3!)", "3x3x4 of Casing (above Fireboxes, hollow, Min 24!)", "3 Pipe Casing Blocks inside the Hollow Casing", "1x Input (one of Fireboxes)", "1x Maintenance Hatch (one of Fireboxes)", "1x Muffler Hatch (one of Fireboxes)", "1x Fluid Output (one of Main Casing)","Produces "+getEUt()*40+"L/sec steam","Runs "+(runtimeBoost(20)/20f)+" sec per coal of fuel","Refined liquid fuels have 1/4 efficiency"};
|
return new String[]{
|
||||||
|
"Controller Block for the Large Boiler",
|
||||||
|
"Produces "+(getEUt()*40)*(runtimeBoost(20)/20f)+"L of Steam/sec for 1 Coal",
|
||||||
|
"Size(WxHxD): 3x5x3, Controller (Front middle in Fireboxes)",
|
||||||
|
"3x1x3 of Fire Boxes (Bottom layer, Min 3)",
|
||||||
|
"3x4x3 of Casing (Above Fireboxes, hollow, Min 24!)",
|
||||||
|
"3 Pipe Casing Blocks (Inside the Hollow Casing)",
|
||||||
|
"1x Input Hatch/Bus (Any Firebox)",
|
||||||
|
"1x Output Hatch (Any Firebox)",
|
||||||
|
"1x Maintenance Hatch (Any Firebox)",
|
||||||
|
"1x Muffler Hatch (Any Firebox)",
|
||||||
|
"Refined liquid fuels have 1/4 efficiency"};
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract Block getCasingBlock();
|
public abstract Block getCasingBlock();
|
||||||
|
@ -227,4 +238,4 @@ public abstract class GT_MetaTileEntity_LargeBoiler
|
||||||
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -20,6 +20,8 @@ public abstract class GT_MetaTileEntity_LargeTurbine extends GT_MetaTileEntity_M
|
||||||
|
|
||||||
protected int baseEff = 0;
|
protected int baseEff = 0;
|
||||||
protected int optFlow = 0;
|
protected int optFlow = 0;
|
||||||
|
protected int realOptFlow = 0;
|
||||||
|
protected int storedFluid = 0;
|
||||||
protected int counter = 0;
|
protected int counter = 0;
|
||||||
|
|
||||||
public GT_MetaTileEntity_LargeTurbine(int aID, String aName, String aNameRegional) {
|
public GT_MetaTileEntity_LargeTurbine(int aID, String aName, String aNameRegional) {
|
||||||
|
@ -33,7 +35,7 @@ public abstract class GT_MetaTileEntity_LargeTurbine extends GT_MetaTileEntity_M
|
||||||
public boolean isCorrectMachinePart(ItemStack aStack) {
|
public boolean isCorrectMachinePart(ItemStack aStack) {
|
||||||
return getMaxEfficiency(aStack) > 0;
|
return getMaxEfficiency(aStack) > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Object getClientGUI(int aID, InventoryPlayer aPlayerInventory, IGregTechTileEntity aBaseMetaTileEntity) {
|
public Object getClientGUI(int aID, InventoryPlayer aPlayerInventory, IGregTechTileEntity aBaseMetaTileEntity) {
|
||||||
return new GT_GUIContainer_MultiMachine(aPlayerInventory, aBaseMetaTileEntity, getLocalName(), "LargeTurbine.png");
|
return new GT_GUIContainer_MultiMachine(aPlayerInventory, aBaseMetaTileEntity, getLocalName(), "LargeTurbine.png");
|
||||||
}
|
}
|
||||||
|
@ -190,29 +192,31 @@ public abstract class GT_MetaTileEntity_LargeTurbine extends GT_MetaTileEntity_M
|
||||||
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getInfoData() {
|
public String[] getInfoData() {
|
||||||
String tRunning = mMaxProgresstime>0 ? "Turbine running":"Turbine stopped";
|
String tRunning = mMaxProgresstime>0 ? "Turbine running":"Turbine stopped";
|
||||||
String tMaintainance = getIdealStatus() == getRepairStatus() ? "No Maintainance issues" : "Needs Maintainance" ;
|
String tMaintainance = getIdealStatus() == getRepairStatus() ? "No Maintainance issues" : "Needs Maintainance" ;
|
||||||
int tDura = 0;
|
int tDura = 0;
|
||||||
|
|
||||||
if (mInventory[1] != null && mInventory[1].getItem() instanceof GT_MetaGenerated_Tool_01) {
|
if (mInventory[1] != null && mInventory[1].getItem() instanceof GT_MetaGenerated_Tool_01) {
|
||||||
tDura = (int) ((100.0f / GT_MetaGenerated_Tool.getToolMaxDamage(mInventory[1]) * (GT_MetaGenerated_Tool.getToolDamage(mInventory[1]))+1));
|
tDura = (int) ((100.0f / GT_MetaGenerated_Tool.getToolMaxDamage(mInventory[1]) * (GT_MetaGenerated_Tool.getToolDamage(mInventory[1]))+1));
|
||||||
}
|
}
|
||||||
|
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Large Turbine",
|
"Large Turbine",
|
||||||
tRunning,
|
tRunning,
|
||||||
"Current output: "+mEUt+" EU/t",
|
"Current Output: "+mEUt+" EU/t",
|
||||||
"Current speed: "+(mEfficiency/100)+"%",
|
"Optimal Flow: "+realOptFlow+" L/t",
|
||||||
tMaintainance,
|
"Fuel Remaining: "+storedFluid+"L",
|
||||||
"Turbine Damage: "+tDura+"%"};
|
"Current Speed: "+(mEfficiency/100)+"%",
|
||||||
|
"Turbine Damage: "+tDura+"%",
|
||||||
|
tMaintainance};
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isGivingInformation() {
|
public boolean isGivingInformation() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -35,13 +35,13 @@ public class GT_MetaTileEntity_LargeTurbine_Gas extends GT_MetaTileEntity_LargeT
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Controller Block for the Large Gas Turbine",
|
"Controller Block for the Large Gas Turbine",
|
||||||
"Size: 3x4x3 (Hollow)", "Controller (front centered)",
|
"Size(WxHxD): 3x3x4 (Hollow), Controller (Front centered)",
|
||||||
"1x Input Hatch (side centered)",
|
"1x Input Hatch (Side centered)",
|
||||||
"1x Dynamo Hatch (back centered)",
|
"1x Maintenance Hatch (Side centered)",
|
||||||
"1x Maintenance Hatch (side centered)",
|
"1x Muffler Hatch (Side centered)",
|
||||||
"1x Muffler Hatch (side centered)",
|
"1x Dynamo Hatch (Back centered)",
|
||||||
"Stainless Steel Turbine Casings for the rest (24 at least!)",
|
"Titanium Turbine Casings for the rest (24 at least!)",
|
||||||
"Needs a Turbine Item (inside controller GUI)"};
|
"Needs a Turbine Item (Inside controller GUI)"};
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getFuelValue(FluidStack aLiquid) {
|
public int getFuelValue(FluidStack aLiquid) {
|
||||||
|
@ -89,6 +89,7 @@ public class GT_MetaTileEntity_LargeTurbine_Gas extends GT_MetaTileEntity_LargeT
|
||||||
FluidStack firstFuelType = new FluidStack(aFluids.get(0), 0); // Identify a SINGLE type of fluid to process. Doesn't matter which one. Ignore the rest!
|
FluidStack firstFuelType = new FluidStack(aFluids.get(0), 0); // Identify a SINGLE type of fluid to process. Doesn't matter which one. Ignore the rest!
|
||||||
int fuelValue = getFuelValue(firstFuelType);
|
int fuelValue = getFuelValue(firstFuelType);
|
||||||
actualOptimalFlow = (int) (aOptFlow / fuelValue);
|
actualOptimalFlow = (int) (aOptFlow / fuelValue);
|
||||||
|
this.realOptFlow = actualOptimalFlow;
|
||||||
|
|
||||||
int remainingFlow = (int) (actualOptimalFlow * 1.25f); // Allowed to use up to 125% of optimal flow. Variable required outside of loop for multi-hatch scenarios.
|
int remainingFlow = (int) (actualOptimalFlow * 1.25f); // Allowed to use up to 125% of optimal flow. Variable required outside of loop for multi-hatch scenarios.
|
||||||
int flow = 0;
|
int flow = 0;
|
||||||
|
@ -99,6 +100,7 @@ public class GT_MetaTileEntity_LargeTurbine_Gas extends GT_MetaTileEntity_LargeT
|
||||||
flow = aFluids.get(i).amount; // Get all (steam) in hatch
|
flow = aFluids.get(i).amount; // Get all (steam) in hatch
|
||||||
flow = Math.min(flow, Math.min(remainingFlow, (int) (actualOptimalFlow * 1.25f))); // try to use up to 125% of optimal flow w/o exceeding remainingFlow
|
flow = Math.min(flow, Math.min(remainingFlow, (int) (actualOptimalFlow * 1.25f))); // try to use up to 125% of optimal flow w/o exceeding remainingFlow
|
||||||
depleteInput(new FluidStack(aFluids.get(i), flow)); // deplete that amount
|
depleteInput(new FluidStack(aFluids.get(i), flow)); // deplete that amount
|
||||||
|
this.storedFluid = aFluids.get(i).amount;
|
||||||
remainingFlow -= flow; // track amount we're allowed to continue depleting from hatches
|
remainingFlow -= flow; // track amount we're allowed to continue depleting from hatches
|
||||||
totalFlow += flow; // track total input used
|
totalFlow += flow; // track total input used
|
||||||
}
|
}
|
||||||
|
@ -124,4 +126,4 @@ public class GT_MetaTileEntity_LargeTurbine_Gas extends GT_MetaTileEntity_LargeT
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -34,12 +34,13 @@ public class GT_MetaTileEntity_LargeTurbine_HPSteam extends GT_MetaTileEntity_La
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Controller Block for the Large High Pressure Steam Turbine",
|
"Controller Block for the Large High Pressure Steam Turbine",
|
||||||
"Size: 3x4x3 (Hollow)", "Controller (front centered)",
|
"Size(WxHxD): 3x3x4 (Hollow), Controller (Front centered)",
|
||||||
"1x Input Hatch (side centered)", "1x Output Hatch(side centered)",
|
"1x Input Hatch (Side centered)",
|
||||||
"1x Dynamo Hatch (back centered)",
|
"1x Maintenance Hatch (Side centered)",
|
||||||
"1x Maintenance Hatch (side centered)",
|
"1x Muffler Hatch (Side centered)",
|
||||||
|
"1x Dynamo Hatch (Back centered)",
|
||||||
"Stainless Steel Turbine Casings for the rest (24 at least!)",
|
"Stainless Steel Turbine Casings for the rest (24 at least!)",
|
||||||
"Needs a Turbine Item (inside controller GUI)"};
|
"Needs a Turbine Item (Inside controller GUI)"};
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -73,13 +74,15 @@ public class GT_MetaTileEntity_LargeTurbine_HPSteam extends GT_MetaTileEntity_La
|
||||||
int totalFlow = 0; // Byproducts are based on actual flow
|
int totalFlow = 0; // Byproducts are based on actual flow
|
||||||
int flow = 0;
|
int flow = 0;
|
||||||
int remainingFlow = (int) (aOptFlow * 1.25f); // Allowed to use up to 125% of optimal flow
|
int remainingFlow = (int) (aOptFlow * 1.25f); // Allowed to use up to 125% of optimal flow
|
||||||
|
this.realOptFlow = (aOptFlow / 2);
|
||||||
|
|
||||||
for (int i = 0; i < aFluids.size() && remainingFlow > 0; i++) {
|
for (int i = 0; i < aFluids.size() && remainingFlow > 0; i++) {
|
||||||
String fluidName = aFluids.get(i).getFluid().getUnlocalizedName(aFluids.get(i));
|
String fluidName = aFluids.get(i).getFluid().getUnlocalizedName(aFluids.get(i));
|
||||||
if (fluidName.equals("ic2.fluidSuperheatedSteam")) {
|
if (fluidName.equals("ic2.fluidSuperheatedSteam")) {
|
||||||
flow = aFluids.get(i).amount; // Get all (steam) in hatch
|
flow = aFluids.get(i).amount; // Get all (steam) in hatch
|
||||||
flow = Math.min(flow, Math.min(remainingFlow, (int) (aOptFlow * 1.25f))); // try to use up to 125% of optimal flow w/o exceeding remainingFlow
|
flow = Math.min(flow, Math.min(remainingFlow, (int) (aOptFlow * 1.25f))); // try to use up to 125% of optimal flow w/o exceeding remainingFlow
|
||||||
depleteInput(new FluidStack(aFluids.get(i), flow)); // deplete that amount
|
depleteInput(new FluidStack(aFluids.get(i), flow)); // deplete that amount
|
||||||
|
this.storedFluid = aFluids.get(i).amount;
|
||||||
remainingFlow -= flow; // track amount we're allowed to keep depleting from hatches
|
remainingFlow -= flow; // track amount we're allowed to keep depleting from hatches
|
||||||
totalFlow += flow; // track total used
|
totalFlow += flow; // track total used
|
||||||
if (!achievement) {
|
if (!achievement) {
|
||||||
|
@ -90,7 +93,7 @@ public class GT_MetaTileEntity_LargeTurbine_HPSteam extends GT_MetaTileEntity_La
|
||||||
achievement = true;
|
achievement = true;
|
||||||
}
|
}
|
||||||
}else if(fluidName.equals("fluid.steam") || fluidName.equals("ic2.fluidSteam") || fluidName.equals("fluid.mfr.steam.still.name")){
|
}else if(fluidName.equals("fluid.steam") || fluidName.equals("ic2.fluidSteam") || fluidName.equals("fluid.mfr.steam.still.name")){
|
||||||
depleteInput(new FluidStack(aFluids.get(i), aFluids.get(i).amount));
|
depleteInput(new FluidStack(aFluids.get(i), aFluids.get(i).amount));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -109,4 +112,4 @@ public class GT_MetaTileEntity_LargeTurbine_HPSteam extends GT_MetaTileEntity_La
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -35,12 +35,13 @@ public class GT_MetaTileEntity_LargeTurbine_Plasma extends GT_MetaTileEntity_Lar
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Controller Block for the Large Plasma Generator",
|
"Controller Block for the Large Plasma Generator",
|
||||||
"Size: 3x4x3 (Hollow)", "Controller (front centered)",
|
"Size(WxHxD): 3x3x4 (Hollow), Controller (Front centered)",
|
||||||
"1x Input Hatch (side centered)",
|
"1x Input Hatch (Side centered)",
|
||||||
"1x Dynamo Hatch (back centered)",
|
"1x Maintenance Hatch (Side centered)",
|
||||||
"1x Maintenance Hatch (side centered)",
|
"1x Muffler Hatch (Side centered)",
|
||||||
|
"1x Dynamo Hatch (Back centered)",
|
||||||
"Tungstensteel Turbine Casings for the rest (24 at least!)",
|
"Tungstensteel Turbine Casings for the rest (24 at least!)",
|
||||||
"Needs a Turbine Item (inside controller GUI)"};
|
"Needs a Turbine Item (Inside controller GUI)"};
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getFuelValue(FluidStack aLiquid) {
|
public int getFuelValue(FluidStack aLiquid) {
|
||||||
|
@ -90,6 +91,7 @@ public class GT_MetaTileEntity_LargeTurbine_Plasma extends GT_MetaTileEntity_Lar
|
||||||
FluidStack firstFuelType = new FluidStack(aFluids.get(0), 0); // Identify a SINGLE type of fluid to process. Doesn't matter which one. Ignore the rest!
|
FluidStack firstFuelType = new FluidStack(aFluids.get(0), 0); // Identify a SINGLE type of fluid to process. Doesn't matter which one. Ignore the rest!
|
||||||
int fuelValue = getFuelValue(firstFuelType);
|
int fuelValue = getFuelValue(firstFuelType);
|
||||||
actualOptimalFlow = (int) ((aOptFlow + fuelValue - 1) / fuelValue);
|
actualOptimalFlow = (int) ((aOptFlow + fuelValue - 1) / fuelValue);
|
||||||
|
this.realOptFlow = (aOptFlow / fuelValue); // For scanner info
|
||||||
|
|
||||||
int remainingFlow = (int) (actualOptimalFlow * 1.25f); // Allowed to use up to 125% of optimal flow. Variable required outside of loop for multi-hatch scenarios.
|
int remainingFlow = (int) (actualOptimalFlow * 1.25f); // Allowed to use up to 125% of optimal flow. Variable required outside of loop for multi-hatch scenarios.
|
||||||
int flow = 0;
|
int flow = 0;
|
||||||
|
@ -100,6 +102,7 @@ public class GT_MetaTileEntity_LargeTurbine_Plasma extends GT_MetaTileEntity_Lar
|
||||||
flow = aFluids.get(i).amount; // Get all (steam) in hatch
|
flow = aFluids.get(i).amount; // Get all (steam) in hatch
|
||||||
flow = Math.min(flow, Math.min(remainingFlow, (int) (actualOptimalFlow * 1.25f))); // try to use up to 125% of optimal flow w/o exceeding remainingFlow
|
flow = Math.min(flow, Math.min(remainingFlow, (int) (actualOptimalFlow * 1.25f))); // try to use up to 125% of optimal flow w/o exceeding remainingFlow
|
||||||
depleteInput(new FluidStack(aFluids.get(i), flow)); // deplete that amount
|
depleteInput(new FluidStack(aFluids.get(i), flow)); // deplete that amount
|
||||||
|
this.storedFluid = aFluids.get(i).amount;
|
||||||
remainingFlow -= flow; // track amount we're allowed to continue depleting from hatches
|
remainingFlow -= flow; // track amount we're allowed to continue depleting from hatches
|
||||||
totalFlow += flow; // track total input used
|
totalFlow += flow; // track total input used
|
||||||
}
|
}
|
||||||
|
@ -125,4 +128,4 @@ public class GT_MetaTileEntity_LargeTurbine_Plasma extends GT_MetaTileEntity_Lar
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -36,12 +36,13 @@ public class GT_MetaTileEntity_LargeTurbine_Steam extends GT_MetaTileEntity_Larg
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Controller Block for the Large Steam Turbine",
|
"Controller Block for the Large Steam Turbine",
|
||||||
"Size: 3x4x3 (Hollow)", "Controller (front centered)",
|
"Size(WxHxD): 3x3x4 (Hollow), Controller (Front centered)",
|
||||||
"1x Input Hatch (side centered)", "1x Output Hatch(side centered)",
|
"1x Input Hatch (Side centered)",
|
||||||
"1x Dynamo Hatch (back centered)",
|
"1x Maintenance Hatch (Side centered)",
|
||||||
"1x Maintenance Hatch (side centered)",
|
"1x Muffler Hatch (Side centered)",
|
||||||
|
"1x Dynamo Hatch (Back centered)",
|
||||||
"Turbine Casings for the rest (24 at least!)",
|
"Turbine Casings for the rest (24 at least!)",
|
||||||
"Needs a Turbine Item (inside controller GUI)"};
|
"Needs a Turbine Item (Inside controller GUI)"};
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -82,6 +83,7 @@ public class GT_MetaTileEntity_LargeTurbine_Steam extends GT_MetaTileEntity_Larg
|
||||||
int totalFlow = 0; // Byproducts are based on actual flow
|
int totalFlow = 0; // Byproducts are based on actual flow
|
||||||
int flow = 0;
|
int flow = 0;
|
||||||
int remainingFlow = (int) (aOptFlow * 1.25f); // Allowed to use up to 125% of optimal flow. Variable required outside of loop for multi-hatch scenarios.
|
int remainingFlow = (int) (aOptFlow * 1.25f); // Allowed to use up to 125% of optimal flow. Variable required outside of loop for multi-hatch scenarios.
|
||||||
|
this.realOptFlow = ((aOptFlow / 2) / 2);
|
||||||
|
|
||||||
for (int i = 0; i < aFluids.size() && remainingFlow > 0; i++) { // loop through each hatch; extract inputs and track totals.
|
for (int i = 0; i < aFluids.size() && remainingFlow > 0; i++) { // loop through each hatch; extract inputs and track totals.
|
||||||
String fluidName = aFluids.get(i).getFluid().getUnlocalizedName(aFluids.get(i));
|
String fluidName = aFluids.get(i).getFluid().getUnlocalizedName(aFluids.get(i));
|
||||||
|
@ -89,6 +91,7 @@ public class GT_MetaTileEntity_LargeTurbine_Steam extends GT_MetaTileEntity_Larg
|
||||||
flow = aFluids.get(i).amount; // Get all (steam) in hatch
|
flow = aFluids.get(i).amount; // Get all (steam) in hatch
|
||||||
flow = Math.min(flow, Math.min(remainingFlow, (int) (aOptFlow * 1.25f))); // try to use up to 125% of optimal flow w/o exceeding remainingFlow
|
flow = Math.min(flow, Math.min(remainingFlow, (int) (aOptFlow * 1.25f))); // try to use up to 125% of optimal flow w/o exceeding remainingFlow
|
||||||
depleteInput(new FluidStack(aFluids.get(i), flow)); // deplete that amount
|
depleteInput(new FluidStack(aFluids.get(i), flow)); // deplete that amount
|
||||||
|
this.storedFluid = aFluids.get(i).amount;
|
||||||
remainingFlow -= flow; // track amount we're allowed to continue depleting from hatches
|
remainingFlow -= flow; // track amount we're allowed to continue depleting from hatches
|
||||||
totalFlow += flow; // track total input used
|
totalFlow += flow; // track total input used
|
||||||
if (!achievement) {
|
if (!achievement) {
|
||||||
|
@ -115,4 +118,4 @@ public class GT_MetaTileEntity_LargeTurbine_Steam extends GT_MetaTileEntity_Larg
|
||||||
|
|
||||||
return tEU;
|
return tEU;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -34,7 +34,17 @@ public class GT_MetaTileEntity_MultiFurnace
|
||||||
}
|
}
|
||||||
|
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{"Smelts up to 6-18 Items at once", "Controller Block for the Multi Smelter", "Size: 3x3x3 (Hollow)", "Controller (front middle at bottom)", "8x Heating Coils (middle Layer, hollow)", "1x Input (one of bottom)", "1x Output (one of bottom)", "1x Energy Hatch (one of bottom)", "1x Maintenance Hatch (one of bottom)", "1x Muffler Hatch (top middle)", "Heat Proof Machine Casings for the rest"};
|
return new String[]{
|
||||||
|
"Controller Block for the Multi Smelter",
|
||||||
|
"Smelts up to 6-18 Items at once",
|
||||||
|
"Size(WxHxD): 3x3x3 (Hollow), Controller (Front middle at bottom)",
|
||||||
|
"8x Heating Coils (Middle layer, hollow)",
|
||||||
|
"1x Input Bus (One of bottom)",
|
||||||
|
"1x Output Bus (One of bottom)",
|
||||||
|
"1x Maintenance Hatch (One of bottom)",
|
||||||
|
"1x Muffler Hatch (Top middle)",
|
||||||
|
"1x Energy Hatch (One of bottom)",
|
||||||
|
"Heat Proof Machine Casings for the rest",};
|
||||||
}
|
}
|
||||||
|
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
|
@ -164,4 +174,4 @@ public class GT_MetaTileEntity_MultiFurnace
|
||||||
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -33,16 +33,15 @@ public class GT_MetaTileEntity_OilCracker extends GT_MetaTileEntity_MultiBlockBa
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Controller Block for the Oil Cracking Unit",
|
"Controller Block for the Oil Cracking Unit",
|
||||||
"Cracks heavy oil into lighter parts",
|
"Cracks heavy oil into lighter parts",
|
||||||
"Size: 3 high, 3 deep, 5 wide",
|
"Size(WxHxD): 5x3x3 (Hollow), Controller (Front center)",
|
||||||
"Controller (front center)",
|
"Ring of 8 Cupronickel Coils (Each side of Controller)",
|
||||||
"Made from Clean Stainless Steel Casings (18 at least!)",
|
"1x Input Hatch (Left side middle)",
|
||||||
"On both sides of the Controller each",
|
"1x Input Hatch (Any middle ring casing)",
|
||||||
"a ring of 8 Cupronickel Coils",
|
"1x Output Hatch (Right side middle)",
|
||||||
"2 Blocks left Input Hatch and 8 Casings",
|
"1x Maintenance Hatch (Any casing)",
|
||||||
"2 Blocks right Output Hatch and 8 Casings",
|
"1x Energy Hatch (Any casing)",
|
||||||
"beween coils: Controller, second input Hatch",
|
"Clean Stainless Steel Casings for the rest (18 at least!)",
|
||||||
"Add steam for lower energy cost(50%) or Hydrogen for bonus output(30%)",
|
"Optional Steam(50% less EU/t) or Hydrogen(30% more output)"};
|
||||||
"Maintainance Hatch and Energy Hatch"};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
|
@ -52,7 +51,7 @@ public class GT_MetaTileEntity_OilCracker extends GT_MetaTileEntity_MultiBlockBa
|
||||||
}
|
}
|
||||||
return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[49]};
|
return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[49]};
|
||||||
}
|
}
|
||||||
|
|
||||||
public Object getClientGUI(int aID, InventoryPlayer aPlayerInventory, IGregTechTileEntity aBaseMetaTileEntity) {
|
public Object getClientGUI(int aID, InventoryPlayer aPlayerInventory, IGregTechTileEntity aBaseMetaTileEntity) {
|
||||||
return new GT_GUIContainer_MultiMachine(aPlayerInventory, aBaseMetaTileEntity, getLocalName(), "OilCrackingUnit.png");
|
return new GT_GUIContainer_MultiMachine(aPlayerInventory, aBaseMetaTileEntity, getLocalName(), "OilCrackingUnit.png");
|
||||||
}
|
}
|
||||||
|
@ -247,4 +246,4 @@ public class GT_MetaTileEntity_OilCracker extends GT_MetaTileEntity_MultiBlockBa
|
||||||
return new GT_MetaTileEntity_OilCracker(this.mName);
|
return new GT_MetaTileEntity_OilCracker(this.mName);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -33,12 +33,13 @@ public class GT_MetaTileEntity_OilDrill extends GT_MetaTileEntity_MultiBlockBase
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Controller Block for the Oil Drilling Rig",
|
"Controller Block for the Oil Drilling Rig",
|
||||||
"Size: 3x3x7", "Controller (front middle at bottom)",
|
"Size(WxHxD): 3x7x3", "Controller (Front middle at bottom)",
|
||||||
"3x3 Base of Solid Steel Casings",
|
"3x1x3 Base of Solid Steel Casings",
|
||||||
"Also part of Base: Energy Input Hatch",
|
"1x3x1 Solid Steel Casing pillar (Center of base)",
|
||||||
"Fluid Output Hatch and Maintainance Hatch",
|
"1x3x1 Steel Frame Boxes (Each Steel pillar side and on top)",
|
||||||
"3x Solid Steel Casings on top the Center of the base",
|
"1x Output Hatch (One of base casings)",
|
||||||
"Steel Frame Boxes on each side and 3 more on top"};
|
"1x Maintenance Hatch (One of base casings)",
|
||||||
|
"1x Energy Hatch (One of base casings)"};
|
||||||
}
|
}
|
||||||
|
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
|
@ -47,7 +48,7 @@ public class GT_MetaTileEntity_OilDrill extends GT_MetaTileEntity_MultiBlockBase
|
||||||
}
|
}
|
||||||
return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[16]};
|
return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[16]};
|
||||||
}
|
}
|
||||||
|
|
||||||
public Object getClientGUI(int aID, InventoryPlayer aPlayerInventory, IGregTechTileEntity aBaseMetaTileEntity) {
|
public Object getClientGUI(int aID, InventoryPlayer aPlayerInventory, IGregTechTileEntity aBaseMetaTileEntity) {
|
||||||
return new GT_GUIContainer_MultiMachine(aPlayerInventory, aBaseMetaTileEntity, getLocalName(), "DrillingRig.png");
|
return new GT_GUIContainer_MultiMachine(aPlayerInventory, aBaseMetaTileEntity, getLocalName(), "DrillingRig.png");
|
||||||
}
|
}
|
||||||
|
@ -233,4 +234,4 @@ public class GT_MetaTileEntity_OilDrill extends GT_MetaTileEntity_MultiBlockBase
|
||||||
return new GT_MetaTileEntity_OilDrill(this.mName);
|
return new GT_MetaTileEntity_OilDrill(this.mName);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -37,16 +37,16 @@ public class GT_MetaTileEntity_ProcessingArray extends GT_MetaTileEntity_MultiBl
|
||||||
}
|
}
|
||||||
|
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{"Controller Block for the Processing Array",
|
return new String[]{
|
||||||
"Size: 3x3x3 (Hollow)",
|
"Controller Block for the Processing Array",
|
||||||
"Controller (front centered)",
|
"Runs supplied machines as if placed in the world",
|
||||||
"1x Input (anywhere)",
|
"Size(WxHxD): 3x3x3 (Hollow), Controller (Front centered)",
|
||||||
"1x Output (anywhere)",
|
"1x Input Hatch/Bus (Any casing)",
|
||||||
"1x Energy Hatch (anywhere)",
|
"1x Output Hatch/Bus (Any casing)",
|
||||||
"1x Maintenance Hatch (anywhere)",
|
"1x Maintenance Hatch (Any casing)",
|
||||||
|
"1x Energy Hatch (Any casing)",
|
||||||
"Robust Tungstensteel Casings for the rest (16 at least!)",
|
"Robust Tungstensteel Casings for the rest (16 at least!)",
|
||||||
"Place up to 16 Single Block GT Machines into the GUI Inventory",
|
"Place up to 16 Single Block GT Machines into the GUI Inventory"};
|
||||||
"They will work the same way as placed directly in world"};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
|
|
|
@ -31,13 +31,15 @@ public class GT_MetaTileEntity_PyrolyseOven extends GT_MetaTileEntity_MultiBlock
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Controller Block for the Pyrolyse Oven",
|
"Controller Block for the Pyrolyse Oven",
|
||||||
"Industrial Charcoal producer and Oil from Plants",
|
"Industrial Charcoal producer and Oil from Plants",
|
||||||
"Size: 5x5x4, Controller (bottom center)",
|
"Size(WxHxD): 5x4x5, Controller (Bottom center)",
|
||||||
"Made from ULV Machine Casings (min 60)",
|
"3x1x3 Kanthal Heating Coils (Inside bottom 5x1x5 layer)",
|
||||||
"Bottom 3x3 Kantal Heating Coils",
|
"9x Kanthal Heating Coils (Centered 3x1x3 area in Bottom layer)",
|
||||||
"4 high ULV Casings around the coils",
|
"1x Input Hatch/Bus (Centered 3x1x3 area in Top layer)",
|
||||||
"bottom row of casings are Energy Hatch",
|
"1x Output Hatch/Bus (Any bottom layer casing)",
|
||||||
"Maintainance Hatch and Output Hatch/Bus",
|
"1x Maintenance Hatch (Any bottom layer casing)",
|
||||||
"top 3x3 has Input Hatch/Bus and Muffler Hatch"};
|
"1x Muffler Hatch (Centered 3x1x3 area in Top layer)",
|
||||||
|
"1x Energy Hatch (Any bottom layer casing)",
|
||||||
|
"ULV Machine Casings for the rest (60 at least!)"};
|
||||||
}
|
}
|
||||||
|
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
|
@ -47,7 +49,7 @@ public class GT_MetaTileEntity_PyrolyseOven extends GT_MetaTileEntity_MultiBlock
|
||||||
}
|
}
|
||||||
return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[0]};
|
return new ITexture[]{Textures.BlockIcons.CASING_BLOCKS[0]};
|
||||||
}
|
}
|
||||||
|
|
||||||
public Object getClientGUI(int aID, InventoryPlayer aPlayerInventory, IGregTechTileEntity aBaseMetaTileEntity) {
|
public Object getClientGUI(int aID, InventoryPlayer aPlayerInventory, IGregTechTileEntity aBaseMetaTileEntity) {
|
||||||
return new GT_GUIContainer_MultiMachine(aPlayerInventory, aBaseMetaTileEntity, getLocalName(), "PyrolyseOven.png");
|
return new GT_GUIContainer_MultiMachine(aPlayerInventory, aBaseMetaTileEntity, getLocalName(), "PyrolyseOven.png");
|
||||||
}
|
}
|
||||||
|
@ -174,4 +176,4 @@ public class GT_MetaTileEntity_PyrolyseOven extends GT_MetaTileEntity_MultiBlock
|
||||||
return new GT_MetaTileEntity_PyrolyseOven(this.mName);
|
return new GT_MetaTileEntity_PyrolyseOven(this.mName);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -31,7 +31,15 @@ public class GT_MetaTileEntity_VacuumFreezer
|
||||||
}
|
}
|
||||||
|
|
||||||
public String[] getDescription() {
|
public String[] getDescription() {
|
||||||
return new String[]{"Controller Block for the Vacuum Freezer", "Size: 3x3x3 (Hollow)", "Controller (front centered)", "1x Input (anywhere)", "1x Output (anywhere)", "1x Energy Hatch (anywhere)", "1x Maintenance Hatch (anywhere)", "Frost Proof Casings for the rest (16 at least!)"};
|
return new String[]{
|
||||||
|
"Controller Block for the Vacuum Freezer",
|
||||||
|
"Super cools hot ingots and cells",
|
||||||
|
"Size(WxHxD): 3x3x3 (Hollow), Controller (Front centered)",
|
||||||
|
"1x Input Bus (Any casing)",
|
||||||
|
"1x Output Bus (Any casing)",
|
||||||
|
"1x Maintenance Hatch (Any casing)",
|
||||||
|
"1x Energy Hatch (Any casing)",
|
||||||
|
"Frost Proof Casings for the rest (16 at least!)"};
|
||||||
}
|
}
|
||||||
|
|
||||||
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
|
||||||
|
@ -139,4 +147,4 @@ public class GT_MetaTileEntity_VacuumFreezer
|
||||||
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue