Add a procedure to check scoreboard values

Published by mensreamc on Fri, 01/10/2020 - 04:45
Upvotes: 1
Issue description

The ability to get/set scoreboard values in procedures would be really useful for cases where you're dealing with handling player data that you don't want deleted. NBT data is useful but allegedly doesn't persist through death. Global variables apply to everyone so they aren't useful when players need unique values. Yes, you can use commands to set the scoreboard, but the get part is equally important.

Also, some mods have managed to add persistent NBT tags. I'm attaching a picture of the NBT values for a player who has a permanent +120 to health via the Scaling Health mod. Are the NBT tags we can add with mcreator somehow different from those?

 

Issue comments

Also, some mods have managed to add persistent NBT tags. I'm attaching a picture of the NBT values for a player who has a permanent +120 to health via the Scaling Health mod. Are the NBT tags we can add with mcreator somehow different from those?

Mods solved this by restoring the NBT and giving it back to the player when it dies. A workaround is explained here: https://mcreator.net/tracker/issue/53918

I will consider adding these procedures for the scoreboard too.

This feature will be added with the next update. I am closing this ticket now.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.