Variables and Dragons

Started by OverlordARK20 on

Topic category: Help with MCreator software

Joined Aug 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Variables and Dragons

Hi there, I recently started using Mcreator to help with a private modpack I'm running with some friends. To this end I am trying to figure out a way to make certain mods work together in a freaky Frankenstein kind of way.

 

For example, trying to brute force a mechanic that occurs on death and instead prevent it happening. When an Entity dies the mod in question edits a variable in the level.dat that sets the player as "dead" and sends them to another dimension. I am trying to figure out if I can use a procedure to revert this variable to its default state. If it helps the "path" of this variable would be: level dat./Data:/Player:/ForgeCaps:/dbm:player_variables:/Dead:

 

Is there anyway to set up a procedure to change this? Would I need to do some code? If so, any pointers in the right direction? This would be the unsupported Forge 1.20.1 if that changes much for how it will work

 

I also apologize if this is the incorrect topic to put this under