Recipe/docs for the Entropinnyum.

This commit is contained in:
Vasco Lavos committed 2014-06-08 16:26:54 +01:00
1 parent e9e3be700b
commit 87a425ffb0
5 files changed
+26 -2

No files matched your search

@@ -15,7 +15,11 @@ import java.util.List;
import net.minecraft.entity.item.EntityTNTPrimed;
import net.minecraft.util.AxisAlignedBB;
import vazkii.botania.api.BotaniaAPI;
import vazkii.botania.api.lexicon.LexiconEntry;
import vazkii.botania.api.subtile.SubTileGenerating;
import vazkii.botania.common.Botania;
import vazkii.botania.common.lexicon.LexiconData;
public class SubTileEntropinnyum extends SubTileGenerating {
@@ -24,7 +28,7 @@ public class SubTileEntropinnyum extends SubTileGenerating {
super.onUpdate();
if(mana == 0) {
int range = 16;
int range = 12;
List<EntityTNTPrimed> tnts = supertile.getWorldObj().getEntitiesWithinAABB(EntityTNTPrimed.class, AxisAlignedBB.getBoundingBox(supertile.xCoord - range, supertile.yCoord - range, supertile.zCoord - range, supertile.xCoord + range + 1, supertile.yCoord + range + 1, supertile.zCoord + range + 1));
for(EntityTNTPrimed tnt : tnts) {
if(tnt.fuse == 1 && !tnt.isDead) {
@@ -35,6 +39,9 @@ public class SubTileEntropinnyum extends SubTileGenerating {
sync();
}
for(int i = 0; i < 50; i++)
Botania.proxy.sparkleFX(tnt.worldObj, tnt.posX + Math.random() * 4 - 2, tnt.posY + Math.random() * 4 - 2, tnt.posZ + Math.random() * 4 - 2, 1F, (float) Math.random() * 0.25F, (float) Math.random() * 0.25F, (float) (Math.random() * 0.65F + 1.25F), 12);
supertile.getWorldObj().spawnParticle("hugeexplosion", tnt.posX, tnt.posY, tnt.posZ, 1D, 0D, 0D);
return;
}
@@ -51,5 +58,10 @@ public class SubTileEntropinnyum extends SubTileGenerating {
public int getMaxMana() {
return 6500;
}
@Override
public LexiconEntry getEntry() {
return LexiconData.entropinnyum;
}
}
@@ -34,6 +34,7 @@ public final class ModPetalRecipes {
public static RecipePetals thermalilyRecipe;
public static RecipePetals arcaneRoseRecipe;
public static RecipePetals munchdewRecipe;
public static RecipePetals entropinnyumRecipe;
public static RecipePetals jadedAmaranthusRecipe;
public static RecipePetals bellethorneRecipe;
@@ -64,7 +65,8 @@ public final class ModPetalRecipes {
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);
munchdewRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_MUNCHDEW), lime, limeMana, green, red, redMana, white, whiteMana, runeGluttony);
entropinnyumRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_ENTROPINNYUM), red, redMana, gray, grayMana, white, whiteMana, runeWrath, runeFire);
jadedAmaranthusRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_JADED_AMARANTHUS), purpleMana, purpleMana, lime, purple, green, runeSpring, redstoneRoot);
bellethorneRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_BELLETHORN), redMana, redMana, cyan, cyan, red, redstoneRoot);
dreadthorneRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_DREADTHORN), blackMana, purpleMana, cyan, cyan, black, purple, redstoneRoot);
@@ -100,6 +100,7 @@ public final class LexiconData {
public static LexiconEntry thermalily;
public static LexiconEntry arcaneRose;
public static LexiconEntry munchdew;
public static LexiconEntry entropinnyum;
public static LexiconEntry pistonRelay;
public static LexiconEntry pylon;
@@ -323,6 +324,9 @@ public final class LexiconData {
munchdew = new BLexiconEntry(LibLexicon.GFLOWER_MUNCHDEW, categoryGenerationFlowers);
munchdew.setLexiconPages(new PageText("0"), new PagePetalRecipe("1", ModPetalRecipes.munchdewRecipe));
entropinnyum = new BLexiconEntry(LibLexicon.GFLOWER_ENTROPINNYUM, categoryGenerationFlowers);
entropinnyum.setLexiconPages(new PageText("0"), new PagePetalRecipe("1", ModPetalRecipes.entropinnyumRecipe));
// DEVICES ENTRIES
pistonRelay = new BLexiconEntry(LibLexicon.DEVICE_PISTON_RELAY, categoryDevices);
pistonRelay.setLexiconPages(new PageText("0"), new PageText("1"), new PageManaInfusionRecipe("2", ModManaInfusionRecipes.pistonRelayRecipe));
@@ -81,6 +81,7 @@ public final class LibLexicon {
public static final String GFLOWER_THERMALILY = "thermalily";
public static final String GFLOWER_ARCANE_ROSE = "arcanerose";
public static final String GFLOWER_MUNCHDEW = "munchdew";
public static final String GFLOWER_ENTROPINNYUM = "entropinnyum";
public static final String DEVICE_PISTON_RELAY = "pistonRelay";
public static final String DEVICE_PYLON = "pylon";
+5
View File
@@ -736,6 +736,11 @@ botania.entry.munchdew=Munchdew
botania.page.munchdew0=Generating the form of natural energy that is &4Mana&0 should be a pretty good process when done via other living materials. By using the &1Munchdew&0, any &1Leaves&0 near the flower will get munched up and convereted into &4Mana&0.<br>It's to note that, though, no saplings or any other items will be dropped from the leaves.
botania.page.munchdew1=&oItadakimasu&r!
# -- ENTROPINNYUM
botania.entry.entropinnyum=Entropinnyum
botania.page.entropinnyum0=In order to generate a blast of &4Mana&0, one might in fact, require a blast nearby.<br>Igniting a block of &1TNT&0 in the near an &1Entropinnyum&0 will have the latter absorb all the entropy generated by the blast into itself, creating a large amount of &4Mana&0 and nullifiying any possible damage. Lastly, to absorb the explosion, the flower must not have any &4Mana&0 stored in it or the process will fail.
botania.page.entropinnyum1=&oCool guys don't look at explosions&r.
# - MAGICAL APPARATUS
# -- FORCE RELAY
botania.entry.pistonRelay=Force Relay