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?
Liquid node callbacks
Re: Liquid node callbacks
I don't know how to solve the issue that you are having, but I am wondering why nobody gave any advice here.
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
Re: Liquid node callbacks
The only callback you could possibly use is on_flood which you would need to override 'air' node and insert, but this may be slow.
Re: Liquid node callbacks
Thanks, alas, on_flood is useless as well.
I was asking in context of this
Finally I used active block modifiers, which is the wrong way technically speaking, but there seems to be no other way.
Surprisingly, there's no noticeable impact on performance.
I was asking in context of this
Finally I used active block modifiers, which is the wrong way technically speaking, but there seems to be no other way.
Surprisingly, there's no noticeable impact on performance.
Who is online
Users browsing this forum: Google [Bot] and 9 guests