diff --git a/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java b/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java index 1633894dc..dbc5707be 100644 --- a/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java +++ b/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java @@ -145,6 +145,7 @@ public final class ModCrafingRecipes { public static IRecipe recipeSpawnerMover; public static IRecipe recipePixieRing; public static IRecipe recipeSuperTravelBelt; + public static IRecipe recipeRainbowRod; public static void init() { // Lexicon Recipe @@ -828,6 +829,14 @@ public final class ModCrafingRecipes { 'S', new ItemStack(ModItems.travelBelt)); recipeSuperTravelBelt = BotaniaAPI.getLatestAddedRecipe(); + // Rod of Bifrost Recipe + addOreDictRecipe(new ItemStack(ModItems.rainbowRod), + " PD", " EP", "E ", + 'P', LibOreDict.PIXIE_DUST, + 'E', LibOreDict.ELEMENTIUM, + 'D', LibOreDict.DRAGONSTONE); + recipeRainbowRod = BotaniaAPI.getLatestAddedRecipe(); + // Mana and Terrasteel Block Recipes addOreDictRecipe(new ItemStack(ModBlocks.storage, 1, 0), "III", "III", "III", diff --git a/MODSRC/vazkii/botania/common/item/ItemRainbowRod.java b/MODSRC/vazkii/botania/common/item/ItemRainbowRod.java index 8f66756ac..edfd4c4d9 100644 --- a/MODSRC/vazkii/botania/common/item/ItemRainbowRod.java +++ b/MODSRC/vazkii/botania/common/item/ItemRainbowRod.java @@ -52,7 +52,7 @@ public class ItemRainbowRod extends ItemMod implements IManaUsingItem { int count = 0; - while(count < 96 && (((int) lx == (int) x && (int) ly == (int) y && (int) lz == (int) z) || par2World.getBlock((int) x, (int) y, (int) z).isAir(par2World, (int) x, (int) y, (int) z)) || par2World.getBlock((int) x, (int) y, (int) z) == place) { + while(count < 100 && (((int) lx == (int) x && (int) ly == (int) y && (int) lz == (int) z) || par2World.getBlock((int) x, (int) y, (int) z).isAir(par2World, (int) x, (int) y, (int) z)) || par2World.getBlock((int) x, (int) y, (int) z) == place) { for(int i = -2; i < 1; i++) for(int j = -2; j < 1; j++) if(par2World.getBlock((int) x + i, (int) y, (int) z + j).isAir(par2World, (int) x + i, (int) y, (int) z + j) || par2World.getBlock((int) x + i, (int) y, (int) z + j) == place) { diff --git a/MODSRC/vazkii/botania/common/lexicon/LexiconData.java b/MODSRC/vazkii/botania/common/lexicon/LexiconData.java index 59e5095df..cd94c40b2 100644 --- a/MODSRC/vazkii/botania/common/lexicon/LexiconData.java +++ b/MODSRC/vazkii/botania/common/lexicon/LexiconData.java @@ -133,6 +133,7 @@ public final class LexiconData { public static LexiconEntry elfGear; public static LexiconEntry openBucket; public static LexiconEntry spawnerMover; + public static LexiconEntry rainbowRod; public static LexiconEntry baublesIntro; public static LexiconEntry tinyPlanet; @@ -439,6 +440,9 @@ public final class LexiconData { spawnerMover = new ALexiconEntry(LibLexicon.TOOL_SPAWNER_MOVER, categoryTools); spawnerMover.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeSpawnerMover)); + rainbowRod = new ALexiconEntry(LibLexicon.TOOL_RAINBOW_ROD, categoryTools); + rainbowRod.setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCrafingRecipes.recipeRainbowRod)); + // BAUBLES ENTRIES baublesIntro = new BLexiconEntry(LibLexicon.BAUBLE_INTRO, categoryBaubles); baublesIntro.setPriority().setLexiconPages(new PageText("0"), new PageImage("1", LibResources.ENTRY_BAUBLES), new PageText("2")); diff --git a/MODSRC/vazkii/botania/common/lib/LibLexicon.java b/MODSRC/vazkii/botania/common/lib/LibLexicon.java index 4e6dc8013..f38f28078 100644 --- a/MODSRC/vazkii/botania/common/lib/LibLexicon.java +++ b/MODSRC/vazkii/botania/common/lib/LibLexicon.java @@ -110,6 +110,7 @@ public final class LibLexicon { public static final String TOOL_ELF_GEAR = "elfGear"; public static final String TOOL_OPEN_BUCKET = "openBucket"; public static final String TOOL_SPAWNER_MOVER = "spawnerMover"; + public static final String TOOL_RAINBOW_ROD = "rainbowRod"; public static final String BAUBLE_INTRO = "bIntro"; public static final String BAUBLE_TINY_PLANET = "tinyPlanet"; diff --git a/resources/assets/botania/lang/en_US.lang b/resources/assets/botania/lang/en_US.lang index eb59c92b8..e22709466 100644 --- a/resources/assets/botania/lang/en_US.lang +++ b/resources/assets/botania/lang/en_US.lang @@ -1062,6 +1062,12 @@ botania.entry.spawnerMover=Life Aggregator botania.page.spawnerMover0=By arranging &1Dragonstone&0, &1Elementium&0 and &1Essence of Eternal Life&0 in a specific pattern, one can create a device that can contain the curious energies of a &1Monster Spawner&0 and materialize it in another point in space.
It's to note that the device will shatter after being used once. botania.page.spawnerMover1=We got the spawner, but this isn't a won run yet +# -- ROD OF BIFROST +botania.entry.rainbowRod=Rod of Bifrost +botania.page.rainbowRod0=&4Bifrost&0, the rainbow bridge that reaches between the world and the realm of the gods.
While this item, the &1Rod of Bifrost&0 doesn't exactly do that, it allows the holder, via a right click and at the cost of some &4Mana&0, to create a rainbow bridge in the direction he or she is looking at. +botania.page.rainbowRod1=This bridge extends as far as a hundred blocks, and will vanish after about fifteen seconds.
Only one bridge can be created for any given &1Rod of Bifrost&0 at a time, as soon as the old bridge vanishes, a new one can be created. +botania.page.rainbowRod2=Going my way!! Cut open a path and go! + # - BAUBLES # -- AN INTRODUCTION TO BAUBLES botania.entry.bIntro=An Introduction to Baubles