Tools / Minecraft
Minecraft Datapack Generator
Pick your gamerules and difficulty, get a datapack that applies them on every load - no
retyping /gamerule after a reset. Works on a vanilla server, no mods. We write
the correct pack_format and folder names for your version (1.21 renamed them).
How it works
A datapack is a zip with a pack.mcmeta and JSON/function files under
data/. This one ships a function tagged minecraft:load, so the
gamerules and difficulty apply automatically every time the world loads or you run
/reload. Drop the zip in world/datapacks/ on a vanilla server.