Help with Player burning in the sun

Started by scaryclown on

Topic category: Help with modding (Java Edition)

Last seen on 14:54, 20. Jun 2021
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Player burning in the sun

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:00, 14. Nov 2023
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 14:54, 20. Jun 2021
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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:
  • 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 23:15, 6. Jul 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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"

Last seen on 14:10, 26. Jan 2024
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm trying to make the same…
Sat, 01/01/2022 - 11:01

I'm trying to make the same mod, however I'm trying to make entities and I done, even added a little feature if the vamp dies it turns into a bat, also it is immune to few things like a real vampire but I can't make it burn in the sun

should I set its base as a zombie?