The Meaning of Life, the Universe, and Everything.
Join Date:
8/25/2012
Posts:
56
Member Details
How can I add permanent Health boost? If I rapidly give it to people, it will just reset their health every time, and I must let them respawn to give health boost, is there another way to add Health Boost forever without resetting their health? Even if they die?
He doesn't really care. Anyways you could put a commandblock with a pressure plate on it with the command so he gets it when he respawns.
Oh he doesn't really care...
Copied the exact OP:
"How can I add permanent Health boost? If I rapidly give it to people, it will just reset their health every time, and I must let them respawn to give health boost, is there another way to add Health Boost forever without resetting their health? Even if they die?"
I highlighted the part where it says even if they die?
Yes he could just do that, but if he did exactly as you first said it wouldn't accomplish what he wants...
The Meaning of Life, the Universe, and Everything.
Join Date:
8/25/2012
Posts:
56
Member Details
Thanks willy4win for making it more clear to everybody, I made it so that a few seconds after they die they get the Health boost, but It kind of depends on luck, if they are lucky enough to respawn in time...
Is there a way to detect WHEN a player respawns? because I think it will help a lot, i can just give it to them when they respawn, if there is such a thing.
Is there a way to detect WHEN a player respawns? because I think it will help a lot, i can just give it to them when they respawn, if there is such a thing.
Yes that is what I meant... you could have a pressure plate in the starting area that does It like this setup:
You cannot have infinite potion effects without a clock. The display in the inventory is limited to 32,767 ticks. If it goes higher, it just displays "**:**" because it cannot translate it. The effect will still wear off, but it will take a while.
There is another way to do this, with Item Atrributes. Whatch the video and then add Health Boost to a Armor Piece and keep doing /replaceitem. It works without reseting health I used it on a server before.
Care to share? For anyone else wondering the same thing.
Okay I will share it, but I will change what I said about I found a way around it, I used his way but have my own settings for it, and I didn't watch the video cause I already knew how to use attributes, but I just found something out within it, that is hard to explain so I won't show that, only show the example.
And also, I used this website to make it, since I'm too lazy to type it myself:
How can I add permanent Health boost? If I rapidly give it to people, it will just reset their health every time, and I must let them respawn to give health boost, is there another way to add Health Boost forever without resetting their health? Even if they die?
Just add it for 1'000'000 seconds using /effect. That will make it forever.
Projects:
Cool Welcome Message using Unicode for Map Makers and Server Owners.
Q-Lock for adventure mappers that dont want their players to lose valuble items.
minecraft:command_block One-Command: Terrain Tools for adventure mappers that want to shape their world without using external tools.
It will wear out if the player dies...
It will also wear out when the player dies
Oh he doesn't really care...
Copied the exact OP:
"How can I add permanent Health boost? If I rapidly give it to people, it will just reset their health every time, and I must let them respawn to give health boost, is there another way to add Health Boost forever without resetting their health? Even if they die?"
I highlighted the part where it says even if they die?
Yes he could just do that, but if he did exactly as you first said it wouldn't accomplish what he wants...
Copied from OP:
"If I rapidly give it to people, it will just reset their health every time"
Thanks willy4win for making it more clear to everybody, I made it so that a few seconds after they die they get the Health boost, but It kind of depends on luck, if they are lucky enough to respawn in time...
He means the text under what he said was what he copied from my text, to show you what I said, I believe.
--------------------------------------------------------------------------------------------------------------------------------------------------
Is there a way to detect WHEN a player respawns? because I think it will help a lot, i can just give it to them when they respawn, if there is such a thing.
Yes that is what I meant... you could have a pressure plate in the starting area that does It like this setup:
Pressure plate-stone or wood
command block- /spawnpoint @p
commandblock- /effect @p [Potion effect] 1000000 [multiplier]
You cannot have infinite potion effects without a clock. The display in the inventory is limited to 32,767 ticks. If it goes higher, it just displays "**:**" because it cannot translate it. The effect will still wear off, but it will take a while.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
There is another way to do this, with Item Atrributes. Whatch the video and then add Health Boost to a Armor Piece and keep doing /replaceitem. It works without reseting health I used it on a server before.
If the Embed didn't work use this link.
Projects:
Cool Welcome Message using Unicode for Map Makers and Server Owners.
Q-Lock for adventure mappers that dont want their players to lose valuble items.
minecraft:command_block One-Command: Terrain Tools for adventure mappers that want to shape their world without using external tools.
Thanks, but I found another way around it. Solved now.
Care to share? For anyone else wondering the same thing.
Okay I will share it, but I will change what I said about I found a way around it, I used his way but have my own settings for it, and I didn't watch the video cause I already knew how to use attributes, but I just found something out within it, that is hard to explain so I won't show that, only show the example.
And also, I used this website to make it, since I'm too lazy to type it myself:
https://minecraftcommand.science/armor-generator
After I used that website, I just changed it to replaceitem.
/replaceitem entity @a slot.armor.feet leather_boots 1 0 {display:{Name:"Running Shoes",color:0},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:20,Operation:0,UUIDMost:99682,UUIDLeast:624947}],ench:[{id:0,lvl:5}],HideFlags:3}