mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-26 23:23:05 +00:00
More Logging rework
This commit is contained in:
1 parent
ece7dca426
commit
2dd8e910f4
60 files changed
+464
-322
No files matched your search
@@ -11,7 +11,6 @@ import java.util.List;
|
||||
import minetweaker.MineTweakerAPI;
|
||||
import minetweaker.api.item.IIngredient;
|
||||
import minetweaker.api.item.IItemStack;
|
||||
import modtweaker2.helpers.InputHelper;
|
||||
import modtweaker2.helpers.LogHelper;
|
||||
import modtweaker2.mods.tfcraft.TFCHelper;
|
||||
import modtweaker2.utils.BaseListAddition;
|
||||
@@ -58,7 +57,7 @@ public class Anvil {
|
||||
|
||||
@Override
|
||||
protected String getRecipeInfo(AnvilRecipe recipe) {
|
||||
return InputHelper.getStackDescription(recipe.getCraftingResult());
|
||||
return LogHelper.getStackDescription(recipe.getCraftingResult());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -98,7 +97,7 @@ public class Anvil {
|
||||
|
||||
@Override
|
||||
protected String getRecipeInfo(AnvilRecipe recipe) {
|
||||
return InputHelper.getStackDescription(recipe.getCraftingResult());
|
||||
return LogHelper.getStackDescription(recipe.getCraftingResult());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,6 @@ import minetweaker.MineTweakerAPI;
|
||||
import minetweaker.api.item.IIngredient;
|
||||
import minetweaker.api.item.IItemStack;
|
||||
import minetweaker.api.liquid.ILiquidStack;
|
||||
import modtweaker2.helpers.InputHelper;
|
||||
import modtweaker2.helpers.LogHelper;
|
||||
import modtweaker2.mods.tfcraft.TFCHelper;
|
||||
import modtweaker2.utils.BaseListAddition;
|
||||
@@ -70,9 +69,9 @@ public class Barrel {
|
||||
@Override
|
||||
protected String getRecipeInfo(BarrelRecipe recipe) {
|
||||
if(recipe.getRecipeOutIS() != null)
|
||||
return InputHelper.getStackDescription(recipe.getRecipeOutIS());
|
||||
return LogHelper.getStackDescription(recipe.getRecipeOutIS());
|
||||
else if(recipe.getRecipeOutFluid() != null)
|
||||
return InputHelper.getStackDescription(recipe.getRecipeOutFluid());
|
||||
return LogHelper.getStackDescription(recipe.getRecipeOutFluid());
|
||||
else
|
||||
return "Unknown output";
|
||||
}
|
||||
@@ -113,9 +112,9 @@ public class Barrel {
|
||||
@Override
|
||||
protected String getRecipeInfo(BarrelRecipe recipe) {
|
||||
if(recipe.getRecipeOutIS() != null)
|
||||
return InputHelper.getStackDescription(recipe.getRecipeOutIS());
|
||||
return LogHelper.getStackDescription(recipe.getRecipeOutIS());
|
||||
else if(recipe.getRecipeOutFluid() != null)
|
||||
return InputHelper.getStackDescription(recipe.getRecipeOutFluid());
|
||||
return LogHelper.getStackDescription(recipe.getRecipeOutFluid());
|
||||
else
|
||||
return "Unknown output";
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ import java.util.List;
|
||||
import minetweaker.MineTweakerAPI;
|
||||
import minetweaker.api.item.IIngredient;
|
||||
import minetweaker.api.item.IItemStack;
|
||||
import modtweaker2.helpers.InputHelper;
|
||||
import modtweaker2.helpers.LogHelper;
|
||||
import modtweaker2.mods.tfcraft.TFCHelper;
|
||||
import modtweaker2.utils.BaseListAddition;
|
||||
import modtweaker2.utils.BaseListRemoval;
|
||||
@@ -42,7 +42,7 @@ public class Kiln {
|
||||
|
||||
@Override
|
||||
protected String getRecipeInfo(KilnRecipe recipe) {
|
||||
return InputHelper.getStackDescription(recipe.getCraftingResult());
|
||||
return LogHelper.getStackDescription(recipe.getCraftingResult());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ public class Kiln {
|
||||
|
||||
@Override
|
||||
protected String getRecipeInfo(KilnRecipe recipe) {
|
||||
return InputHelper.getStackDescription(recipe.getCraftingResult());
|
||||
return LogHelper.getStackDescription(recipe.getCraftingResult());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import java.util.List;
|
||||
import minetweaker.MineTweakerAPI;
|
||||
import minetweaker.api.item.IIngredient;
|
||||
import minetweaker.api.item.IItemStack;
|
||||
import modtweaker2.helpers.InputHelper;
|
||||
import modtweaker2.helpers.LogHelper;
|
||||
import modtweaker2.mods.tfcraft.TFCHelper;
|
||||
import modtweaker2.utils.BaseListAddition;
|
||||
import modtweaker2.utils.BaseListRemoval;
|
||||
@@ -58,7 +58,7 @@ public class Quern {
|
||||
|
||||
@Override
|
||||
protected String getRecipeInfo(QuernRecipe recipe) {
|
||||
return InputHelper.getStackDescription(recipe.getResult());
|
||||
return LogHelper.getStackDescription(recipe.getResult());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ public class Quern {
|
||||
|
||||
@Override
|
||||
protected String getRecipeInfo(QuernRecipe recipe) {
|
||||
return InputHelper.getStackDescription(recipe.getResult());
|
||||
return LogHelper.getStackDescription(recipe.getResult());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user