Recipe/docs for the Mana Fluxfield. Coming along.

This commit is contained in:
Lizbeth Rika committed 2014-08-30 16:19:30 +01:00
1 parent b103323cb7
commit d58a7c365e
5 files changed
+26 -1

No files matched your search

@@ -20,6 +20,7 @@ import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import vazkii.botania.api.lexicon.ILexiconable;
import vazkii.botania.api.lexicon.LexiconEntry;
import vazkii.botania.client.core.helper.IconHelper;
import vazkii.botania.common.block.tile.mana.TileDistributor;
@@ -27,7 +28,7 @@ import vazkii.botania.common.block.tile.mana.TileRFGenerator;
import vazkii.botania.common.lexicon.LexiconData;
import vazkii.botania.common.lib.LibBlockNames;
public class BlockRFGenerator extends BlockModContainer {
public class BlockRFGenerator extends BlockModContainer implements ILexiconable {
protected BlockRFGenerator() {
super(Material.rock);
@@ -50,4 +51,9 @@ public class BlockRFGenerator extends BlockModContainer {
return new TileRFGenerator();
}
@Override
public LexiconEntry getEntry(World world, int x, int y, int z, EntityPlayer player, ItemStack lexicon) {
return LexiconData.rfGenerator;
}
}
@@ -192,6 +192,7 @@ public final class ModCrafingRecipes {
public static IRecipe recipeLeafHorn;
public static IRecipe recipeDiviningRod;
public static List<IRecipe> recipesWings;
public static IRecipe recipeRFGenerator;
public static void init() {
// Lexicon Recipe
@@ -1208,6 +1209,14 @@ public final class ModCrafingRecipes {
GameRegistry.addShapelessRecipe(new ItemStack(ModItems.flightTiara, 1, 2 + i), new ItemStack(ModItems.flightTiara), new ItemStack(ModItems.quartz, 1, i));
recipesWings = BotaniaAPI.getLatestAddedRecipes(7);
// Mana Fluxfield Recipe
addOreDictRecipe(new ItemStack(ModBlocks.rfGenerator),
"SRS", "RMR", "SRS",
'S', LibOreDict.LIVING_ROCK,
'M', LibOreDict.MANA_STEEL,
'R', new ItemStack(Blocks.redstone_block));
recipeRFGenerator = BotaniaAPI.getLatestAddedRecipe();
// Mana and Terrasteel Block Recipes
addOreDictRecipe(new ItemStack(ModBlocks.storage, 1, 0),
"III", "III", "III",
@@ -73,6 +73,7 @@ public final class LexiconData {
public static LexiconEntry paintLens;
public static LexiconEntry sparks;
public static LexiconEntry sparkUpgrades;
public static LexiconEntry rfGenerator;
public static LexiconEntry functionalIntro;
public static LexiconEntry jadedAmaranthus;
@@ -241,6 +242,9 @@ public final class LexiconData {
sparkUpgrades = new ALexiconEntry(LibLexicon.MANA_SPARK_UPGRADES, categoryMana);
sparkUpgrades.setLexiconPages(new PageText("0"), new PageText("1"), new PageText("2"), new PageText("3"), new PageText("4"), new PageCraftingRecipe("5", ModCrafingRecipes.recipesSparkUpgrades));
rfGenerator = new BLexiconEntry(LibLexicon.MANA_RF_GENERATOR, categoryMana);
rfGenerator.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeRFGenerator));
lenses = new BLexiconEntry(LibLexicon.MANA_LENSES, categoryMana);
lenses.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeManaLens), new PageCraftingRecipe("2", ModCrafingRecipes.recipesLensDying), new PageCraftingRecipe("3", ModCrafingRecipes.recipeRainbowLens), new PageText("4"), new PageText("5"),
new PageText("6"), new PageCraftingRecipe("7", ModCrafingRecipes.recipeLensVelocity),
@@ -39,6 +39,7 @@ public final class LibLexicon {
public static final String MANA_DISTRIBUTOR = "distributor";
public static final String MANA_LENSES = "lens";
public static final String MANA_VOID = "manaVoid";
public static final String MANA_RF_GENERATOR = "rfGenerator";
public static final String MANA_TRANSPORT = "manaTransport";
public static final String MANA_DETECTOR = "manaDetector";
public static final String MANA_COMPOSITE_LENS = "compositeLens";
+5
View File
@@ -853,6 +853,11 @@ botania.entry.manaVoid=Mana Void
botania.page.manaVoid0=The &1Mana Void&0 is, in layman's terms, the grave for &4Mana&0. Any &4Mana&0 shot into this block will simply vanish into the void, never to be seen again.<br>Placing one of these under a &1Mana Pool&0 allows the pool to always accept &4Mana&0, but disposing any it can't hold.
botania.page.manaVoid1=Crafting the void block
# -- MANA FLUXFIELD
botania.entry.rfGenerator=Mana Fluxfield
botania.page.rfGenerator0=By passing &4Mana&0 through a field of redstone energy, its state can change from a natural energy source to &4Redstone Flux&0.<br>Simply pointing a spreader at this block will have it shoot at it, converting the &4Mana&0 that lands on it into &4RF&0. It can then be pulled out with any &4RF&0 transporter.
botania.page.rfGenerator1=The bullet guys. I bit it.
# -- MANA LENSES
botania.entry.lens=Mana Lenses
botania.page.lens0=In order to upgrade the potential a &1Mana Spreader&0, one can apply &1Mana Lenses&0. The very basic mana lens does absolutely nothing.<br>Lenses can be &4dyed&0 all the 16 colors of the spectrum, or combined with a &1Mana Pearl&0 to create a &1Rainbow Lens&0. These will change the color of the burst.