Started by
Lilmrmagoo
on
Topic category: Advanced modding
so there is this mod that has a money system in it where the money is stored in the nbt of the player and I'm wondering what syntax am I suppose to used to get to it since it's nbt is in somewhat of like a folder system. I'm not sure how to describe it but from what I get from the data command in-game I have to do like ForgeCaps.mineminenomi:entity_stats.belly if I want to get the tag and when displayed in the chat it looks like this ForgeCaps: {"mineminenomi:entity_stats": {belly: 0L}} so I'm not sure if that can be accessed through procedures or if I have to go into the code. maybe it's some kinda array I'm not sure hopefully someone here knows how I could possibly do it.
You just need to change the NBT entity number tag called "belly"
nope doesn't work
Then I don't know. The only way to change a NBT tag with a procedure is if you know its name.
thing is i know its name but it seems to be a sort of subtag that I'm not sure if mcreator can do I'm also not trying to change it but just get the info from it. im guessing i have to change something in the code which is why I posted in the advance section.