Started by
Falkegras
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to get the player to burn during the day if there are no solid blocks above him, but he continues to burn at night
Edited by Falkegras on Fri, 10/08/2021 - 01:06
player tick update global trigger
if is day in the provided world
do if X Y Z can see the sky
do burn event target entity for 5 seconds
the problem is that the player does not take fire damage at night, but the burning animation takes place
then use player tick update if get time of provided world >= 24000 AND location at X Y Z can see the sky
do set event target entity on fire for 5 seconds
I am sorry, use <= not >=
No, that didn't work either
I did the same into my mod or something similar
Not day in provided world
Not solid block at y+2 or 3 (choose what you prefer) and cross it with a kind of roof like: x+1 x-1 z+1 z-1 and so on depending on the coverage you wanna have
Thank you very much, you helped me a lot