mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 00:07:37 +00:00
Shade CTMLib
This commit is contained in:
1 parent
91a5d63a24
commit
e8d9d77299
15 files changed
+5
-1726
No files matched your search
@@ -1,6 +1,5 @@
|
||||
package team.chisel.utils;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.crafting.CraftingManager;
|
||||
import net.minecraft.item.crafting.FurnaceRecipes;
|
||||
@@ -13,6 +12,7 @@ import java.util.List;
|
||||
*/
|
||||
public class RecipeUtil {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public static boolean isCraftable(ItemStack stack){
|
||||
for (IRecipe recipe : (List<IRecipe>)CraftingManager.getInstance().getRecipeList()){
|
||||
if (recipe.getRecipeOutput()==null){
|
||||
|
||||
Reference in new issue
Block a user