Gourmaryllis

The Gourmaryllis is a generating flower added by Botania. It generates Mana from food.

The Gourmaryllis generates Mana by consuming food items (that do not leave behind containers or byproducts) in a 3×3×3 area around it. The Mana it generates is $$Mana = \frac{hunger ^{2} \times 70}{repeats}$$, where repeats is the number of times the food item was fed to the Gourmarylis in a row.

The time required to consume a piece of food is $$t=\lfloor \frac{hunger_{restored}}{2}\rfloor$$, where $$t$$ is the time in seconds, rounded down to the nearest integer. Mana is produced in a single burst at the end of this time (indicating that the Gourmaryllis can eat a new food item). For example, Steak (which restores 8 hunger) will produce $$8^2 \times 70 = 4480$$ Mana after $$\lfloor 8 / 2 \rfloor = 4$$ seconds, while the third Steak fed to the flower in a row will produce 1/3 of that value.

Food items which restore 13 or more hunger will have their value reduced down to 12 hunger.

Food items' saturation values are ignored.

While a Gourmaryllis is digesting a piece of food, it will still pick up additional food items. However, all items after the first will be ignored and destroyed.

The Gourmaryllis can store up to 9,000 Mana internally, and can be bound to a Mana Spreader within 6 blocks of itself to transfer its Mana.