How do I add oxygen to a player?

Started by BloxcastJason on

Topic category: Help with modding (Java Edition)

Last seen on 15:49, 1. Dec 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I add oxygen to a player?

How do I add oxygen to a player? For example, lets say that the player only has 2 or 5 bubbles left and right clicking with a item gives 3 back. How would I do that?

Last seen on 19:13, 23. Apr 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check the changelog of…
Sun, 09/05/2021 - 21:28

Check the changelog of mcreator 2021.2

Last seen on 00:52, 21. Apr 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can use the "Get oxygen…
Wed, 10/13/2021 - 04:18

you can use the "Get oxygen of (entity)" and "Set oxygen of (entity) to (number variable)" blocks