Simple Apocalypse Datapack -
# Increment timer every tick scoreboard players add #global apocalypse_timer 1 # If timer reaches 240000 (roughly every 10 Minecraft days), start Blood Moon execute if score #global apocalypse_timer matches 240000.. run function apocalypse:start_blood_moon # Buff mobs during the event execute as @e[type=zombie] run effect give @s strength 1 1 true execute as @a[predicate=apocalypse:is_outside] run effect give @s weakness 1 0 true Use code with caution. Copied to clipboard Key Resources for Generation
: Players not under a "roof" (checking for sky access) receive the Slowness and Weakness effects. Simple Apocalypse Datapack
Should it include changes, like dead trees or dried-up oceans? # Increment timer every tick scoreboard players add
: Zombies and Skeletons spawn with Strength II and Speed I . Should it include changes, like dead trees or
: Always use /reload in-game after saving your files to apply changes immediately.
: Use the Datapack Wiki to find command syntax for complex entity behavior.
This feature uses a scoreboard timer to trigger a "Blood Moon" every few nights, changing the sky color (via biomes or particles) and buffing local monsters.