mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-23 21:49:50 +00:00
Documentation for the runes and mana resources.
This commit is contained in:
1 parent
eefec4b1eb
commit
903eebade0
7 files changed
+55
-3
No files matched your search
@@ -32,6 +32,10 @@ public class MappableStackWrapper {
|
||||
|
||||
else return isw.wrap == wrap;
|
||||
}
|
||||
|
||||
public ItemStack getStack() {
|
||||
return wrap;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
|
||||
@@ -14,6 +14,7 @@ package vazkii.botania.common.crafting;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import vazkii.botania.api.BotaniaAPI;
|
||||
import vazkii.botania.api.recipe.RecipeManaInfusion;
|
||||
@@ -24,13 +25,18 @@ public final class ModManaInfusionRecipes {
|
||||
|
||||
public static List<RecipeManaInfusion> manaPetalRecipes;
|
||||
public static RecipeManaInfusion manasteelRecipe;
|
||||
|
||||
public static RecipeManaInfusion manaPearlRecipe;
|
||||
public static RecipeManaInfusion manaDiamondRecipe;
|
||||
|
||||
public static void init() {
|
||||
manaPetalRecipes = new ArrayList();
|
||||
for(int i = 0; i < 16; i++)
|
||||
manaPetalRecipes.add(BotaniaAPI.registerManaInfusionRecipe(new ItemStack(ModItems.manaPetal, 1, i), LibOreDict.PETAL[i], 1000));
|
||||
|
||||
manasteelRecipe = BotaniaAPI.registerManaInfusionRecipe(new ItemStack(ModItems.manaResource, 1, 0), "ingotIron", 5000);
|
||||
manaPearlRecipe = BotaniaAPI.registerManaInfusionRecipe(new ItemStack(ModItems.manaResource, 1, 1), new ItemStack(Item.enderPearl), 10000);
|
||||
manaDiamondRecipe = BotaniaAPI.registerManaInfusionRecipe(new ItemStack(ModItems.manaResource, 1, 2), "gemDiamond", 25000);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -54,5 +54,6 @@ public final class ModItems {
|
||||
// Vanilla ores (because forge doesn't do this by default for some reason)
|
||||
OreDictionary.registerOre("ingotIron", Item.ingotIron);
|
||||
OreDictionary.registerOre("ingotGold", Item.ingotGold);
|
||||
OreDictionary.registerOre("gemDiamond", Item.diamond);
|
||||
}
|
||||
}
|
||||
@@ -16,10 +16,14 @@ import vazkii.botania.api.lexicon.LexiconCategory;
|
||||
import vazkii.botania.api.lexicon.LexiconEntry;
|
||||
import vazkii.botania.client.lib.LibResources;
|
||||
import vazkii.botania.common.crafting.ModCrafingRecipes;
|
||||
import vazkii.botania.common.crafting.ModManaInfusionRecipes;
|
||||
import vazkii.botania.common.crafting.ModPetalRecipes;
|
||||
import vazkii.botania.common.crafting.ModRuneRecipes;
|
||||
import vazkii.botania.common.lexicon.page.PageCraftingRecipe;
|
||||
import vazkii.botania.common.lexicon.page.PageImage;
|
||||
import vazkii.botania.common.lexicon.page.PageManaInfusionRecipe;
|
||||
import vazkii.botania.common.lexicon.page.PagePetalRecipe;
|
||||
import vazkii.botania.common.lexicon.page.PageRuneRecipe;
|
||||
import vazkii.botania.common.lexicon.page.PageText;
|
||||
import vazkii.botania.common.lib.LibLexicon;
|
||||
|
||||
@@ -38,6 +42,7 @@ public final class LexiconData {
|
||||
public static LexiconEntry lexicon;
|
||||
public static LexiconEntry wand;
|
||||
public static LexiconEntry pureDaisy;
|
||||
public static LexiconEntry runicAltar;
|
||||
|
||||
public static LexiconEntry manaIntro;
|
||||
public static LexiconEntry spreader;
|
||||
@@ -68,6 +73,11 @@ public final class LexiconData {
|
||||
pureDaisy = new BLexiconEntry(LibLexicon.BASICS_PURE_DAISY, categoryBasics);
|
||||
pureDaisy.setPriority().setLexiconPages(new PageText("0"), new PageImage("1", LibResources.ENTRY_PURE_DAISY), new PagePetalRecipe("2", ModPetalRecipes.pureDaisyRecipe));
|
||||
|
||||
runicAltar = new BLexiconEntry(LibLexicon.BASICS_RUNE_ALTAR, categoryBasics);
|
||||
runicAltar.setPriority().setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCrafingRecipes.recipeRuneAltar), new PageText("3"), new PageRuneRecipe("4", ModRuneRecipes.recipeWaterRune), new PageRuneRecipe("5", ModRuneRecipes.recipeEarthRune), new PageRuneRecipe("6", ModRuneRecipes.recipeAirRune), new PageRuneRecipe("7", ModRuneRecipes.recipeFireRune),
|
||||
new PageRuneRecipe("8", ModRuneRecipes.recipeSpringRune), new PageRuneRecipe("9", ModRuneRecipes.recipeSummerRune), new PageRuneRecipe("10", ModRuneRecipes.recipeAutumnRune), new PageRuneRecipe("11", ModRuneRecipes.recipeWinterRune), new PageRuneRecipe("12", ModRuneRecipes.recipeManaRune),
|
||||
new PageRuneRecipe("13", ModRuneRecipes.recipeLustRune), new PageRuneRecipe("14", ModRuneRecipes.recipeGluttonyRune), new PageRuneRecipe("15", ModRuneRecipes.recipeGreedRune), new PageRuneRecipe("16", ModRuneRecipes.recipeSlothRune), new PageRuneRecipe("17", ModRuneRecipes.recipeEnvyRune), new PageRuneRecipe("18", ModRuneRecipes.recipePrideRune));
|
||||
|
||||
// MANA ENTRIES
|
||||
manaIntro = new BLexiconEntry(LibLexicon.MANA_INTRO, categoryMana);
|
||||
manaIntro.setPriority().setLexiconPages(new PageText("0"), new PageText("1"), new PageText("2"));
|
||||
@@ -76,7 +86,7 @@ public final class LexiconData {
|
||||
spreader.setPriority().setLexiconPages(new PageText("0"), new PageImage("1", LibResources.ENTRY_SPREADER), new PageText("2"), new PageText("3"), new PageText("4"), new PageCraftingRecipe("5", ModCrafingRecipes.recipesSpreader), new PageText("6"), new PageCraftingRecipe("7", ModCrafingRecipes.recipeManaLens), new PageCraftingRecipe("8", ModCrafingRecipes.recipesLensDying), new PageCraftingRecipe("9", ModCrafingRecipes.recipeRainbowLens));
|
||||
|
||||
pool = new BLexiconEntry(LibLexicon.MANA_POOL, categoryMana);
|
||||
pool.setPriority().setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipePool));
|
||||
pool.setPriority().setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipePool), new PageText("2"), new PageManaInfusionRecipe("3", ModManaInfusionRecipes.manasteelRecipe), new PageManaInfusionRecipe("4", ModManaInfusionRecipes.manaPearlRecipe), new PageManaInfusionRecipe("5", ModManaInfusionRecipes.manaDiamondRecipe), new PageManaInfusionRecipe("6", ModManaInfusionRecipes.manaPetalRecipes));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -24,6 +24,7 @@ import net.minecraftforge.oredict.OreDictionary;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import vazkii.botania.api.internal.IGuiLexiconEntry;
|
||||
import vazkii.botania.api.internal.MappableStackWrapper;
|
||||
import vazkii.botania.api.recipe.RecipePetals;
|
||||
import vazkii.botania.client.lib.LibResources;
|
||||
import vazkii.botania.common.block.ModBlocks;
|
||||
@@ -61,7 +62,9 @@ public class PagePetalRecipe<T extends RecipePetals> extends PageRecipe {
|
||||
Object input = obj;
|
||||
if(input instanceof String)
|
||||
input = OreDictionary.getOres((String) input).get(0);
|
||||
|
||||
if(input instanceof MappableStackWrapper)
|
||||
input = ((MappableStackWrapper) input).getStack();
|
||||
|
||||
renderItemAtAngle(gui, currentDegree, (ItemStack) input);
|
||||
|
||||
currentDegree += degreePerInput;
|
||||
|
||||
@@ -28,6 +28,7 @@ public final class LibLexicon {
|
||||
public static final String BASICS_LEXICON = "lexicon";
|
||||
public static final String BASICS_WAND = "wand";
|
||||
public static final String BASICS_PURE_DAISY = "pureDaisy";
|
||||
public static final String BASICS_RUNE_ALTAR = "runeAltar";
|
||||
|
||||
public static final String MANA_INTRO = "mIntro";
|
||||
public static final String MANA_SPREADER = "spreader";
|
||||
|
||||
@@ -204,6 +204,28 @@ botania.entry.wand=Wand of the Forest
|
||||
botania.page.wand0=The general multi use tool for a botanist is the &1Wand of the Forest&0.<br>This wand, made by, effectively, strapping a pair of &1Mystical Petals&0 of any color to a few &1Sticks&0 is required for a good amount of tasks.
|
||||
botania.page.wand1=The petals use determine the colors.
|
||||
|
||||
# -- RUNIC ALTAR
|
||||
botania.entry.runeAltar=Runic Altar
|
||||
botania.page.runeAltar0=&1Runes&0 are extremely important components of complex magical devices or flora.<br>In order to create these, one would require a &1Runic Altar&0.<br>To utilize this &1Runic Altar&0, start by placing the components to the rune you want to create.
|
||||
botania.page.runeAltar1=Proceed by linking a &1Mana Spreader&0 to the altar, and right click it with a &1Wand of the Forest&0.<br>It should be apparent when the altar has received enough &4Mana&0, when that happens, just drop a piece of &1Livingrock&0 on top of it and use the wand on it again to collect your rune.
|
||||
botania.page.runeAltar2=Crafting the &1Runic Altar&0.
|
||||
botania.page.runeAltar3=A total of 16 &1Runes&0 exist.<br>The most basic and elementary runes are named after the &4Four Elements&0. The interemediate runes are named after the &4Four Seasons&0, and the most advanced runes are named after the &4Seven Deadly Sins&0. A separate &1Rune of Mana&0 also exists.
|
||||
botania.page.runeAltar4=The &1Rune of Water&0.
|
||||
botania.page.runeAltar5=The &1Rune of Fire&0.
|
||||
botania.page.runeAltar6=The &1Rune of Earth&0.
|
||||
botania.page.runeAltar7=The &1Rune of Air&0.
|
||||
botania.page.runeAltar8=The &1Rune of Spring&0.
|
||||
botania.page.runeAltar9=The &1Rune of Summer&0.
|
||||
botania.page.runeAltar10=The &1Rune of Autumn&0.
|
||||
botania.page.runeAltar11=The &1Rune of Winter&0.
|
||||
botania.page.runeAltar12=The &1Rune of Mana&0.
|
||||
botania.page.runeAltar13=The &1Rune of Lust&0.
|
||||
botania.page.runeAltar14=The &1Rune of Gluttony&0.
|
||||
botania.page.runeAltar15=The &1Rune of Greed&0.
|
||||
botania.page.runeAltar16=The &1Rune of Sloth&0.
|
||||
botania.page.runeAltar17=The &1Rune of Envy&0.
|
||||
botania.page.runeAltar18=The &1Rune of Pride&0.
|
||||
|
||||
# - MANA
|
||||
# -- INTRODUCTION TO MANA
|
||||
botania.entry.mIntro=Introduction to Mana
|
||||
@@ -227,6 +249,11 @@ botania.page.spreader9=&1Rainbow Lens&0 all the way
|
||||
botania.entry.pool=Mana Pool
|
||||
botania.page.pool0=The &1Mana Pool&0 is, simply put, a storage of &4Mana&0.<br>Mana can be inserted into it by usage of a &1Mana Spreader&0, and any adjacent &1Mana Spreaders&0 will pull mana from it to increase their internal buffer automatically.<br>Any &4Functional Flowers&0 require a nearby &1Mana Pool&0 to draw power from.
|
||||
botania.page.pool1=Making the &1Mana Pool&0.
|
||||
botania.page.pool2=Tossing in some resources into the Mana Pool will cause them to get infused with &4Mana&0, turning them into more powerful forms.<br>A few examples are &1Iron Ingots, Ender Pearls, Diamonds and Mystical Petals&0.
|
||||
botania.page.pool3=Infusing &1Manasteel&0
|
||||
botania.page.pool4=Infusing &1Mana Pearls&0
|
||||
botania.page.pool5=Infusing &1Mana Diamonds&0
|
||||
botania.page.pool6=Infusing &1Mana Petals&0
|
||||
|
||||
# - FUNCTIONAL FLOWERS
|
||||
|
||||
|
||||
Reference in new issue
Block a user