Liquid node callbacks

Posts: 10
Joined: Sun Dec 16, 2018 12:50

Liquid node callbacks

by Termos » Fri Jan 04, 2019 16:07

I'm trying to get some code to run when liquid floods an air node. I tried on_construct on flowing water node but it doesn't seem to work for liquids, verified this by running the same code except with 'dirt' and it worked.
on_flood on the other hand, the docs say it doesn't work for air nodes.

Is there any way to intercept the event that an air(&like) node is replaced by liquid?

Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 3 guests