diff --git a/MODSRC/vazkii/botania/common/block/BlockSpawnerClaw.java b/MODSRC/vazkii/botania/common/block/BlockSpawnerClaw.java index 64e848a70..2a218ccd4 100644 --- a/MODSRC/vazkii/botania/common/block/BlockSpawnerClaw.java +++ b/MODSRC/vazkii/botania/common/block/BlockSpawnerClaw.java @@ -11,16 +11,21 @@ */ package vazkii.botania.common.block; +import vazkii.botania.api.lexicon.ILexiconable; +import vazkii.botania.api.lexicon.LexiconEntry; import vazkii.botania.client.lib.LibRenderIDs; import vazkii.botania.client.lib.LibResources; import vazkii.botania.common.block.tile.TileSpawnerClaw; +import vazkii.botania.common.lexicon.LexiconData; import vazkii.botania.common.lib.LibBlockNames; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemStack; import net.minecraft.tileentity.TileEntity; import net.minecraft.world.World; -public class BlockSpawnerClaw extends BlockModContainer { +public class BlockSpawnerClaw extends BlockModContainer implements ILexiconable { protected BlockSpawnerClaw() { super(Material.iron); @@ -57,4 +62,9 @@ public class BlockSpawnerClaw extends BlockModContainer { return new TileSpawnerClaw(); } + @Override + public LexiconEntry getEntry(World world, int x, int y, int z, EntityPlayer player, ItemStack lexicon) { + return LexiconData.spawnerClaw; + } + } diff --git a/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java b/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java index b0a4d9488..b0a8268ac 100644 --- a/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java +++ b/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java @@ -168,6 +168,7 @@ public final class ModCrafingRecipes { public static IRecipe recipeVirusSkeleton; public static IRecipe recipeReachRing; public static IRecipe recipeSkyDirtRod; + public static IRecipe recipeSpawnerClaw; public static void init() { // Lexicon Recipe @@ -1028,6 +1029,15 @@ public final class ModCrafingRecipes { addShapelessOreDictRecipe(new ItemStack(ModItems.skyDirtRod), new ItemStack(ModItems.dirtRod), LibOreDict.PIXIE_DUST, LibOreDict.RUNE[3]); recipeSkyDirtRod = BotaniaAPI.getLatestAddedRecipe(); + // Life Imbuer Recipe + addOreDictRecipe(new ItemStack(ModBlocks.spawnerClaw), + "BSB", "PMP", "P P", + 'B', new ItemStack(Items.blaze_rod), + 'S', LibOreDict.ELEMENTIUM, + 'P', new ItemStack(ModBlocks.prismarine, 1, 2), + 'M', new ItemStack(ModBlocks.storage)); + recipeSpawnerClaw = BotaniaAPI.getLatestAddedRecipe(); + // Mana and Terrasteel Block Recipes addOreDictRecipe(new ItemStack(ModBlocks.storage, 1, 0), "III", "III", "III", diff --git a/MODSRC/vazkii/botania/common/lexicon/LexiconData.java b/MODSRC/vazkii/botania/common/lexicon/LexiconData.java index b77ef87ad..9eb0fdf12 100644 --- a/MODSRC/vazkii/botania/common/lexicon/LexiconData.java +++ b/MODSRC/vazkii/botania/common/lexicon/LexiconData.java @@ -114,6 +114,7 @@ public final class LexiconData { public static LexiconEntry conjurationCatalyst; public static LexiconEntry spectralPlatform; public static LexiconEntry gatherDrum; + public static LexiconEntry spawnerClaw; public static LexiconEntry manaBlaster; public static LexiconEntry grassSeeds; @@ -399,6 +400,9 @@ public final class LexiconData { gatherDrum = new ALexiconEntry(LibLexicon.DEVICE_GATHER_DRUM, categoryDevices); gatherDrum.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeGatherDrum)); + spawnerClaw = new ALexiconEntry(LibLexicon.DEVICE_SPAWNER_CLAW, categoryDevices); + spawnerClaw.setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCrafingRecipes.recipeSpawnerClaw)); + // TOOLS ENTRIES manaBlaster = new BLexiconEntry(LibLexicon.TOOL_MANA_BLASTER, categoryTools); manaBlaster.setLexiconPages(new PageText("0"), new PageText("1"), new PageText("2"), new PageCraftingRecipe("3", ModCrafingRecipes.recipeManaBlaster)); diff --git a/MODSRC/vazkii/botania/common/lib/LibLexicon.java b/MODSRC/vazkii/botania/common/lib/LibLexicon.java index 49b23fee5..dc3be958f 100644 --- a/MODSRC/vazkii/botania/common/lib/LibLexicon.java +++ b/MODSRC/vazkii/botania/common/lib/LibLexicon.java @@ -91,6 +91,7 @@ public final class LibLexicon { public static final String DEVICE_MANA_CONJURATION = "manaConjuration"; public static final String DEVICE_SPECTRAL_PLATFORM = "spectralPlatform"; public static final String DEVICE_GATHER_DRUM = "gatherDrum"; + public static final String DEVICE_SPAWNER_CLAW = "spawnerClaw"; public static final String TOOL_MANA_BLASTER = "manaBlaster"; public static final String TOOL_GRASS_SEEDS = "grassSeeds"; diff --git a/resources/assets/botania/lang/en_US.lang b/resources/assets/botania/lang/en_US.lang index fffbe39f2..71fbc9143 100644 --- a/resources/assets/botania/lang/en_US.lang +++ b/resources/assets/botania/lang/en_US.lang @@ -908,7 +908,7 @@ botania.page.clayconia1=&oWhat a killer joke&r. # -- LOONIUM botania.entry.loonium=Loonium -botania.page.loonium0=Any weary adventurer knows that &4Dungeons&0 can hold valuable goodies. The &1Loonium&0 can, at the use of an extreme amount of &4Mana&0, materialize these items and drop them in the nearby vacinity. +botania.page.loonium0=Any weary adventurer knows that &4Dungeons&0 can hold valuable goodies. The &1Loonium&0 can, at the use of an extreme amount of &4Mana&0, materialize these items and drop them in the nearby vicinity. botania.page.loonium1=&oTank Tank Heal Tank&r! # -- DAFFOMILL @@ -942,7 +942,7 @@ botania.page.nightshade1=&oThe shadow of the day&r. # -- ENDOFLAME botania.entry.endoflame=Endoflame -botania.page.endoflame0=While the &1Daybloom&0 is all well and good, a botanist requires more effective means of generating &4Mana&0.
The &1Endoflame&0 does that exactly, it will absorb any combustible items or blocks dropped on the nearby vacinity (albeit only one at a time) and burn through them to passively generate mana while the fuel lasts. +botania.page.endoflame0=While the &1Daybloom&0 is all well and good, a botanist requires more effective means of generating &4Mana&0.
The &1Endoflame&0 does that exactly, it will absorb any combustible items or blocks dropped on the nearby vicinity (albeit only one at a time) and burn through them to passively generate mana while the fuel lasts. botania.page.endoflame1=There is a small caveat though, the &1Endoflame&0 will not burn anything that returns a bi-product, an example are &1Lava Buckets&0, that have empty &1Buckets&0 as a bi-product. botania.page.endoflame2=&oNot nitor&r. @@ -1078,6 +1078,12 @@ botania.entry.gatherDrum=Drum of the Gathering botania.page.gatherDrum0=The &1Drum of the Gathering&0 is, in short terms, a &1Drum of the Wild&0 for livestock.
When a &4Mana Burst&0 collides with it, it'll shear any &4Sheep&0 around with grown fleece. Any &4Cows&0, with &1Empty Buckets&0 below them will have their milk transfered to the buckets. botania.page.gatherDrum1=Tap your lands +# -- LIFE IMBUER +botania.entry.spawnerClaw=Life Imbuer +botania.page.spawnerClaw0=&1Monster Spawners&0 are an interesting bunch. They have the ability to bring out life from thin air, but somehow, this only manifests when there's a player nearby.
This, of course, tends to be a rather limiting factor in the onslaught of any creatures that they can create. +botania.page.spawnerClaw1=By placing a &1Life Imbuer&0 on top of a &1Monster Spreader&0 and giving it a rather decent chunk of &4Mana&0 through a &1Mana Spreader&0, when there aren't any players in the nearby vicinity, the &4Mana&0 will power the spawner, just as if there were players around. +botania.page.spawnerClaw2=Something something shadow dragon + # - MYSTICAL INSTRUMENTS # -- MANA BLASTER botania.entry.manaBlaster=Mana Blaster