So I wanna make a map, and you get a helmet, and that helmet makes you get -10 health! How do i do that? I know how to hook up potion effects to the helmet, but i don't know how to make you lose hearts! Please help ASAP. My map NEEDS to get finished! I know this is possible because I was watching some1's video on youtube of them playing an adventure map where they only had 1 heart! I was gonna download the map and then look at the redstone, but couldn't find the video again! Help me pls!
The Meaning of Life, the Universe, and Everything.
Location:
Earth
Join Date:
3/6/2013
Posts:
61
Location:
Earth
Member Details
You don't need any redstone to do that, it's actually a property of the helmet. Here's a command to get one: /summon Item ~ ~1 ~ {Item:{id:leather_helmet,Count:1,tag:{AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:-18,Operation:0,UUIDLeast:894654,UUIDMost:2872}]}}}
If you want a different kind of helmet, just change where it says id.To change the amount of health you lose change the number after amount. If you change it to a positive number you can actually make the helmet give you more health. Also, if you ever need something like that again, go here.
So I wanna make a map, and you get a helmet, and that helmet makes you get -10 health! How do i do that? I know how to hook up potion effects to the helmet, but i don't know how to make you lose hearts! Please help ASAP. My map NEEDS to get finished! I know this is possible because I was watching some1's video on youtube of them playing an adventure map where they only had 1 heart! I was gonna download the map and then look at the redstone, but couldn't find the video again! Help me pls!
You don't need any redstone to do that, it's actually a property of the helmet. Here's a command to get one: /summon Item ~ ~1 ~ {Item:{id:leather_helmet,Count:1,tag:{AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:-18,Operation:0,UUIDLeast:894654,UUIDMost:2872}]}}}
If you want a different kind of helmet, just change where it says id.To change the amount of health you lose change the number after amount. If you change it to a positive number you can actually make the helmet give you more health. Also, if you ever need something like that again, go here.
omg thnx so much!