Help with Player burning in the sun

Started by scaryclown on

Topic category: Help with Minecraft modding (Java Edition)

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.

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

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!

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? 

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"

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?