diff --git a/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileArcaneRose.java b/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileArcaneRose.java index cbb8a88c0..4e5b20541 100644 --- a/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileArcaneRose.java +++ b/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileArcaneRose.java @@ -10,6 +10,9 @@ */ package vazkii.botania.common.block.subtile.generating; +import java.util.List; + +import net.minecraft.entity.item.EntityXPOrb; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.util.math.AxisAlignedBB; import vazkii.botania.api.lexicon.LexiconEntry; @@ -18,8 +21,6 @@ import vazkii.botania.api.subtile.SubTileGenerating; import vazkii.botania.common.core.helper.ExperienceHelper; import vazkii.botania.common.lexicon.LexiconData; -import java.util.List; - public class SubTileArcaneRose extends SubTileGenerating { private static final int RANGE = 1; @@ -38,6 +39,14 @@ public class SubTileArcaneRose extends SubTileGenerating { mana += 50; return; } + + List orbs = supertile.getWorld().getEntitiesWithinAABB(EntityXPOrb.class, new AxisAlignedBB(supertile.getPos().add(-RANGE, -RANGE, -RANGE), supertile.getPos().add(RANGE + 1, RANGE + 1, RANGE + 1))); + for(EntityXPOrb orb : orbs) { +// mana += orb.getXpValue() * 35; +// orb.setDead(); + return; + } + } @Override diff --git a/src/main/resources/assets/botania/lang/en_US.lang b/src/main/resources/assets/botania/lang/en_US.lang index 84dd4c997..64ee20e69 100644 --- a/src/main/resources/assets/botania/lang/en_US.lang +++ b/src/main/resources/assets/botania/lang/en_US.lang @@ -2470,7 +2470,7 @@ botania.page.thermalily1=&oThe hardest flower in the game&r. # -- ROSA ARCANA botania.entry.arcanerose=Rosa Arcana botania.tagline.arcanerose=Mana from experience -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.
What the flower can not do, however, is absorb raw experience orbs from the floor. They must first be gathered by a player. +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.
The experience can also be acquired from experience orbs in the world, not requiring the player being present. This method, however, is less effective, production wise. botania.page.arcanerose1=&oWhen this flower is planted, toss a coin&r. # -- MUNCHDEW