Minecraft Data Packs / Game Mechanic

Sleep Restores Your HP | Datapack by Taku

  • check_circle Functions
  • 4,793 views, 5 today
  • 805 downloads, 0 today
  • 35
  • 28
  • 8
Taku17 avatar Taku17
Level 55 : Grandmaster Pixel Painter
96
Sleep Restores Your HP | Datapack by Taku Minecraft Data Pack






===Better Sleep Datapack by Taku===


Installation:
Once you've download this datapack, place the "Better Sleep" folder inside the "datapacks" folder.

Mechanics
If the "Health Restoring" mechanic is enable, once you sleep, it will restore completely your health bar

If the "Breakfast" mechanic is enable, once you sleep, it will take a few points from your food bar

If you think about any other mechanic, suggestions are welcome




Make sure to use the command /reload after install this datapack :)
CompatibilityMinecraft 1.14
toMinecraft 1.16
Tags

Create an account or sign in to comment.

1
06/26/2020 4:43 am
Level 1 : New Miner
splorux25
splorux25 avatar
Can I change the amounts of hearts regenerated? Because I think the full health bar is to op
2
06/26/2020 12:15 pm
Level 55 : Grandmaster Pixel Painter
Taku17
Taku17 avatar
Yeah sure, data/bsleep/functions/loop




Change: effect give @s minecraft:regeneration 1 255 true

if you set 1 instead of 255 is "Regeneration II" effect
1
06/26/2020 12:19 pmhistory
Level 55 : Grandmaster Pixel Painter
Taku17
Taku17 avatar
Also, the breakfast thing is when you sleep besides regenerating your hp, it gives you the hunger effect so you need to eat to make up for the regeneration
2
04/21/2020 6:14 pm
Level 1 : New Explorer
moonapplesauce
moonapplesauce avatar
This is flawed. It doesn't need a tick function to constantly lag the server there is already a sleep advancement you can detect which are much less resource heavy.
1
04/23/2020 6:48 am
Level 55 : Grandmaster Pixel Painter
Taku17
Taku17 avatar
Most of my datapacks are not intended for multiplayer, but i'll keep it in mind :)
2
03/06/2020 2:58 pm
Level 51 : Grandmaster Loremaster
AdamHeller
AdamHeller avatar
Genius
3
03/05/2020 9:25 pm
Level 41 : Master Spelunker
noatryy
noatryy avatar
Amazing stuff dude!
1
03/06/2020 1:08 am
Level 55 : Grandmaster Pixel Painter
Taku17
Taku17 avatar
thank you :)
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome