Custom potion effect that changes maximum health help?

Started by sw0rdmas73r on Tue, 02/23/2021 - 02:03

Topic category: Help with modding (Java Edition)

Last seen on 03:24, 1. Mar 2021
Joined Feb 2021
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Custom potion effect that changes maximum health help?
Tue, 02/23/2021 - 02:03

I'm trying to make an effect that edits the player's maximum health until they either sleep or die due to the effect taking all their health. Can anyone help?

Last seen on 16:28, 28. Feb 2021
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
There is a plugin called DTM…
Tue, 02/23/2021 - 18:30

There is a plugin called DTM attributes, it gives you procedure blocks that allow you to change the max health a player has. And for the sleeping part, it's a bit of a pseudo way of doing it since I don't think MCreator has a sleep procedure, I would check if a player right clicks a bed and if it is night.

Last seen on 03:24, 1. Mar 2021
Joined Feb 2021
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ok, thank you so much!
Tue, 02/23/2021 - 19:34

Ok, thank you so much!

Last seen on 03:24, 1. Mar 2021
Joined Feb 2021
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I can’t seem to figure out…
Wed, 02/24/2021 - 15:51

I can’t seem to figure out how to implement the plugin.