Registrate icon indicating copy to clipboard operation
Registrate copied to clipboard

Fix Fluids

Open Rover656 opened this issue 1 year ago • 0 comments

This PR addresses a handful of concerns with the original implementation.

  1. Fixed FluidEntry<>#getBlock -> This would always would query for modname:flowing_fluid_name instead of modname:fluid_name. Fixed this by making the FluidBuilder create both the source and flowing (and swapped the order) without any extra builder calls.
  2. Fixes fluid render types - applied the same fix as for blocks etc., it just needed to have another supplier around it to fix server-side support.
  3. More sensible fluid properties - we unset the bucket and block suppliers now if noBucket/noBlock is called

This could be considered breaking as the API has shifted slightly, so might want to bump major version :)

Rover656 avatar Jul 11 '23 20:07 Rover656