aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/util/item
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2016-12-01 02:07:37 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2016-12-01 02:07:37 +1000
commitaf0fde5a27ba28b744d56085e1399ed95d4c5ee9 (patch)
treee8194630b339c4a9252b3ed083ea609b3c947e8c /src/Java/gtPlusPlus/core/util/item
parent3b03ee38c1c8dbd034202d2c4bb0f2dc4fb82170 (diff)
downloadGT5-Unofficial-af0fde5a27ba28b744d56085e1399ed95d4c5ee9.tar.gz
GT5-Unofficial-af0fde5a27ba28b744d56085e1399ed95d4c5ee9.tar.bz2
GT5-Unofficial-af0fde5a27ba28b744d56085e1399ed95d4c5ee9.zip
+ Basic Fire Maker. (1/4 change to light a fire, can also set you on fire if it fails)
+ Maceration recipes for the non-TC shards into non-TC shard dust. (Which GT then oreDicts into it's own, for making Energy Crystal) + Recipes for the Multi-tank Controller and it's frame blocks. (Fixes #40) + 4 new pipe types. Now there are 5 sizes of Tungsten, Dark Steel, Lead and Clay. - Hydrogen Blobs no longer get registered as dustHydrogen. (Broke many things without intention) $ Hopefully made a fix to the Multi-Tank, where it would reset it's storage multiplier to 0 or 1 when a world reloaded. % Enabled a previously disabled logging feature. + Put extra logging into getItemStackOfAmountFromOreDictNoBroken() during debug mode. $ Cleaned up ReflectionUtils.java and added a new method getMethodName() which will show where a method was called from.
Diffstat (limited to 'src/Java/gtPlusPlus/core/util/item')
-rw-r--r--src/Java/gtPlusPlus/core/util/item/ItemUtils.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/core/util/item/ItemUtils.java b/src/Java/gtPlusPlus/core/util/item/ItemUtils.java
index ec8c52cb6d..2df848cae5 100644
--- a/src/Java/gtPlusPlus/core/util/item/ItemUtils.java
+++ b/src/Java/gtPlusPlus/core/util/item/ItemUtils.java
@@ -17,6 +17,7 @@ import gtPlusPlus.core.lib.LoadedMods;
import gtPlusPlus.core.material.Material;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.core.util.materials.MaterialUtils;
+import gtPlusPlus.core.util.reflect.ReflectionUtils;
import gtPlusPlus.core.util.wrapper.var;
import java.util.ArrayList;
@@ -243,6 +244,13 @@ public class ItemUtils {
}
public static ItemStack getItemStackOfAmountFromOreDictNoBroken(String oredictName, int amount){
+ if (CORE.DEBUG){
+ Utils.LOG_INFO("Looking up: "+oredictName+" - from method: "+ReflectionUtils.getMethodName(1));
+ Utils.LOG_INFO("Looking up: "+oredictName+" - from method: "+ReflectionUtils.getMethodName(2));
+ Utils.LOG_INFO("Looking up: "+oredictName+" - from method: "+ReflectionUtils.getMethodName(3));
+ Utils.LOG_INFO("Looking up: "+oredictName+" - from method: "+ReflectionUtils.getMethodName(4));
+ Utils.LOG_INFO("Looking up: "+oredictName+" - from method: "+ReflectionUtils.getMethodName(5));
+ }
ItemStack returnValue = getItemStackOfAmountFromOreDict(oredictName, amount);
if (returnValue.getItem().getClass() != ModItems.AAA_Broken.getClass() || returnValue.getItem() != ModItems.AAA_Broken){
return returnValue;