This Data Pack is an entry in the completed Datapack Jam 5.

  • check_circle Functions
  • check_circle Predicates
  • 6,363 views, 11 today
  • 346 downloads, 0 today
  • 36
  • 21
  • 10
Deesaster's Avatar Deesaster
Level 56 : Grandmaster Princess
Avoid the Shadows is a survival game mechanic datapack that adds a new mechanic reminiscent of Don't Starve's darkness mechanic.

Staying in the dark corners of the world for too long may attract unwanted attention and action from monsters unseen. While these monsters are native to the Overworld's caves and bodies of water, the darkness can also be toggled to affect the Nether and End.

Good luck out there, and remember to stay in the light!

This pack works best when played with your master volume turned up to an acceptable volume, as all the sounds in this datapack are played through the master audio channel.

The Specifics
- This pack only affects players in Survival or Adventure mode, Creative and Spectator mode players are exempt from it's effects.

- You can stand in the dark (light level 3 or lower) for thirty (30) seconds before you become afflicted. After another thirty (30) seconds if you haven't been been stood in the light (light level 4 or higher) for at least ten (10) seconds after being afflicted with darkness, you will be "caught in the dark".

- The moon's light protects you just as the sun's does, but once you're far enough from their light underground or underwater, you lose that protection.

- All four possible deaths from this pack have unique death messages.

- The effects of this datapack are mandatory in the overworld (both on land and underwater), but you can toggle on and off the effects in the Nether and End (which are both off by default) separately using the built-in config menu. To access this menu simply do /function avoid_the_shadows:config with operator rights.

- This datapack adds 2 new advancements, which can be found under the Adventure tab.

Avoid the Shadows Minecraft Data Pack
Like the content I'm making?
Support me on Ko-fi

CompatibilityMinecraft 1.19

1 Update Logs

Hotfix for already generated worlds : by Deesaster 11/08/2022 4:42:46 amNov 8th, 2022

Now that the jam's officially over, here's a quick fix to make sure this pack works on worlds that weren't initially generated with Avoid the Shadows. My apologies for the oversight to anyone who tried to use it and it didn't work for them!

Create an account or sign in to comment.

06/26/2023 1:42 pm
Level 16 : Journeyman Engineer
Ins0mn1a's Avatar
Are you going to update to 1.20?
11/21/2022 1:40 pm
Level 1 : New Crafter
RaccRegimist's Avatar
Is there any way to make this slightly compatible with shadow travel? i like the though of darkness being harmful but find the right light level and the right amount of time and it is rewarding with upside of shadow travel and downside of avoid the shadows
thanks (:
10/31/2022 4:39 am
Level 50 : Grandmaster Wizard
Flyrr's Avatar
Don't want to be the person that just says "This doesn't work" but it doesn't work :P
The "ats_ShadowTime" scoreboard bascially doesnt increase unless it had an value assigned before (even if that value is just 0) so the pack basically only begins working when you run "scoreboard players set <player> ats_ShadowTime 0"
11/01/2022 1:38 pm
Level 56 : Grandmaster Princess
Deesaster's Avatar
Bruh I wish Minecraft would just use 0 as the default instead of null. I was testing this on fresh worlds that were generated with the pack so it totally slipped by me
10/31/2022 3:45 pm
He/Him • Level 68 : High Grandmaster Guard Bear
Silabear's Avatar
Flynecraft: Dont want to be the person that just says this doesn't work
Also Flynecraft: this doesn't work
11/10/2022 11:42 am
Level 50 : Grandmaster Wizard
Flyrr's Avatar
i love how your reply got literally all the emeralds lol
10/29/2022 11:10 pm
Level 1 : New Miner
TroyReurge's Avatar
Ahhhh ,team=!(name),

10/30/2022 8:27 am
Level 75 : Legendary Creator
FunkyToc's Avatar
10/29/2022 11:00 pm
Level 1 : New Miner
TroyReurge's Avatar
Hey would there be a way to insert code to exempt one team?
10/26/2022 11:44 am
Level 1 : New Miner
monsterelectricity's Avatar
there is another datapack that is simalar called dark swarm