add in some helpers methods to blockutils, log4j2 stuff

This commit is contained in:
Progwml6 committed 2014-01-11 05:31:22 -05:00
1 parent e07dc82fff
commit e9d42fe2b2
2 files changed
+10

No files matched your search

+5
View File
@@ -2,6 +2,7 @@ package mantle.blocks;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
public class BlockUtils
{
@@ -9,5 +10,9 @@ public class BlockUtils
{
return Block.func_149634_a(item);
}
public static Block getBlockFromItemStack (ItemStack itemStack)
{
return getBlockFromItem(itemStack.getItem());
}
}