Added an end portal recipe to Garden of Glass.

This commit is contained in:
Lizbeth Rika committed 2015-07-09 00:10:10 +01:00
1 parent 47771b63f3
commit 4e7d1150b0
3 files changed
+10 -1

No files matched your search

@@ -274,6 +274,7 @@ public final class ModCraftingRecipes {
public static IRecipe recipePebbleCobblestone;
public static IRecipe recipeMagmaToSlimeball;
public static IRecipe recipeFelPumpkin;
public static IRecipe recipeEndPortal;
public static void init() {
// Lexicon Recipe
@@ -1921,6 +1922,13 @@ public final class ModCraftingRecipes {
'F', new ItemStack(Items.rotten_flesh),
'G', new ItemStack(Items.gunpowder));
recipeFelPumpkin = BotaniaAPI.getLatestAddedRecipe();
// Ender Portal
addOreDictRecipe(new ItemStack(Blocks.end_portal_frame),
"OGO",
'O', new ItemStack(Blocks.obsidian),
'G', LibOreDict.LIFE_ESSENCE);
recipeEndPortal = BotaniaAPI.getLatestAddedRecipe();
}
private static void addStairsAndSlabs(Block block, int meta, Block stairs, Block slab) {
@@ -325,7 +325,7 @@ public final class LexiconData {
if(Botania.gardenOfGlassLoaded) {
gardenOfGlass = new BLexiconEntry(LibLexicon.BASICS_GARDEN_OF_GLASS, categoryBasics);
gardenOfGlass.setLexiconPages(new PageText("0"), new PageText("1"), new PageText("2"), new PageCraftingRecipe("3", ModCraftingRecipes.recipeRootToSapling), new PageCraftingRecipe("4", ModCraftingRecipes.recipeRootToFertilizer), new PageCraftingRecipe("5", ModCraftingRecipes.recipePebbleCobblestone), new PageText("6"), new PageManaInfusionRecipe("7", ModManaInfusionRecipes.sugarCaneRecipe), new PageCraftingRecipe("8", ModCraftingRecipes.recipeMagmaToSlimeball), new PageText("9"), new PageCraftingRecipe("10", ModCraftingRecipes.recipeFelPumpkin));
gardenOfGlass.setLexiconPages(new PageText("0"), new PageText("1"), new PageText("2"), new PageCraftingRecipe("3", ModCraftingRecipes.recipeRootToSapling), new PageCraftingRecipe("4", ModCraftingRecipes.recipeRootToFertilizer), new PageCraftingRecipe("5", ModCraftingRecipes.recipePebbleCobblestone), new PageText("6"), new PageManaInfusionRecipe("7", ModManaInfusionRecipes.sugarCaneRecipe), new PageCraftingRecipe("8", ModCraftingRecipes.recipeMagmaToSlimeball), new PageText("9"), new PageCraftingRecipe("10", ModCraftingRecipes.recipeFelPumpkin), new PageCraftingRecipe("11", ModCraftingRecipes.recipeEndPortal));
gardenOfGlass.setPriority().setIcon(new ItemStack(ModItems.manaResource, 1, 20));
}