(solved) It seems that Player Persistent variables doesn't exist.

Started by steven.cgl on

Topic category: Help with MCreator software

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(solved) It seems that Player Persistent variables doesn't exist.
Sun, 12/11/2022 - 13:31 (edited)

Hi, I'm making a mod for a project i'm doing. While working with a custom status bar i ran into the problem that Player Persistent Variables or other types doesn't exist, the only type i've access to is GLOBAL_SESSION. I'm using Fabric (with fabric generator [1.19.2]). The custom bar uses the variable soul, type number, and should use the scope Player Persistent but it doesn't show up.

Edited by steven.cgl on Sun, 12/11/2022 - 13:31
They're not supported yet on…
Sun, 12/11/2022 - 12:36

They're not supported yet on fabric. The next version released will add support for global world/map variables, but not player persistent. If you want though, you can download the fabric essentials plugin, which adds them already, and also entity/block nbts too. The next version of fabric essentials will also release the same time fabric does, which will include player persistent nbts, which work the same way as player persistent global variables.

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So I have to wait for fabric…
Sun, 12/11/2022 - 13:00

So I have to wait for fabric to update or there is another method for having player persistant variables?

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you, i've decided to…
Sun, 12/11/2022 - 13:30

Thank you, i've decided to completely stop my project and re-code it for forge.