Tip:
Highlight text to annotate it
X
Hey guys I'm back with another video.
Today I will show you a concept of blood in minecraft.
If I'm at low health, I will start bleeding.
I also feel very hungry now...
I'm losing so much blood.
Let's see if my bandage can help.
Ahhh. Much better!
I guess I should fill up my hunger bar.
This is just a very fast clock.
It's testing if the players health is at 5 (2.5 Hearts) or lower.
If thats true this redstone torch will turn off and the Hopper Clock will start running.
That triggers a few things.
This command block summons the particles of destroying red wool.
Then the player gets a "Hunger" effect at a very high level.
With the new /execute command we can fill blocks relative to the player.
So this command sets the block under the player to a redstone block.
After that, this command block will be activated which sets the "TrasferCooldown" of the hopper clock to a high number.
This will slow down the clock.
That's what makes the bleeding effect.
Now again a hopper clock.
If the player has a filled map in his inventory, it gets cleared. When right-clicking the map (Bandage) it gets filled and cleared.
After that is successful, the player gets removed the hunger.
Now he gets healed and the hunger bar will be filled a bit.
BTW, blood will only drop on stone blocks, because of the "replace" argument. This way you can prevent the blood destroying anything important.
cut :P
I hope you enjoyed my video. If you like to see more or if you have ideas for videos, subscribe my channel or write a comment.