DaFuqs / Spectrum

A full-feature minecraft mod about harnessing the powers of color
Other
95 stars 51 forks source link

Minor fluid collision refactor #427

Closed imreallybadatnames closed 1 week ago

imreallybadatnames commented 1 week ago

Genericized neighbor update behavior in favor of fluids that only do fluid collision. The only behavior override is for midnight solution, which spreads black materia to blocks in addition to fluid collision.

The refactor was done with mod compatibility purposes in mind, since I have noticed that certain mods have extendable fluid collision handlers which handle fluid collision themselves (for e.g. collision simulation).

imreallybadatnames commented 1 week ago

I have to note that the actual mechanism may change slightly depending on requirements for aforementioned mod compatibility.