mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 16:54:06 +00:00
Recipe/docs for the Tainted Blood Pendant.
This commit is contained in:
1 parent
319b69e203
commit
8c16a51192
5 files changed
+29
-2
No files matched your search
@@ -200,6 +200,7 @@ public final class ModCraftingRecipes {
|
||||
public static IRecipe recipeVial;
|
||||
public static IRecipe recipeFlask;
|
||||
public static IRecipe recipeBrewery;
|
||||
public static IRecipe recipeBloodPendant;
|
||||
|
||||
public static void init() {
|
||||
// Lexicon Recipe
|
||||
@@ -1265,6 +1266,14 @@ public final class ModCraftingRecipes {
|
||||
'M', new ItemStack(ModBlocks.storage));
|
||||
recipeBrewery = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Tainted Blood Pendant Recipe
|
||||
addOreDictRecipe(new ItemStack(ModItems.bloodPendant),
|
||||
" P ", "PGP", "DP ",
|
||||
'P', LibOreDict.PRISMARINE_SHARD,
|
||||
'G', new ItemStack(Items.ghast_tear),
|
||||
'D', LibOreDict.MANA_DIAMOND);
|
||||
recipeBloodPendant = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Mana and Terrasteel Block Recipes
|
||||
addOreDictRecipe(new ItemStack(ModBlocks.storage, 1, 0),
|
||||
"III", "III", "III",
|
||||
|
||||
@@ -32,6 +32,7 @@ import vazkii.botania.api.BotaniaAPI;
|
||||
import vazkii.botania.api.brew.Brew;
|
||||
import vazkii.botania.api.brew.IBrewContainer;
|
||||
import vazkii.botania.api.brew.IBrewItem;
|
||||
import vazkii.botania.api.mana.IManaUsingItem;
|
||||
import vazkii.botania.api.mana.ManaItemHandler;
|
||||
import vazkii.botania.client.core.handler.ClientTickHandler;
|
||||
import vazkii.botania.client.core.helper.IconHelper;
|
||||
@@ -40,7 +41,7 @@ import vazkii.botania.common.item.ModItems;
|
||||
import vazkii.botania.common.item.brew.ItemBrewBase;
|
||||
import vazkii.botania.common.lib.LibItemNames;
|
||||
|
||||
public class ItemBloodPendant extends ItemBauble implements IBrewContainer, IBrewItem {
|
||||
public class ItemBloodPendant extends ItemBauble implements IBrewContainer, IBrewItem, IManaUsingItem {
|
||||
|
||||
private static final String TAG_BREW_KEY = "brewKey";
|
||||
|
||||
@@ -170,4 +171,9 @@ public class ItemBloodPendant extends ItemBauble implements IBrewContainer, IBre
|
||||
return brew.getManaCost() * 10;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean usesMana(ItemStack stack) {
|
||||
return getBrew(stack) != BotaniaAPI.fallbackBrew;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -166,6 +166,7 @@ public final class LexiconData {
|
||||
public static LexiconEntry reachRing;
|
||||
public static LexiconEntry itemFinder;
|
||||
public static LexiconEntry superLavaPendant;
|
||||
public static LexiconEntry bloodPendant;
|
||||
|
||||
public static LexiconEntry alfhomancyIntro;
|
||||
public static LexiconEntry elvenMessage;
|
||||
@@ -607,6 +608,9 @@ public final class LexiconData {
|
||||
superLavaPendant = new ALexiconEntry(LibLexicon.BAUBLE_SUPER_LAVA_PENDANT, categoryBaubles);
|
||||
superLavaPendant.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCraftingRecipes.recipeSuperLavaPendant));
|
||||
|
||||
bloodPendant = new BLexiconEntry(LibLexicon.BAUBLE_BLOOD_PENDANT, categoryBaubles);
|
||||
bloodPendant.setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCraftingRecipes.recipeBloodPendant));
|
||||
|
||||
// ALFHOMANCY ENTRIES
|
||||
alfhomancyIntro = new BLexiconEntry(LibLexicon.ALF_INTRO, categoryAlfhomancy);
|
||||
alfhomancyIntro.setPriority().setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCraftingRecipes.recipeAlfPortal), new PageCraftingRecipe("3", ModCraftingRecipes.recipeNaturaPylon),
|
||||
|
||||
@@ -148,6 +148,7 @@ public final class LibLexicon {
|
||||
public static final String BAUBLE_REACH_RING = "reachRing";
|
||||
public static final String BAUBLE_ITEM_FINDER = "itemFinder";
|
||||
public static final String BAUBLE_SUPER_LAVA_PENDANT = "superLavaPendant";
|
||||
public static final String BAUBLE_BLOOD_PENDANT = "bloodPendant";
|
||||
|
||||
public static final String ALF_INTRO = "aIntro";
|
||||
public static final String ALF_MESSAGE = "elfMessage";
|
||||
|
||||
Reference in new issue
Block a user