Topic category: Help with modding (Java Edition)
Hi, new here, just made an account because I got a little stuck with the following and searching didn't seem to be very fruitful. I hope it's not too long!
As a preface:
This is Mcreator version 2021.3 and I'm making the mod for 1.17.1
I had initially created a levelling and mana system using global variables and advancements, but decided I would rather have Nbt tags set to players specifically (I assume global variables would affect multiplayer which is the reason I'm doing it this way?).
The problem & questions.
1) I know I can set a NBT logic/number etc to an entity in the procedures section, but where/how do I define it to be player persistent? I DID find an earlier post detailing that there is a drop down for this, but can't for the life of me find it.
--- Other related questions ---
2) Is it possible to define or at least view NBTs and their attributes (Like how global variables are viewed) elsewhere outside of the procedures section? Or do I simply use Set [event/target entity] data number NBT tag ["tagName"] to  on event "When player joins world" as a trigger or something like that? Does doing it this way also simultaneously define "tagName's" value that can be called across multiple procedures?
3) Is it possible to add a custom event trigger when an NBT tag reaches a certain value/threshold? I've tried this with global variables, when reaching a certain number to set another global number variable to a higher number.
4) Is there a way to not spawn vanilla trees in custom biomes when my custom grass block has the "grass" tag. Essentially, I want to limit vanilla options/materials in specific biomes and dimensions. (If there is a way to simply ban spawning of vanilla trees via dimension ID that would work too).
If the only solution is to simply remove the grass tag and add custom made trees set as structures -> import then and set to # of structures per chunk let me know because that's all I've seen so far...