Added recipes for prismarine and prismarine crystals if you're in garden of glass.

This commit is contained in:
Vasco Lavos committed 2016-09-24 18:26:47 +01:00
1 parent 2163f91cb2
commit 49d2c36f72
3 files changed
+14 -2

No files matched your search

@@ -16,6 +16,7 @@ import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import vazkii.botania.api.BotaniaAPI;
import vazkii.botania.api.recipe.RecipeManaInfusion;
import vazkii.botania.common.Botania;
import vazkii.botania.common.block.ModFluffBlocks;
import vazkii.botania.common.core.handler.ConfigHandler;
import vazkii.botania.common.item.ModItems;
@@ -51,6 +52,9 @@ public final class ModManaAlchemyRecipes {
public static List<RecipeManaInfusion> tallgrassRecipes;
public static List<RecipeManaInfusion> flowersRecipes;
// Garden of Glass
public static List<RecipeManaInfusion> prismarineRecipes;
public static void init() {
leatherRecipe = BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Items.LEATHER), new ItemStack(Items.ROTTEN_FLESH), 600);
@@ -154,5 +158,11 @@ public final class ModManaAlchemyRecipes {
flowersRecipes.add(BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Blocks.DOUBLE_PLANT, 1, 4), new ItemStack(Blocks.DOUBLE_PLANT, 1, 1), 400));
flowersRecipes.add(BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Blocks.DOUBLE_PLANT, 1, 5), new ItemStack(Blocks.DOUBLE_PLANT, 1, 4), 400));
flowersRecipes.add(BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Blocks.YELLOW_FLOWER), new ItemStack(Blocks.DOUBLE_PLANT, 1, 5), 400));
if(Botania.gardenOfGlassLoaded) {
prismarineRecipes = new ArrayList<>();
prismarineRecipes.add(BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Items.PRISMARINE_SHARD), new ItemStack(Items.QUARTZ), 1000));
prismarineRecipes.add(BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Items.PRISMARINE_CRYSTALS), new ItemStack(Items.PRISMARINE_SHARD), 500));
}
}
}
@@ -394,7 +394,8 @@ public final class LexiconData {
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("8", ModCraftingRecipes.recipeMagmaToSlimeball),
new PageManaInfusionRecipe("13", ModManaAlchemyRecipes.prismarineRecipes), new PageText("9"),
new PageText("11"), new PageCraftingRecipe("12", ModCraftingRecipes.recipeEndPortal));
gardenOfGlass.setPriority().setIcon(new ItemStack(ModItems.manaResource, 1, 20));
}