Botania

Botania

133M Downloads

Lightning particle effect is broken

ToMe25 opened this issue ยท 7 comments

commented

Version Information

Forge version: 28.1.107
Botania version: r1.11-373

Steps to reproduce:

  1. get a filled mana pool
  2. drop an empty mana tablet into it

What I expected to happen: I expected to seed the lightnight like charging animation.

What happened instead: It charged the mana tablet without an animation.

commented

A valid point has been made on the forums:

If you transfer mana via spark, you get cool streaming particles, if you transfer it via spreader, you gear cool streaming particles, if you shoot it from a terra blade, you get cool shooting particles but when sparing mana to/from a pool with an item you get funky lightning. Why the inconsistency?

Why is the mana pool <-> item transfer animation this kind of slow lightning "non-particle"? The kind of wisp particles used for spark transfers (just a bit smaller, and between the surface of the pool and the apparent location of the item) might give a lot better of a feedback to players. The density of such particles could also be an indication of the transfer speed, especially when manatide bellows are involved, or unusual things like items overlapping multiple pools happen.

commented

Wasn't this rewritten/changed, and the effect works now?

commented

It works, but not fully. Some of the size and color params in the api call are ignored still I believe.

commented

It seems like it works well enough in 1.19.2 (fabric).

image

Left: pool => tablet
Right: tablet => pool

commented

Fixed by #4710

commented

Adding help-wanted: The old lightning effect rendering code is legacy garbage ripped from WRCBE.
I'd like someone to help rewrite it, preferably for 1.15.
There are resources online to generate lightning bolts (e.g. http://drilian.com/2009/02/25/lightning-bolts/, which is probably what wrcbe itself used) that you can read for the math.

commented

This issue is stale because it has been open for a while with no activity. Remove stale label or comment or this will be closed soon.