aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_ShapedCrafting.java
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2017-12-20 23:39:49 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2017-12-20 23:39:49 +1000
commit5715a32d2901922503fd850f3a68503fb77467c3 (patch)
tree7e12520fbc23844e99493d55af4410a785538e35 /src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_ShapedCrafting.java
parent2a4795f65d98ff60a177d7d6a5552fd687d9f6e8 (diff)
downloadGT5-Unofficial-5715a32d2901922503fd850f3a68503fb77467c3.tar.gz
GT5-Unofficial-5715a32d2901922503fd850f3a68503fb77467c3.tar.bz2
GT5-Unofficial-5715a32d2901922503fd850f3a68503fb77467c3.zip
- Disabled some logging.
% Minor Project Clean-up, added missing Override annotations to 100+ methods & removed pointless casts. % Moved Logging to it's own class. $ Fixed Multi-block handling of Pollution. $ Fixed the GT 5.09 material enabler system. (From My Side, it's still borked on GTs). + Added a Dynamic Proxy invocation for IMaterialHandler. + Added an AutoMap data type, which is a Auto-incremental ID'd Hashmap wrapper.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_ShapedCrafting.java')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_ShapedCrafting.java44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_ShapedCrafting.java b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_ShapedCrafting.java
index 79ff583607..a04206ec62 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_ShapedCrafting.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_ShapedCrafting.java
@@ -1,9 +1,9 @@
package gtPlusPlus.xmod.gregtech.loaders;
import gregtech.api.util.GT_ModHandler;
+import gtPlusPlus.api.objects.Logger;
import gtPlusPlus.core.lib.LoadedMods;
import gtPlusPlus.core.material.Material;
-import gtPlusPlus.core.util.Utils;
import gtPlusPlus.core.util.recipe.RecipeUtils;
import net.minecraft.item.ItemStack;
@@ -21,7 +21,7 @@ public class RecipeGen_ShapedCrafting implements Runnable{
}
public static void generateRecipes(final Material material){
- Utils.LOG_WARNING("Generating Shaped Crafting recipes for "+material.getLocalizedName()); //TODO
+ Logger.WARNING("Generating Shaped Crafting recipes for "+material.getLocalizedName()); //TODO
//Nuggets
@@ -81,10 +81,10 @@ public class RecipeGen_ShapedCrafting implements Runnable{
"craftingToolFile", material.getRod(1), null,
null, null, null,
material.getRing(1))){
- Utils.LOG_WARNING("GT:NH Ring Recipe: "+material.getLocalizedName()+" - Success");
+ Logger.WARNING("GT:NH Ring Recipe: "+material.getLocalizedName()+" - Success");
}
else {
- Utils.LOG_WARNING("GT:NH Ring Recipe: "+material.getLocalizedName()+" - Failed");
+ Logger.WARNING("GT:NH Ring Recipe: "+material.getLocalizedName()+" - Failed");
}
}
else {
@@ -93,10 +93,10 @@ public class RecipeGen_ShapedCrafting implements Runnable{
null, material.getRod(1), null,
null, null, null,
material.getRing(1))){
- Utils.LOG_WARNING("Ring Recipe: "+material.getLocalizedName()+" - Success");
+ Logger.WARNING("Ring Recipe: "+material.getLocalizedName()+" - Success");
}
else {
- Utils.LOG_WARNING("Ring Recipe: "+material.getLocalizedName()+" - Failed");
+ Logger.WARNING("Ring Recipe: "+material.getLocalizedName()+" - Failed");
}
}
}
@@ -110,10 +110,10 @@ public class RecipeGen_ShapedCrafting implements Runnable{
stackStick, "craftingToolWrench", stackStick,
stackStick, stackStick, stackStick,
material.getFrameBox(2))){
- Utils.LOG_WARNING("Framebox Recipe: "+material.getLocalizedName()+" - Success");
+ Logger.WARNING("Framebox Recipe: "+material.getLocalizedName()+" - Success");
}
else {
- Utils.LOG_WARNING("Framebox Recipe: "+material.getLocalizedName()+" - Failed");
+ Logger.WARNING("Framebox Recipe: "+material.getLocalizedName()+" - Failed");
}
}
@@ -154,10 +154,10 @@ public class RecipeGen_ShapedCrafting implements Runnable{
null, material.getRod(1), null,
null, null, null,
material.getBolt(2))){
- Utils.LOG_WARNING("Bolt Recipe: "+material.getLocalizedName()+" - Success");
+ Logger.WARNING("Bolt Recipe: "+material.getLocalizedName()+" - Success");
}
else {
- Utils.LOG_WARNING("Bolt Recipe: "+material.getLocalizedName()+" - Failed");
+ Logger.WARNING("Bolt Recipe: "+material.getLocalizedName()+" - Failed");
}
}
@@ -168,10 +168,10 @@ public class RecipeGen_ShapedCrafting implements Runnable{
null, material.getIngot(1), null,
null, null, null,
material.getRod(1))){
- Utils.LOG_WARNING("Rod Recipe: "+material.getLocalizedName()+" - Success");
+ Logger.WARNING("Rod Recipe: "+material.getLocalizedName()+" - Success");
}
else {
- Utils.LOG_WARNING("Rod Recipe: "+material.getLocalizedName()+" - Failed");
+ Logger.WARNING("Rod Recipe: "+material.getLocalizedName()+" - Failed");
}
@@ -181,10 +181,10 @@ public class RecipeGen_ShapedCrafting implements Runnable{
material.getLongRod(1), null, null,
null, null, null,
material.getRod(2))){
- Utils.LOG_WARNING("Rod Recipe: "+material.getLocalizedName()+" - Success");
+ Logger.WARNING("Rod Recipe: "+material.getLocalizedName()+" - Success");
}
else {
- Utils.LOG_WARNING("Rod Recipe: "+material.getLocalizedName()+" - Failed");
+ Logger.WARNING("Rod Recipe: "+material.getLocalizedName()+" - Failed");
}
//Two small to long rod
@@ -193,10 +193,10 @@ public class RecipeGen_ShapedCrafting implements Runnable{
null, null, null,
null, null, null,
material.getLongRod(1))){
- Utils.LOG_WARNING("Long Rod Recipe: "+material.getLocalizedName()+" - Success");
+ Logger.WARNING("Long Rod Recipe: "+material.getLocalizedName()+" - Success");
}
else {
- Utils.LOG_WARNING("Long Rod Recipe: "+material.getLocalizedName()+" - Failed");
+ Logger.WARNING("Long Rod Recipe: "+material.getLocalizedName()+" - Failed");
}
//Rotor Recipe
@@ -206,10 +206,10 @@ public class RecipeGen_ShapedCrafting implements Runnable{
material.getScrew(1), material.getRing(1), "craftingToolFile",
material.getPlate(1), "craftingToolScrewdriver", material.getPlate(1),
material.getRotor(1))){
- Utils.LOG_WARNING("Rotor Recipe: "+material.getLocalizedName()+" - Success");
+ Logger.WARNING("Rotor Recipe: "+material.getLocalizedName()+" - Success");
}
else {
- Utils.LOG_WARNING("Rotor Recipe: "+material.getLocalizedName()+" - Failed");
+ Logger.WARNING("Rotor Recipe: "+material.getLocalizedName()+" - Failed");
}
}
@@ -220,10 +220,10 @@ public class RecipeGen_ShapedCrafting implements Runnable{
material.getPlate(1), "craftingToolWrench", material.getPlate(1),
material.getRod(1), material.getPlate(1), material.getRod(1),
material.getGear(1))){
- Utils.LOG_WARNING("Gear Recipe: "+material.getLocalizedName()+" - Success");
+ Logger.WARNING("Gear Recipe: "+material.getLocalizedName()+" - Success");
}
else {
- Utils.LOG_WARNING("Gear Recipe: "+material.getLocalizedName()+" - Failed");
+ Logger.WARNING("Gear Recipe: "+material.getLocalizedName()+" - Failed");
}
}
@@ -234,10 +234,10 @@ public class RecipeGen_ShapedCrafting implements Runnable{
material.getBolt(1), null, null,
null, null, null,
material.getScrew(1))){
- Utils.LOG_WARNING("Screw Recipe: "+material.getLocalizedName()+" - Success");
+ Logger.WARNING("Screw Recipe: "+material.getLocalizedName()+" - Success");
}
else {
- Utils.LOG_WARNING("Screw Recipe: "+material.getLocalizedName()+" - Failed");
+ Logger.WARNING("Screw Recipe: "+material.getLocalizedName()+" - Failed");
}
}
}