As in title procedures does not recognize blocks with custom model so you cant use it in procedures
To reproduce this make 2 blocks one with custom model
for the one without custom model made procedure that will be checking for block with custom model for example if CModel block is at y+1 from block
set this procedure on tick update or anything
Issue comments
If you add new dependencies to the procedure, you need to update the mod element that is calling it too. By update I mean to edit it and save it again. This will be improved in future updates. You can avoid this by editing the procedures inline. Check the console when the procedures don't work as warnings are printed in it if the procedure call was not updated yet.
Ok so I still have this problem but with different outcomes
I think there is something wrong with Tick Update Event
Now I created 3 cauldrons 1 empty 2 with different water variations
empty one should after 50tick change to Cauldron with water when its raining or thunder "Does not changing"
another cauldron should change to different cauldron after 150 ticks when fire is under it "Still nothing"
also there is nothing in console about this two events :L
here is link to GIF https://i.imgur.com/C6xyS3o.gifv
Also I've noticed that is working on different world but not all of them :L
Ok I did another thing but with Custom GUI and same thing happens "or its not happening"
So I've made simply procedure to check
if item = bottle in slot 0
Do Remove bottle,
if Item = item and/or Item = Item
do Remove item from slot 1 & 2
add item to slot 3
Print: Done
Still does not work even when opened threw Block Editor
I have checked your procedure once again and found the cause. The issue is what you were checking if the block at x,y,z can see the sky, but in fact, these coordinates are the bottom of your block which indeed can't see the sky as it is opaque to light. To fix this, add +1 to y coordinate to check for the block located above your block. After I did the change visible in the image below, your cauldron started to work.
I have made two blocks. One normal and one with custom JSON model. I have set that on right click of normal model, the lightning strucks only if the block above is a block with a custom model. I have tested this and it worked. Did I reproduce your case correctly?