mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-27 23:45:57 +00:00
Recipe/Docs for the Eye of the Ancient.
This commit is contained in:
1 parent
8fb7d74a89
commit
d64fe16096
5 files changed
+31
-1
No files matched your search
@@ -13,14 +13,19 @@ package vazkii.botania.common.block;
|
||||
|
||||
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.util.IIcon;
|
||||
import net.minecraft.world.World;
|
||||
import vazkii.botania.api.ILexiconable;
|
||||
import vazkii.botania.api.lexicon.LexiconEntry;
|
||||
import vazkii.botania.client.core.helper.IconHelper;
|
||||
import vazkii.botania.common.block.tile.TileForestEye;
|
||||
import vazkii.botania.common.lexicon.LexiconData;
|
||||
import vazkii.botania.common.lib.LibBlockNames;
|
||||
|
||||
public class BlockForestEye extends BlockModContainer {
|
||||
public class BlockForestEye extends BlockModContainer implements ILexiconable {
|
||||
|
||||
IIcon[] icons;
|
||||
|
||||
@@ -71,4 +76,9 @@ public class BlockForestEye extends BlockModContainer {
|
||||
return new TileForestEye();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LexiconEntry getEntry(World world, int x, int y, int z, EntityPlayer player, ItemStack lexicon) {
|
||||
return LexiconData.forestEye;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -109,6 +109,7 @@ public final class ModCrafingRecipes {
|
||||
public static IRecipe recipeTinyPlanetBlock;
|
||||
public static IRecipe recipeAlchemyCatalyst;
|
||||
public static IRecipe recipeOpenCrate;
|
||||
public static IRecipe recipeForestEye;
|
||||
|
||||
public static void init() {
|
||||
// Lexicon Recipe
|
||||
@@ -575,6 +576,14 @@ public final class ModCrafingRecipes {
|
||||
"WWW", "W W", "W W",
|
||||
'W', new ItemStack(ModBlocks.livingwood, 1, 1));
|
||||
recipeOpenCrate = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Eye of the Ancients Recipe
|
||||
addOreDictRecipe(new ItemStack(ModBlocks.forestEye),
|
||||
"MSM", "SES", "MSM",
|
||||
'M', LibOreDict.MANA_STEEL,
|
||||
'S', LibOreDict.LIVING_ROCK,
|
||||
'E', new ItemStack(Items.ender_eye));
|
||||
recipeForestEye = BotaniaAPI.getLatestAddedRecipe();
|
||||
}
|
||||
|
||||
private static void addOreDictRecipe(ItemStack output, Object... recipe) {
|
||||
|
||||
@@ -100,6 +100,7 @@ public final class LexiconData {
|
||||
public static LexiconEntry turntable;
|
||||
public static LexiconEntry alchemy;
|
||||
public static LexiconEntry openCrate;
|
||||
public static LexiconEntry forestEye;
|
||||
|
||||
public static LexiconEntry manaBlaster;
|
||||
public static LexiconEntry grassSeeds;
|
||||
@@ -309,6 +310,9 @@ public final class LexiconData {
|
||||
openCrate = new BLexiconEntry(LibLexicon.DEVICE_OPEN_CRATE, categoryDevices);
|
||||
openCrate.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeOpenCrate));
|
||||
|
||||
forestEye = new BLexiconEntry(LibLexicon.DEVICE_FOREST_EYE, categoryDevices);
|
||||
forestEye.setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCrafingRecipes.recipeForestEye));
|
||||
|
||||
// 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));
|
||||
|
||||
@@ -81,6 +81,7 @@ public final class LibLexicon {
|
||||
public static final String DEVICE_TURNTABLE = "turntable";
|
||||
public static final String DEVICE_ALCHEMY = "manaAlchemy";
|
||||
public static final String DEVICE_OPEN_CRATE = "openCrate";
|
||||
public static final String DEVICE_FOREST_EYE = "forestEye";
|
||||
|
||||
public static final String TOOL_MANA_BLASTER = "manaBlaster";
|
||||
public static final String TOOL_GRASS_SEEDS = "grassSeeds";
|
||||
|
||||
@@ -670,6 +670,12 @@ botania.page.manaAlchemy15=Making &1Name Tags&0
|
||||
botania.page.manaAlchemy16=Creating &1Ender Pearls&0
|
||||
botania.page.manaAlchemy17=Breaking &1Cobblestone&0 into &1Sand&0
|
||||
|
||||
# -- EYE OF THE ANCIENTS
|
||||
botania.entry.forestEye=Eye of the Ancients
|
||||
botania.page.forestEye0=As the Ancients who used to watch over the world always looked for the living beings on it, this block, the &1Eye of the Ancients&0 will do just that.<br>By attaching a &1Comparator&0 next to it, it'll send out a redstone signal equivalent to the amount of animals it can find.
|
||||
botania.page.forestEye1=The counting only starts at 2, so, with 2 animals around, it'd output a signal of strength 3, with 3 animals, of strength 4 and so on.<br>Lastly, the time has worn down the sight of the Ancients, so this block can only see animals in about 6 blocks in any direction.
|
||||
botania.page.forestEye2=Now you see me...
|
||||
|
||||
# -- OPEN CRATE
|
||||
botania.entry.openCrate=Open Crate
|
||||
botania.page.openCrate0=Sometimes devices like &1Droppers&0 or &1Dispensers&0 aren't precise or fast enough. A simple solution is to make a crate and punch a hole in the bottom.<br>Yeah, it's that simple. The &1Open Crate&0 accepts items from &1Hoppers&0 or any other means of inserting items, and obviously, drops them directly below it.
|
||||
|
||||
Reference in new issue
Block a user