Can you assign a players health to a variable and how?

Started by hunterben964 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you assign a players health to a variable and how?
Fri, 05/01/2020 - 19:11 (edited)

I want to be able to create a variable and assign the players health to it using procedures. However, I'm not sure how I can get the players health. Is anyone able to help?

Edited by hunterben964 on Fri, 05/01/2020 - 19:11
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think there is a block in…
Mon, 06/08/2020 - 12:24

I think there is a block in the Entity tab that is called "current health of provided entity"