mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 04:09:40 +00:00
Recipe/docs for the Spellbinding Cloth.
This commit is contained in:
1 parent
158002ade7
commit
39b8e9bb9c
5 files changed
+19
-1
No files matched your search
@@ -219,6 +219,7 @@ public final class ModCraftingRecipes {
|
||||
public static IRecipe recipeCobbleRod;
|
||||
public static IRecipe recipeSmeltRod;
|
||||
public static IRecipe recipeWorldSeed;
|
||||
public static IRecipe recipeSpellCloth;
|
||||
|
||||
public static void init() {
|
||||
// Lexicon Recipe
|
||||
@@ -1437,6 +1438,13 @@ public final class ModCraftingRecipes {
|
||||
'D', LibOreDict.DRAGONSTONE);
|
||||
recipeWorldSeed = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Spellbinding Cloth Recipe
|
||||
addOreDictRecipe(new ItemStack(ModItems.spellCloth),
|
||||
"WWW", "WPW", "WWW",
|
||||
'W', new ItemStack(Blocks.wool, 1, -1),
|
||||
'P', LibOreDict.MANA_PEARL);
|
||||
recipeSpellCloth = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Storage Block Recipes
|
||||
addOreDictRecipe(new ItemStack(ModBlocks.storage, 1, 0),
|
||||
"III", "III", "III",
|
||||
|
||||
@@ -37,7 +37,7 @@ public class ItemSpellCloth extends ItemMod {
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public int getColorFromItemStack(ItemStack par1ItemStack, int par2) {
|
||||
return Color.HSBtoRGB(0.75F, ((float) par1ItemStack.getMaxDamage() - (float) par1ItemStack.getItemDamage()) / par1ItemStack.getMaxDamage() * 0.5F, 1F);
|
||||
return Color.HSBtoRGB(0.55F, ((float) par1ItemStack.getMaxDamage() - (float) par1ItemStack.getItemDamage()) / par1ItemStack.getMaxDamage() * 0.5F, 1F);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -156,6 +156,7 @@ public final class LexiconData {
|
||||
public static LexiconEntry cobbleRod;
|
||||
public static LexiconEntry smeltRod;
|
||||
public static LexiconEntry worldSeed;
|
||||
public static LexiconEntry spellCloth;
|
||||
|
||||
public static LexiconEntry baublesIntro;
|
||||
public static LexiconEntry tinyPlanet;
|
||||
@@ -599,6 +600,9 @@ public final class LexiconData {
|
||||
worldSeed = new ALexiconEntry(LibLexicon.TOOL_WORLD_SEED, categoryTools);
|
||||
worldSeed.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCraftingRecipes.recipeWorldSeed));
|
||||
|
||||
spellCloth = new BLexiconEntry(LibLexicon.TOOL_SPELL_CLOTH, categoryTools);
|
||||
spellCloth.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCraftingRecipes.recipeSpellCloth));
|
||||
|
||||
// BAUBLES ENTRIES
|
||||
baublesIntro = new BLexiconEntry(LibLexicon.BAUBLE_INTRO, categoryBaubles);
|
||||
baublesIntro.setPriority().setLexiconPages(new PageText("0"), new PageImage("1", LibResources.ENTRY_BAUBLES), new PageText("2"));
|
||||
|
||||
@@ -137,6 +137,7 @@ public final class LibLexicon {
|
||||
public static final String TOOL_COBBLE_ROD = "cobbleRod";
|
||||
public static final String TOOL_SMELT_ROD = "smeltRod";
|
||||
public static final String TOOL_WORLD_SEED = "worldSeed";
|
||||
public static final String TOOL_SPELL_CLOTH = "spellCloth";
|
||||
|
||||
public static final String BAUBLE_INTRO = "bIntro";
|
||||
public static final String BAUBLE_TINY_PLANET = "tinyPlanet";
|
||||
|
||||
Reference in new issue
Block a user