- check_circle Functions
Published Aug 24th, 2019, 8/24/19 4:58 pm
- 9,273 views, 0 today
- 1,901 downloads, 0 today
19
This datapack applies weakness, mining fatigue, and slowness to players who don't sleep.
The effects begin at level 0 after the player has been awake for 1 minecraft day (~ 20 minutes/ 24000 ticks), and increases in intensity the following nights.
The effects cap after three nights without sleep.
If a player goes 10 whole days without sleep, they die from fatigue.
Please leave a comment with your thoughts.
The effects begin at level 0 after the player has been awake for 1 minecraft day (~ 20 minutes/ 24000 ticks), and increases in intensity the following nights.
The effects cap after three nights without sleep.
If a player goes 10 whole days without sleep, they die from fatigue.
Please leave a comment with your thoughts.
Compatibility | Minecraft 1.14 |
Tags |
4384744
119
Create an account or sign in to comment.
First, navigate to https://github.com/srwaggon/minecraft_fatigue
This should be equivalent to the datapack you have downloaded and unzipped.
Look at the file: "data/minecraft/tags/functions/tick.json"
Inside of this file, you'll see the following code:
{
"values":[
"fnar_fatigue:fatigue",
"fnar_fatigue:rest"
]
}
Change this to the following (or copy and paste):
{
"values":[
"fnar_fatigue:fatigue"
]
}
Please note the absence of the comma at the end of the line that says "fnar_fatigue:fatigue".If you leave that comma this will not work !
After you've made that change, you should be able to save it, resume playing and reload your datapacks (using the command /reload)!
Please let me know if this worked for you!
Happy Minecrafting!