Highly incomplete code. First work on porting to 1.12. Still need to rework a LOT of things.

This commit is contained in:
Gunther De Wachter
2017-07-06 01:57:19 +02:00
parent d67f97cd16
commit fbcf8c4705
127 changed files with 850 additions and 425 deletions
@@ -25,6 +25,7 @@ import java.util.List;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.CraftingManager;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.registry.ForgeRegistries;
import net.minecraftforge.oredict.OreDictionary;
import appeng.core.AELog;
@@ -78,7 +79,7 @@ public class OreDictionaryHandler
{
this.enableRebaking = true;
for( final Object o : CraftingManager.getInstance().getRecipeList() )
for( final Object o : ForgeRegistries.RECIPES.getValues() )
{
if( o instanceof IRecipeBakeable )
{