The concept:
Comparator on the petal apothecary to know if it has water in it.
Redstone link to wirelessly tell the hopper to not drop buckets into apothecary, as we can't keep dropping buckets in.
The vacuum hopper is used to suck up the bucket (in this case the mod is using a Bater Wucket from Things Mod. But if you have a way to put water buckets or infinite bucket in hopper it should work.
This was used in AQM2 1.4.4, Minecraft 1.19.2
These items could be swapped out for other modded items and experimented with