How should I implement a custom oxygen variable?

Started by SamDwich on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How should I implement a custom oxygen variable?

Currently working on a custom oxygen system that works more like freezing from powder snow rather than using potion effects like my old mod. I'm not sure what is the best way to implement a custom oxygen variable for players similar to powder snow's ticksFrozen or how it's done by Galacticraft.