Schematic to datapack: build without mods
Drop a schematic file and get a datapack whose function places the build with a single /function command on a vanilla server or in single-player, without Litematica or WorldEdit. The build is cut into fill and setblock commands with as few of them as possible, block names are translated to the chosen game version, big builds are placed in parts. Everything runs in your browser.
How it works
- Drag a .litematic, .schem or .nbt in — the tool reads the blocks and detects the game version.
- Pick the output: a datapack (.zip that goes into the world folder) or a single .mcfunction for your own datapack.
- Pick the Minecraft version — block names are translated to it; coordinates are relative to the player (~) or absolute.
- Download, put the zip into saves/<world>/datapacks/ and run /reload.
- Stand on the south-west bottom corner of the future build and run /function schemalook:<name> — it grows east, up and south.
FAQ
How do I place a schematic without mods?
A datapack is a vanilla mechanism: zip into the world’s datapacks folder, /reload and one /function command. No mods on the client or the server; on a server you need operator rights.
Why are there fewer commands than blocks?
Identical blocks are merged into boxes — one fill command instead of hundreds of setblocks (up to 32,768 blocks per command, the game’s limit). A 20×30 wall is one command.
What about big builds?
The game runs at most 65,536 commands in one go, so the build is split into parts of 60,000 commands placed one per tick via schedule, with no gamerule changes. A couple of seconds per million blocks.
Are chest contents and signs kept?
No: the tool carries blocks and their states (rotation, shape) but not the data inside — chests come out empty, signs blank. The tool shows how many such blocks there are.
Why did torches or ladders pop off?
Attached blocks are placed after their supports, but occasionally a support comes later. Run the function once more — everything stays in place now.
See also: Schematic converter · Schematic viewer online · How to export a schematic from the game · Minecraft builder tools
Схема в датапак: постройка без модов
Преврати .litematic, .schem или .nbt в датапак или .mcfunction: команды setblock и fill ставят постройку одной командой без Litematica и WorldEdit. Версия игры, координаты, части. Бесплатно, в браузере.
Схема в датапак для Minecraft — команды setblock и fill из .litematic и .schem