Package vazkii.botania.api.mana
@NotNullByDefault
package vazkii.botania.api.mana
-
ClassDescriptionHave an Item implement this to be counted as a lens for the mana spreader.The properties of a mana burst, when shot.Have an Item implement this to be counted as a lens that can be combined with a LensItem.An extension of BasicLensItem that allows for the lens item to control the spreader's behaviour.A TileEntity that implements this interface has an IO key lock.Have an item implement this for it to count as a lens effect and be able to change the properties of Mana Bursts.Items with this tooltip component will render a mana bar above the tooltip.Any
ManaReceiverthat also implements this is considered a mana collector, by which nearby generating flowers will pump mana into it.
Implementation Instructions:
- When joining the world (e.g.Any Block or Block Entity with this capability has custom collision logic for bursts.An armor item that implements this can provide a mana discount for mana tools.An item that has this capability can contain mana.AnyManaReceiverthat also implements this is considered a Mana Pool, by which nearby functional flowers will pull mana from it.
Mana Distributors will also accept it as valid output.
Implementation Instructions:
- When joining the world (e.g.Any Block or Block Entity with this capability can hold and receive mana from mana bursts.AnyManaCollectorthat also implements this is considered a Mana Spreader, by which can fire mana bursts as a spreader.A Block or Block Entity with this capability will receive a callback when a burst collides with it.A block that implements this can provide a sprite to be used as an overlay for the mana pool, similarly to the mana void and catalysts.Any Item that implements LensEffectItem and this will have a check before being pulled by the Tiny Planet.