Recipe/docs for the Rosa Arcana.

This commit is contained in:
Vasco Lavos committed 2014-03-19 15:06:19 +00:00
1 parent 8aca160236
commit 63b0a9fe7c
5 files changed
+23 -3

No files matched your search

@@ -16,8 +16,10 @@ import java.util.List;
import cpw.mods.fml.common.network.PacketDispatcher;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.AxisAlignedBB;
import vazkii.botania.api.lexicon.LexiconEntry;
import vazkii.botania.api.subtile.SubTileGenerating;
import vazkii.botania.common.core.helper.ExperienceHelper;
import vazkii.botania.common.lexicon.LexiconData;
public class SubTileArcaneRose extends SubTileGenerating {
@@ -30,7 +32,7 @@ public class SubTileArcaneRose extends SubTileGenerating {
List<EntityPlayer> players = supertile.worldObj.getEntitiesWithinAABB(EntityPlayer.class, AxisAlignedBB.getBoundingBox(supertile.xCoord - 1, supertile.yCoord, supertile.zCoord - 1, supertile.xCoord + 2, supertile.yCoord + 1, supertile.zCoord + 2));
for(EntityPlayer player : players)
if(ExperienceHelper.getPlayerXP(player) >= 1) {
if(ExperienceHelper.getPlayerXP(player) >= 1 && player.onGround) {
ExperienceHelper.drainPlayerXP(player, 1);
mana += 10;
PacketDispatcher.sendPacketToAllInDimension(supertile.getDescriptionPacket(), supertile.worldObj.provider.dimensionId);
@@ -47,4 +49,10 @@ public class SubTileArcaneRose extends SubTileGenerating {
public int getMaxMana() {
return 200;
}
@Override
public LexiconEntry getEntry() {
return LexiconData.arcaneRose;
}
}
@@ -30,7 +30,8 @@ public final class ModPetalRecipes {
public static RecipePetals endoflameRecipe;
public static RecipePetals hydroangeasRecipe;
public static RecipePetals thermalilyRecipe;
public static RecipePetals arcaneRoseRecipe;
public static RecipePetals jadedAmaranthusRecipe;
public static RecipePetals bellethorneRecipe;
public static RecipePetals heiseiDreamRecipe;
@@ -46,7 +47,8 @@ public final class ModPetalRecipes {
endoflameRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_ENDOFLAME), brown, red, redMana, brownMana, lightGray);
hydroangeasRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_HYDROANGEAS), blueMana, blue, pink, lightBlue);
thermalilyRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_THERMALILY), red, orangeMana, orange, runeEarth, runeFire);
arcaneRoseRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_ARCANE_ROSE), pink, pinkMana, pinkMana, lime, purple, purpleMana, runeMana);
jadedAmaranthusRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_JADED_AMARANTHUS), purpleMana, purpleMana, lime, purple, green, runeSpring);
bellethorneRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_BELLETHORN), redMana, redMana, cyan, cyan, red);
heiseiDreamRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_HEISEI_DREAM), purpleMana, pinkMana, magentaMana, purple, pink, magenta, runeWrath);
@@ -81,6 +81,7 @@ public final class LexiconData {
public static LexiconEntry endoflame;
public static LexiconEntry hydroangeas;
public static LexiconEntry thermalily;
public static LexiconEntry arcaneRose;
public static LexiconEntry pistonRelay;
public static LexiconEntry pylon;
@@ -223,6 +224,9 @@ public final class LexiconData {
thermalily = new BLexiconEntry(LibLexicon.GFLOWER_THERMALILY, categoryGenerationFlowers);
thermalily.setLexiconPages(new PageText("0"), new PagePetalRecipe("1", ModPetalRecipes.thermalilyRecipe));
arcaneRose = new BLexiconEntry(LibLexicon.GFLOWER_ARCANE_ROSE, categoryGenerationFlowers);
arcaneRose.setLexiconPages(new PageText("0"), new PagePetalRecipe("1", ModPetalRecipes.arcaneRoseRecipe));
// DEVICES ENTRIES
pistonRelay = new BLexiconEntry(LibLexicon.DEVICE_PISTON_RELAY, categoryDevices);
pistonRelay.setLexiconPages(new PageText("0"), new PageText("1"), new PageManaInfusionRecipe("2", ModManaInfusionRecipes.pistonRelayRecipe));
@@ -64,6 +64,7 @@ public final class LibLexicon {
public static final String GFLOWER_ENDOFLAME = "endoflame";
public static final String GFLOWER_HYDROANGEAS = "hydroangeas";
public static final String GFLOWER_THERMALILY = "thermalily";
public static final String GFLOWER_ARCANE_ROSE = "arcanerose";
public static final String DEVICE_PISTON_RELAY = "pistonRelay";
public static final String DEVICE_PYLON = "pylon";
+5
View File
@@ -492,6 +492,11 @@ botania.entry.thermalily=Thermalily
botania.page.thermalily0=There comes a point where slow generating power, like the &1Hydroangeas&0 or the &1Endoflame&0 is not enough. An answer to that is the &1Thermalily&0, which works similarly to the &1Hydroangeas&0, except with &1Lava&0. Care should be taken with this flower, as it generates power at an extremely fast speed.
botania.page.thermalily1=&oLily ought to know&r.
# -- ROSA ARCANA
botania.entry.arcanerose=Rosa Arcana
botania.page.arcanerose0=&4Experience Points&0 are a form of magic of sorts. The &1Rosa Arcana&0 can tap into it and absorb the experience of players on the ground around it, turning it into &1Mana&0.
botania.page.arcanerose1=&oGo have a drink, it might take a bit&r.
# - MAGICAL APPARATUS
# -- FORCE RELAY
botania.entry.pistonRelay=Force Relay