Minecraft Java · Community wiki

Datapacking Explained

Guides, examples, and references for Minecraft Java data packs. Find the information you need, troubleshoot problems, and get back to building.

mcfunction data/wiki/function/tick.mcfunction
# Run once every game tick
execute as @a run function wiki:tick
scoreboard players add @s play_time 1
Data Pack Format: 121.0 Resource Pack Format: 97.1 Minecraft Java 26.3
More to explore

Open source, always

Built by the people who use it.

Every page is written and reviewed by datapackers. Ask a question on Discord, fix a mistake, or add the guide you wish you’d had. We're also proud to be completely written and made by humans, not AI.