Started by
Molonko
on
Topic category: Help with Minecraft modding (Java Edition)
I want the entity to be the local variable I have, but I can't find a block that fits in there that will set the number of current lives for that local variable that identifies a specific player. If there is a workaround or a block that I have missed that I could have used to do this, please let me know, any help would be greatly appreciated.
if you want every player to have a certain number of lives you can simply store the number in a global variable of type "player_persistent"
Hi bo_bo, I understand that and that is what I've done, this procedure is to revive players. You helped me with my previous post where I figured out all of that, with this I want to revive players and give their 10 lives back by players right clicking a block with an item that holds the player username that I have also defined in the local playername variable. That is why I want to set the currentLives to 10 for that player, not the one who is reviving the player as it will by using Event/target entity.
Ignore the break effect I meant to remove that
oh ok, well I don't really know how to do that, I hope someone else helps
No worries, you already helped me once and that's more than enough, people like you deserve to be paid with quick responses for a fix