Botania icon indicating copy to clipboard operation
Botania copied to clipboard

Lightning particle effect is broken

Open ToMe25 opened this issue 6 years ago • 7 comments

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.

ToMe25 avatar Jan 02 '20 18:01 ToMe25

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.

williewillus avatar Mar 08 '20 20:03 williewillus

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.

github-actions[bot] avatar Jul 28 '20 00:07 github-actions[bot]

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

artemisSystem avatar Jun 28 '22 07:06 artemisSystem

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

williewillus avatar Jun 29 '22 00:06 williewillus

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

image

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

Aegide avatar Jan 05 '23 22:01 Aegide

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.

TheRealWormbo avatar Apr 13 '24 06:04 TheRealWormbo