From c34620fbd196facca0565337e8e0f3c6bed555cc Mon Sep 17 00:00:00 2001 From: Vasco Lavos Date: Wed, 25 Jun 2014 16:15:23 +0100 Subject: [PATCH] Lexica Botania cleanup. --- .../botania/common/lexicon/LexiconData.java | 67 ++++--------- .../vazkii/botania/common/lib/LibLexicon.java | 12 +-- resources/assets/botania/lang/en_US.lang | 95 +++++++------------ 3 files changed, 50 insertions(+), 124 deletions(-) diff --git a/MODSRC/vazkii/botania/common/lexicon/LexiconData.java b/MODSRC/vazkii/botania/common/lexicon/LexiconData.java index bf53342f0..95388a202 100644 --- a/MODSRC/vazkii/botania/common/lexicon/LexiconData.java +++ b/MODSRC/vazkii/botania/common/lexicon/LexiconData.java @@ -59,22 +59,11 @@ public final class LexiconData { public static LexiconEntry manaIntro; public static LexiconEntry spreader; public static LexiconEntry pool; + public static LexiconEntry lenses; public static LexiconEntry distributor; public static LexiconEntry manaVoid; - public static LexiconEntry lensVelocity; - public static LexiconEntry lensPotency; - public static LexiconEntry lensResistance; - public static LexiconEntry lensEfficiency; - public static LexiconEntry lensBounce; - public static LexiconEntry lensGravity; - public static LexiconEntry lensBore; - public static LexiconEntry lensDamaging; - public static LexiconEntry lensPhantom; - public static LexiconEntry lensMagnet; - public static LexiconEntry lensExplosive; public static LexiconEntry manaTransport; public static LexiconEntry manaDetector; - public static LexiconEntry compositeLens; public static LexiconEntry redstoneSpreader; public static LexiconEntry manastar; public static LexiconEntry dreamwoodSpreader; @@ -184,7 +173,7 @@ public final class LexiconData { apothecary.setPriority().setLexiconPages(new PageText("0"), new PageImage("1", LibResources.ENTRY_APOTHECARY), new PageText("2"), new PageText("3"), new PageCraftingRecipe("4", ModCrafingRecipes.recipesApothecary)); lexicon = new BLexiconEntry(LibLexicon.BASICS_LEXICON, categoryBasics); - lexicon.setPriority().setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeLexicon), new PageText("2")); + lexicon.setPriority().setLexiconPages(new PageText("0"), new PageText("3"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeLexicon), new PageText("2")); wand = new BLexiconEntry(LibLexicon.BASICS_WAND, categoryBasics); wand.setPriority().setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCrafingRecipes.recipesTwigWand)); @@ -207,47 +196,28 @@ public final class LexiconData { manaIntro.setPriority().setLexiconPages(new PageText("0"), new PageText("1"), new PageText("2")); spreader = new BLexiconEntry(LibLexicon.MANA_SPREADER, categoryMana); - spreader.setPriority().setLexiconPages(new PageText("0"), new PageText("10"), new PageText("11"), new PageImage("1", LibResources.ENTRY_SPREADER), new PageText("2"), new PageText("3"), new PageText("4"), new PageCraftingRecipe("5", ModCrafingRecipes.recipesSpreader), new PageText("6"), new PageCraftingRecipe("7", ModCrafingRecipes.recipeManaLens), new PageCraftingRecipe("8", ModCrafingRecipes.recipesLensDying), new PageCraftingRecipe("9", ModCrafingRecipes.recipeRainbowLens)); + spreader.setPriority().setLexiconPages(new PageText("0"), new PageText("10"), new PageText("11"), new PageImage("1", LibResources.ENTRY_SPREADER), new PageText("2"), new PageText("3"), new PageText("4"), new PageCraftingRecipe("5", ModCrafingRecipes.recipesSpreader)); pool = new BLexiconEntry(LibLexicon.MANA_POOL, categoryMana); pool.setPriority().setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipePool), new PageText("2"), new PageText("8"), new PageManaInfusionRecipe("3", ModManaInfusionRecipes.manasteelRecipes), new PageManaInfusionRecipe("4", ModManaInfusionRecipes.manaPearlRecipe), new PageManaInfusionRecipe("5", ModManaInfusionRecipes.manaDiamondRecipe), new PageManaInfusionRecipe("6", ModManaInfusionRecipes.manaPetalRecipes), new PageManaInfusionRecipe("7", ModManaInfusionRecipes.manaCookieRecipe)); + 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), + new PageText("8"), new PageCraftingRecipe("9", ModCrafingRecipes.recipeLensPotency), + new PageText("10"), new PageCraftingRecipe("11", ModCrafingRecipes.recipeLensResistance), + new PageText("12"), new PageCraftingRecipe("13", ModCrafingRecipes.recipeLensEfficiency), + new PageText("14"), new PageCraftingRecipe("15", ModCrafingRecipes.recipeLensBounce), + new PageText("16"), new PageCraftingRecipe("17", ModCrafingRecipes.recipeLensGravity), + new PageText("18"), new PageCraftingRecipe("19", ModCrafingRecipes.recipeLensBore), + new PageText("20"), new PageCraftingRecipe("21", ModCrafingRecipes.recipeLensDamaging), + new PageText("22"), new PageCraftingRecipe("23", ModCrafingRecipes.recipeLensPhantom), + new PageText("24"), new PageCraftingRecipe("25", ModCrafingRecipes.recipeLensMagnet), + new PageText("26"), new PageCraftingRecipe("27", ModCrafingRecipes.recipeLensExplosive)); + distributor = new BLexiconEntry(LibLexicon.MANA_DISTRIBUTOR, categoryMana); distributor.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeDistributor)); - lensVelocity = new BLexiconEntry(LibLexicon.MANA_LENS_VELOCITY, categoryMana); - lensVelocity.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeLensVelocity)); - - lensPotency = new BLexiconEntry(LibLexicon.MANA_LENS_POTENCY, categoryMana); - lensPotency.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeLensPotency)); - - lensResistance = new BLexiconEntry(LibLexicon.MANA_LENS_RESISTANCE, categoryMana); - lensResistance.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeLensResistance)); - - lensEfficiency = new BLexiconEntry(LibLexicon.MANA_LENS_EFFICIENCY, categoryMana); - lensEfficiency.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeLensEfficiency)); - - lensBounce = new BLexiconEntry(LibLexicon.MANA_LENS_BOUNCE, categoryMana); - lensBounce.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeLensBounce)); - - lensGravity = new BLexiconEntry(LibLexicon.MANA_LENS_GRAVITY, categoryMana); - lensGravity.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeLensGravity)); - - lensBore = new BLexiconEntry(LibLexicon.MANA_LENS_BORE, categoryMana); - lensBore.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeLensBore)); - - lensDamaging = new BLexiconEntry(LibLexicon.MANA_LENS_DAMAGING, categoryMana); - lensDamaging.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeLensDamaging)); - - lensPhantom = new BLexiconEntry(LibLexicon.MANA_LENS_PHANTOM, categoryMana); - lensPhantom.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeLensPhantom)); - - lensMagnet = new BLexiconEntry(LibLexicon.MANA_LENS_MAGNET, categoryMana); - lensMagnet.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeLensMagnet)); - - lensExplosive = new BLexiconEntry(LibLexicon.MANA_LENS_EXPLOSIVE, categoryMana); - lensExplosive.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeLensExplosive)); - manaVoid = new BLexiconEntry(LibLexicon.MANA_VOID, categoryMana); manaVoid.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeManaVoid)); @@ -258,9 +228,6 @@ public final class LexiconData { manaDetector = new BLexiconEntry(LibLexicon.MANA_DETECTOR, categoryMana); manaDetector.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeManaDetector)); - compositeLens = new BLexiconEntry(LibLexicon.MANA_COMPOSITE_LENS, categoryMana); - compositeLens.setLexiconPages(new PageText("0")); - redstoneSpreader = new BLexiconEntry(LibLexicon.MANA_REDSTONE_SPREADER, categoryMana); redstoneSpreader.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeRedstoneSpreader)); diff --git a/MODSRC/vazkii/botania/common/lib/LibLexicon.java b/MODSRC/vazkii/botania/common/lib/LibLexicon.java index 79e790d35..d1d510834 100644 --- a/MODSRC/vazkii/botania/common/lib/LibLexicon.java +++ b/MODSRC/vazkii/botania/common/lib/LibLexicon.java @@ -37,17 +37,7 @@ public final class LibLexicon { public static final String MANA_SPREADER = "spreader"; public static final String MANA_POOL = "pool"; public static final String MANA_DISTRIBUTOR = "distributor"; - public static final String MANA_LENS_VELOCITY = "lensVelocity"; - public static final String MANA_LENS_POTENCY = "lensPotency"; - public static final String MANA_LENS_RESISTANCE = "lensResistance"; - public static final String MANA_LENS_EFFICIENCY = "lensEfficiency"; - public static final String MANA_LENS_BOUNCE = "lensBounce"; - public static final String MANA_LENS_GRAVITY = "lensGravity"; - public static final String MANA_LENS_BORE = "lensBore"; - public static final String MANA_LENS_DAMAGING = "lensDamaging"; - public static final String MANA_LENS_PHANTOM = "lensPhantom"; - public static final String MANA_LENS_MAGNET = "lensMagnet"; - public static final String MANA_LENS_EXPLOSIVE = "lensExplosive"; + public static final String MANA_LENSES = "lens"; public static final String MANA_VOID = "manaVoid"; public static final String MANA_TRANSPORT = "manaTransport"; public static final String MANA_DETECTOR = "manaDetector"; diff --git a/resources/assets/botania/lang/en_US.lang b/resources/assets/botania/lang/en_US.lang index 5a5d60d75..8d23e4c2b 100644 --- a/resources/assets/botania/lang/en_US.lang +++ b/resources/assets/botania/lang/en_US.lang @@ -517,7 +517,7 @@ botania.gui.lexicon.header=Lexica Botania, %s Edition's Index - Pick which categ botania.gui.lexicon.wip=(This entry is a Work In Progress. It's not even it's final form) # LEXICON CATEGORIES -botania.category.basics=Basics +botania.category.basics=Basics and Mechanics botania.category.mana=Mana Manipulation botania.category.functionalFlowers=Functional Flora botania.category.generationFlowers=Generating Flora @@ -533,6 +533,7 @@ botania.category.misc=Miscellaneous # -- LEXICA BOTANIA botania.entry.lexicon=Lexica Botania botania.page.lexicon0=The &1Lexica Botania&0 is the repository of all knowledge for all botany related matters. But you probably knew that already.
All information is stored here, as expected. For convenience, if a block happens to have an entry, it can be shift-right clicked with the &1Lexica Botania&0 to open that entry. +botania.page.lexicon3=Any entries typed in &oItalics&r are &4basic&0 entries, which contain the very basic knowledge required to playing Botania. They should be prioritized over others, most of the sections contain one or more, so a good look through through them is a good idea. botania.page.lexicon1=Crafting the &1Lexica Botania&0. botania.page.lexicon2=The &1Lexica Botania&0's title can also be customized. By placing it in an &1Anvil&0 and renaming it, one can not only change it's cover, but also the title.
The Edition of the lexica shown equates to the version of the &4Botania&0 you're running, and no, I don't care about the fourth wall. @@ -617,10 +618,6 @@ botania.page.spreader2=The &1Mana Spreader&0 has a small internal buffer of &4Ma botania.page.spreader3=Holding a &1Wand of the Forest&0 displays a beam which shows where the spreader is pointing at. Hovering over it shows the target. The sparkle that's always shown is the point when &4Mana loss&0 starts to happen.
If the target of the spreader is a block that can contain &4Mana&0, and isn't full, the spreader will fire a &4Mana Burst&0, which will travel to the target, and pass the &4Mana&0 along to it. botania.page.spreader4=The spreader only fires one burst at once, it'll only fire another one when the last one hits the target.
Furthermore, the bursts also start suffering &4mana loss&0 after a small amount of time. This can be seen in the beam, which becomes a lot thinner when this happens. There is also a small amount of &4mana loss&0 when a beam enters a spreader. botania.page.spreader5=Crafting the &1Mana Spreader&0 -botania.page.spreader6=In order to upgrade the potential of the spreader, one can apply &1Mana Lenses&0. The very basic mana lens does absolutely nothing.
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. -botania.page.spreader7=The basic lens, it doesn't do anything... -botania.page.spreader8=&4Dying&0 lenses! -botania.page.spreader9=&1Rainbow Lens&0 all the way # -- MANA POOL botania.entry.pool=Mana Pool @@ -644,60 +641,36 @@ 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.
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 LENS: VELOCITY -botania.entry.lensVelocity=Mana Lens: Velocity -botania.page.lensVelocity0=The &1Velocity Lens&0 will drastically increase the speed at which a &4Mana Burst&0 travels, but not only does the beam start to lose it's &4Mana&0 a lot faster, it can also carry a bit less. -botania.page.lensVelocity1=Crafting the lens - -# -- MANA LENS: POTENCY -botania.entry.lensPotency=Mana Lens: Potency -botania.page.lensPotency0=The &1Potency Lens&0 will double the amount of &4Mana&0 a &4Mana Burst&0 can carry, however, the beam becomes slower and after it starts to lose mana it does so at a lot faster rate. -botania.page.lensPotency1=Crafting the lens - -# -- MANA LENS: RESISTANCE -botania.entry.lensResistance=Mana Lens: Resistance -botania.page.lensResistance0=The &1Resistance Lens&0 will significantly increase the amount of time the &4Mana Burst&0 can go without starting to lose &4Mana&0, but it makes it a a bit slower. -botania.page.lensResistance1=Crafting the lens - -# -- MANA LENS: EFFICIENCY -botania.entry.lensEfficiency=Mana Lens: Efficiency -botania.page.lensEfficiency0=The &1Efficiency Lens&0 will decrease the amount of time it takes for the &4Mana Burst&0 to start losing its &4Mana&0, but when that happens, it does so at a lot slower rate. -botania.page.lensEfficiency1=Crafting the lens - -# -- MANA LENS: BOUNCE -botania.entry.lensBounce=Mana Lens: Bounce -botania.page.lensBounce0=The &1Bounce Lens&0 will allow the &4Mana Burst&0 to bounce off walls, rather than dissipating on a collision. -botania.page.lensBounce1=Crafting the lens - -# -- MANA LENS: GRAVITY -botania.entry.lensGravity=Mana Lens: Gravity -botania.page.lensGravity0=The &1Gravity Lens&0 makes the &4Mana Burst&0 be attracted by the world's gravitational pull, thus moving in an arc. As compensation, it also slightly increases the time before &4Mana&0 loss starts to happen. -botania.page.lensGravity1=Crafting the lens - -# -- MANA LENS: BORE -botania.entry.lensBore=Mana Lens: Bore -botania.page.lensBore0=The &1Bore Lens&0 charges the &4Mana Burst&0 with the ability to break any blocks it comes into contact with, draining its own mana to do so.
Since this relies on the detection abilities of a &1Mana Spreader&0, it won't fire at just anything, as it needs a &4Mana&0 receving block in the end. -botania.page.lensBore1=Crafting the lens - -# -- MANA LENS: DAMAGING -botania.entry.lensDamaging=Mana Lens: Damaging -botania.page.lensDamaging0=The &1Damaging Lens&0 charges the &4Mana Burst&0 with the power to damage any living beings it comes across, draining its own mana to do so.
Since this relies on the detection abilities of a &1Mana Spreader&0, it won't fire at just anything, as it needs a &4Mana&0 receving block in the end. -botania.page.lensDamaging1=Crafting the lens - -# -- MANA LENS: PHANTOM -botania.entry.lensPhantom=Mana Lens: Phantom -botania.page.lensPhantom0=By utilizing the spacetime continuum tearing properties of the &1Force Relay&0, it's possible to make a lens that'll allow the &4Mana Burst&0 to pass through blocks. In doing so, the time it can stay without losing mana is decreased. -botania.page.lensPhantom1=Crafting the lens - -# -- MANA LENS: MAGNETIZING -botania.entry.lensMagnet=Mana Lens: Magnetizing -botania.page.lensMagnet0=The &1Magnetizing Lens&0, as its name states, allows the &4Mana Burst&0 to magnetize, or home in, on any nearby blocks that can receive &4Mana&0. Doing so slightly decreases the speed of the burst. -botania.page.lensMagnet1=Crafting the lens - -# -- MANA LENS: ENTROPIC -botania.entry.lensExplosive=Mana Lens: Entropic -botania.page.lensExplosive0=The &1Entropic Lens&0 imbues the &4Mana Burst&0 with entropy, causing it to release its energy in the form of an explosion when it collides against something that can't receive &4Mana&0.
Since this relies on the detection abilities of a &1Mana Spreader&0, it won't fire at just anything, as it needs a &4Mana&0 receving block in the end. -botania.page.lensExplosive1=Crafting the lens +# -- 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.
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. +botania.page.lens1=The basic lens, it doesn't do anything. +botania.page.lens2=&4Dying&0 lenses! +botania.page.lens3=&1Rainbow Lens&0 all the way +botania.page.lens4=But lens are not only for fancy colors. One can upgrade them with all sorts of materials to create new lens which can do all sorts of effects on the &4Mana Bursts&0. +botania.page.lens5=Sometimes, though, having a single &1Mana Lens&0 in a spreader just isn't enough sometimes. By combining two lenses with a &1Slimeball&0 in a crafting table, it's possible to unite them into one, and keep the effects of both.
The first lens used determines the visuals (texture and color). It's to note that some combinations will not work, nor will two lenses of the same type. +botania.page.lens6=The &1Velocity Lens&0 will drastically increase the speed at which a &4Mana Burst&0 travels, but not only does the beam start to lose it's &4Mana&0 a lot faster, it can also carry a bit less. +botania.page.lens7=Velocity Lens +botania.page.lens8=The &1Potency Lens&0 will double the amount of &4Mana&0 a &4Mana Burst&0 can carry, however, the beam becomes slower and after it starts to lose mana it does so at a lot faster rate. +botania.page.lens9=Potency Lens +botania.page.lens10=The &1Resistance Lens&0 will significantly increase the amount of time the &4Mana Burst&0 can go without starting to lose &4Mana&0, but it makes it a a bit slower. +botania.page.lens11=Resistance Lens +botania.page.lens12=The &1Efficiency Lens&0 will decrease the amount of time it takes for the &4Mana Burst&0 to start losing its &4Mana&0, but when that happens, it does so at a lot slower rate. +botania.page.lens13=Efficiency Lens +botania.page.lens14=The &1Bounce Lens&0 will allow the &4Mana Burst&0 to bounce off walls, rather than dissipating on a collision. +botania.page.lens15=Bounce Lens +botania.page.lens16=The &1Gravity Lens&0 makes the &4Mana Burst&0 be attracted by the world's gravitational pull, thus moving in an arc. As compensation, it also slightly increases the time before &4Mana&0 loss starts to happen. +botania.page.lens17=Gravity Lens +botania.page.lens18=The &1Bore Lens&0 charges the &4Mana Burst&0 with the ability to break any blocks it comes into contact with, draining its own mana to do so.
Since this relies on the detection abilities of a &1Mana Spreader&0, it won't fire at just anything, as it needs a &4Mana&0 receving block in the end. +botania.page.lens19=Bore Lens +botania.page.lens20=The &1Damaging Lens&0 charges the &4Mana Burst&0 with the power to damage any living beings it comes across, draining its own mana to do so.
Since this relies on the detection abilities of a &1Mana Spreader&0, it won't fire at just anything, as it needs a &4Mana&0 receving block in the end. +botania.page.lens21=Damaging Lens +botania.page.lens22=The &1Phantom Lens&0 is an interesting one. By utilizing the spacetime continuum tearing properties of the &1Force Relay&0, it's possible to make a lens that'll allow the &4Mana Burst&0 to pass through blocks. In doing so, the time it can stay without losing mana is decreased. +botania.page.lens23=Phantom Lens +botania.page.lens24=The &1Magnetizing Lens&0, as its name states, allows the &4Mana Burst&0 to magnetize, or home in, on any nearby blocks that can receive &4Mana&0. Doing so slightly decreases the speed of the burst. +botania.page.lens25=Crafting the lens +botania.page.lens26=The &1Entropic Lens&0 imbues the &4Mana Burst&0 with entropy, causing it to release its energy in the form of an explosion when it collides against something that can't receive &4Mana&0.
Since this relies on the detection abilities of a &1Mana Spreader&0, it won't fire at just anything, as it needs a &4Mana&0 receving block in the end. +botania.page.lens27=Crafting the lens # -- PORTABLE MANA TRANSPORT botania.entry.manaTransport=Portable Mana Transport @@ -712,10 +685,6 @@ botania.entry.manaDetector=Mana Detector botania.page.manaDetector0=A device like the &1Mana Detector&0 is capable to detect when a &4Mana Burst&0 starts flowing through it (the burst doesn't dissipate on collision with this block) and provide a redstone signal when that is the case. botania.page.manaDetector1=Crafting the detector -# -- COMPOSITE MANA LENSES -botania.entry.compositeLens=Composite Mana Lenses -botania.page.compositeLens0=Having a single &1Mana Lens&0 in a spreader just isn't enough sometimes. By combining two lenses with a &1Slimeball&0 in a crafting table, it's possible to unite them into one, and keep the effects of both.
The first lens used determines the visuals (texture and color). It's to note that some combinations will not work, and that two lenses of the same type can't be stacked. - # -- REDSTONE MANA SPREADER botania.entry.redstoneSpreader=Redstone Mana Spreader botania.page.redstoneSpreader0=By combining a &1Mana Spreader&0 with a piece of &1Redstone&0, it's possible to create a &1Redstone Mana Spreader&0, which fires only when given a &4Redstone signal&0, regardless of having a block in the end to put the mana or not.
It's to keep in note that this doesn't let the spreader shoot a burst until the last one dissipates or is absorbed.