make new Lists craftable
This commit is contained in:
parent
c750407c07
commit
6f3b3549ea
2 changed files with 5 additions and 2 deletions
|
@ -659,10 +659,13 @@ public class BuildCraftCore extends BuildCraftMod {
|
|||
CoreProxy.proxy.addShapelessRecipe(outputStack, paintbrushItem, EnumColor.fromId(i).getDye());
|
||||
}
|
||||
|
||||
// Convert old lists to new lists
|
||||
CoreProxy.proxy.addShapelessRecipe(new ItemStack(listItem, 1, 1), new ItemStack(listItem, 1, 0));
|
||||
|
||||
if (Loader.isModLoaded("BuildCraft|Silicon")) {
|
||||
CoreSiliconRecipes.loadSiliconRecipes();
|
||||
} else {
|
||||
CoreProxy.proxy.addCraftingRecipe(new ItemStack(listItem), "ppp", "pYp", "ppp", 'p', Items.paper, 'Y',
|
||||
CoreProxy.proxy.addCraftingRecipe(new ItemStack(listItem, 1, 1), "ppp", "pYp", "ppp", 'p', Items.paper, 'Y',
|
||||
"dyeGreen");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ public final class CoreSiliconRecipes {
|
|||
@Optional.Method(modid = "BuildCraft|Silicon")
|
||||
public static void loadSiliconRecipes() {
|
||||
// Lists
|
||||
BuildcraftRecipeRegistry.assemblyTable.addRecipe("buildcraft:list", 20000, new ItemStack(BuildCraftCore.listItem),
|
||||
BuildcraftRecipeRegistry.assemblyTable.addRecipe("buildcraft:list", 20000, new ItemStack(BuildCraftCore.listItem, 1, 1),
|
||||
"dyeGreen", "dustRedstone", new ItemStack(Items.paper, 8));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue