Help with Player burning in the sun

Started by Falkegras on

Topic category: Help with modding (Java Edition)

Last seen on 20:02, 15. Apr 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Player burning in the sun
Fri, 10/08/2021 - 01:06 (edited)

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
Last seen on 20:02, 15. Apr 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Fri, 10/08/2021 - 01:06

image

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
player tick update global…
Fri, 10/08/2021 - 01:09

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

Last seen on 20:02, 15. Apr 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the problem is that the…
Fri, 10/08/2021 - 04:06

the problem is that the player does not take fire damage at night, but the burning animation takes place

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
then use player tick update…
Fri, 10/08/2021 - 04:36

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

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am sorry, use <= not >=
Fri, 10/08/2021 - 04:36

I am sorry, use <= not >=

Last seen on 20:02, 15. Apr 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No, that didn't work either
Fri, 10/08/2021 - 05:28

No, that didn't work either

Last seen on 10:04, 18. Apr 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I did the same into my mod…
Fri, 10/08/2021 - 05:52

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

Last seen on 20:02, 15. Apr 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you very much, you…
Fri, 10/08/2021 - 06:39

Thank you very much, you helped me a lot