aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech
diff options
context:
space:
mode:
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GT4Entity_AutoCrafter.java22
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialThermalCentrifuge.java4
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialWashPlant.java12
3 files changed, 19 insertions, 19 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GT4Entity_AutoCrafter.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GT4Entity_AutoCrafter.java
index 6ad7c912ec..4a299b4599 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GT4Entity_AutoCrafter.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GT4Entity_AutoCrafter.java
@@ -179,12 +179,12 @@ extends GT_MetaTileEntity_MultiBlockBase
final IGregTechTileEntity tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(xDir + i, h, zDir + j);
if (!this.addToMachineList(tTileEntity, TAE.GTPP_INDEX(28))) {
if (aBaseMetaTileEntity.getBlockOffset(xDir + i, h, zDir + j) != ModBlocks.blockCasings2Misc) {
- Utils.LOG_INFO("Bad Block. Found "+aBaseMetaTileEntity.getBlockOffset(xDir + i, h, zDir + j) .getLocalizedName());
- Utils.LOG_INFO("Block Found at x:"+(aBaseMetaTileEntity.getXCoord()+xDir+i)+" | y:"+(aBaseMetaTileEntity.getYCoord()+h)+" | z:"+(aBaseMetaTileEntity.getZCoord()+zDir+j));
+ Utils.LOG_WARNING("Bad Block. Found "+aBaseMetaTileEntity.getBlockOffset(xDir + i, h, zDir + j) .getLocalizedName());
+ Utils.LOG_WARNING("Block Found at x:"+(aBaseMetaTileEntity.getXCoord()+xDir+i)+" | y:"+(aBaseMetaTileEntity.getYCoord()+h)+" | z:"+(aBaseMetaTileEntity.getZCoord()+zDir+j));
return false;
}
if (aBaseMetaTileEntity.getMetaIDOffset(xDir + i, h, zDir + j) != 12) {
- Utils.LOG_INFO("Bad Meta.");
+ Utils.LOG_WARNING("Bad Meta.");
return false;
}
++tAmount;
@@ -198,8 +198,8 @@ extends GT_MetaTileEntity_MultiBlockBase
(this.mInputBusses.size() == 0) || (this.mOutputBusses.size() == 0) ||
(this.mMufflerHatches.size() != 1) || (this.mMaintenanceHatches.size() != 1) ||
(this.mEnergyHatches.size() == 0)){
- Utils.LOG_INFO("Wrong Hatch count.");
- Utils.LOG_INFO("|"+this.mInputHatches.size()+
+ Utils.LOG_WARNING("Wrong Hatch count.");
+ Utils.LOG_WARNING("|"+this.mInputHatches.size()+
"|"+this.mOutputHatches.size()+
"|"+this.mInputBusses.size()+
"|"+this.mOutputBusses.size()+
@@ -395,7 +395,7 @@ extends GT_MetaTileEntity_MultiBlockBase
}
//Return if no input hatch set.
if (craftingInput == null){
- Utils.LOG_INFO("Cannot do Auto-Crafting without a 9-slot Input Bus [MV].");
+ Utils.LOG_WARNING("Cannot do Auto-Crafting without a 9-slot Input Bus [MV].");
return false;
}
@@ -420,11 +420,11 @@ extends GT_MetaTileEntity_MultiBlockBase
int number = 0;
for (ItemStack a : storedData_Input){
if (a.getItem() == ModItems.ZZZ_Empty){
- //Utils.LOG_INFO("Allocating free memory into crafting manager slot "+number+".");
+ //Utils.LOG_WARNING("Allocating free memory into crafting manager slot "+number+".");
loadedData[number] = null;
}
else {
- //Utils.LOG_INFO("Downloading "+a.getDisplayName()+" into crafting manager slot "+number+".");
+ //Utils.LOG_WARNING("Downloading "+a.getDisplayName()+" into crafting manager slot "+number+".");
loadedData[number] = a;
}
number++;
@@ -459,7 +459,7 @@ extends GT_MetaTileEntity_MultiBlockBase
this.mEUt = 8 * (1 << this.mTier - 1) * (1 << this.mTier - 1);
this.mMaxProgresstime = MathUtils.roundToClosestInt((50-(5*MathUtils.randDouble(((this.mTier-2) <= 0 ? 1 : (this.mTier-2)), this.mTier))));
- Utils.LOG_INFO("MPT: "+mMaxProgresstime+" | "+mEUt);
+ Utils.LOG_WARNING("MPT: "+mMaxProgresstime+" | "+mEUt);
this.getBaseMetaTileEntity().setActive(true);
//Setup some vars
@@ -475,7 +475,7 @@ extends GT_MetaTileEntity_MultiBlockBase
}
for (ItemStack r : allInputs){
if (r != null){
- //Utils.LOG_INFO("Input Bus Inventory Iteration - Found:" +r.getDisplayName()+" | "+allInputs.length);
+ //Utils.LOG_WARNING("Input Bus Inventory Iteration - Found:" +r.getDisplayName()+" | "+allInputs.length);
if (GT_Utility.areStacksEqual(r, inputItem)){
if (this.getBaseMetaTileEntity().isServerSide()){
toUse[counter] = inputItem;
@@ -495,7 +495,7 @@ extends GT_MetaTileEntity_MultiBlockBase
mCorrectInputs++;
}
else {
- Utils.LOG_INFO("Input in Slot "+mCorrectInputs+" was not valid.");
+ Utils.LOG_WARNING("Input in Slot "+mCorrectInputs+" was not valid.");
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialThermalCentrifuge.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialThermalCentrifuge.java
index 048d9c9418..2ffa242fc2 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialThermalCentrifuge.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialThermalCentrifuge.java
@@ -152,7 +152,7 @@ extends GregtechMeta_MultiBlockBase {
byte tMeta = aBaseMetaTileEntity.getMetaIDOffset(xDir + i, h, zDir + j);
if ((((tBlock != ModBlocks.blockCasings2Misc) || (tMeta != 0)))
&& (((tBlock != GregTech_API.sBlockCasings3) || (tMeta != 9)))) {
- Utils.LOG_INFO("Wrong Block?");
+ Utils.LOG_WARNING("Wrong Block?");
return false;
}
++tAmount;
@@ -161,7 +161,7 @@ extends GregtechMeta_MultiBlockBase {
}
}
}
- Utils.LOG_INFO("Trying to assemble structure. Completed? "+(tAmount >= 8));
+ Utils.LOG_WARNING("Trying to assemble structure. Completed? "+(tAmount >= 8));
return (tAmount >= 8);
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialWashPlant.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialWashPlant.java
index 483ca1ead1..44cddcc309 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialWashPlant.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialWashPlant.java
@@ -97,7 +97,7 @@ extends GregtechMeta_MultiBlockBase {
public boolean checkRecipe(final ItemStack aStack) {
if (!checkForWater()){
- Utils.LOG_INFO("Did not find enough cleaning solution.");
+ Utils.LOG_WARNING("Did not find enough cleaning solution.");
return false;
}
@@ -135,7 +135,7 @@ extends GregtechMeta_MultiBlockBase {
//this.mOutputItems = new ItemStack[] { tRecipe.getOutput(0) };
ItemStack mNewOutputs[] = new ItemStack[tRecipe.mOutputs.length];
for (int f=0;f<tRecipe.mOutputs.length;f++){
- Utils.LOG_INFO("Step 5 - Adding Output");
+ Utils.LOG_WARNING("Step 5 - Adding Output");
mNewOutputs[f] = tRecipe.mOutputs[f].copy();
}
this.mOutputItems = mNewOutputs;
@@ -145,7 +145,7 @@ extends GregtechMeta_MultiBlockBase {
//this.mOutputFluids = new FluidStack[] { tRecipe.getFluidOutput(0) };
FluidStack outputFluids[] = new FluidStack[1];
if (true){
- Utils.LOG_INFO("Adding Sludge");
+ Utils.LOG_WARNING("Adding Sludge");
outputFluids[0] = FluidUtils.getFluidStack("fluid.sludge", 100);
}
this.mOutputFluids = outputFluids;
@@ -340,7 +340,7 @@ extends GregtechMeta_MultiBlockBase {
for (FluidStack stored : this.getStoredFluids()){
if (stored.isFluidEqual(FluidUtils.getFluidStack("water", 1))){
if (stored.amount >= 1000){
- //Utils.LOG_INFO("Going to try swap an air block for water from inut bus.");
+ //Utils.LOG_WARNING("Going to try swap an air block for water from inut bus.");
stored.amount -= 1000;
Block fluidUsed = null;
if (tBlock == Blocks.air || tBlock == Blocks.flowing_water){
@@ -360,12 +360,12 @@ extends GregtechMeta_MultiBlockBase {
}
if (tBlock == Blocks.water){
++tAmount;
- //Utils.LOG_INFO("Found Water");
+ //Utils.LOG_WARNING("Found Water");
}
else if (tBlock == BlocksItems.getFluidBlock(InternalName.fluidDistilledWater)){
++tAmount;
++tAmount;
- //Utils.LOG_INFO("Found Distilled Water");
+ //Utils.LOG_WARNING("Found Distilled Water");
}
}
else {