Help with Player burning in the sun

Started by scaryclown on Thu, 04/23/2020 - 13:26

Topic category: Help with modding (Java Edition)

Last seen on 15:55, 20. Oct 2020
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help with Player burning in the sun
Thu, 04/23/2020 - 13:26

so, i'm trying to make a vampire mod and i want the player to burn in the sun during the day, but only when not undercover. what procedures can accomplish this? so basically burning in sunlight like a zombie would.

Last seen on 14:11, 15. Jun 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Here's how I would have done…
Thu, 04/23/2020 - 14:08

Here's how I would have done.
Of course you can add more conditions if you're checking for the NBT tag "Vampire" of a Player
img

Last seen on 15:55, 20. Oct 2020
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
this helped so much! thank…
Fri, 04/24/2020 - 08:43

this helped so much! thank you!

Last seen on 23:41, 3. Jun 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Do I sense LUCK IN MY JOJO…
Wed, 11/18/2020 - 14:25

Do I sense LUCK IN MY JOJO MOD? 

Last seen on 18:49, 30. May 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
i need help figuring out how…
Mon, 05/03/2021 - 18:59

i need help figuring out how to make it to where "helmets make the player not burn"