Get Modded World Variable

Started by GamesOfLife on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Get Modded World Variable

I want to create a mod with some functionality with Majrusz's Progressive Difficulty mod, but I've got no idea how to access the world's golbal game stage value. I think I would need to somehow use an accessor method or something? No idea, the source code of his mod is a maze.
 

If anyone knows how I can get the world's current global game stage value with a mcreator procedure, let me know. The majrusz related source code is below.
https://github.com/Majrusz/MajruszsProgressiveDifficultyMod/tree/1.20.X/common/src/main/java/com/majruszsdifficulty/gamestage