LogoObjToSchematic Wiki

Exporting to Minecraft

How to get your block structure into Minecraft.

Once you have a Blocks object you can export it to various file formats to import into Minecraft.

Which export to use depends on your edition of Minecraft and your use case:

Java Edition

Java Edition builds can be placed without mods using command blocks or data packs, or with a mod or plugin that loads schematic files.

Command Blocks

OtS can provide a list of commands that you can copy-paste into a command block to place your structure into your world. This is perfect for small builds where the number of commands to copy is small.

The length limit for commands in a command block is 32,500 characters so commands are split up to overcome this limitation.

Export your Blocks object using the "Command Blocks" type. Once the processing has finished, a popup will appear with the commands to copy.

image

Export your Blocks object using the "Command Blocks" type. Once the processing has finished, a popup will appear with the commands to copy.

image

Load into your Minecraft world and give yourseld a Command Blocks with /give @p minecraft:command_block.

image

Place a Command Block and paste the first command.

image

Place a button and press it to place the first set of blocks into your world.

image

Copy-paste the remaining commands into the same Command Block.

image
You're done!

Data Packs

Using data packs to paste your blocks is easy but requires some setup the first time around.

If you already have a data pack setup, skip to Using a data pack.

Creating a data pack

Open Minecraft, select your world, click "Edit", and click "Open World Folder".

Open the "datapacks" folder and create a new folder with a name of your choice. This guide will use ots_builds.

This datapack will contain all of the builds that we want to paste into your world.

image

Download the Template Datapack.

Extract the ots_builds folder into your world's "datapack" directory.

Your file structure should look like this.

world/
└── datapacks/
    └── ots_builds/
        └── data/
            └── ots_builds/
                └── function/
                    └── apple.mcfunction

Minecraft versions before 1.21 expect this folder to be called functions instead of function. If you are playing on an older version, rename it.

Place your .mcfunction files into the same folder as the sample apple.mcfunction file. You can delete the sample file if you like.

Load into your Minecraft world, run /reload and then /datapack list to verify the datapack has loaded correctly.

image

Using a data pack

Export your Blocks object using the "MCFunction" type and a .mcfunction file will be downloaded.

Place the downloaded file into your datapack's function folder.

world/
└── datapacks/
    └── ots_builds/
        └── data/
            └── ots_builds/
                └── function/
                    └── apple.mcfunction

Move your player to where you want to place the build and run /function ots_builds:apple with the name of your file instead of "apple".

image
You're done!

Litematica Mod

The Litematica mod allows pasting .litematic, .schematic, and .schem files into your world. The .litematic format is best and the .schematic format should be avoided as it does not support many newer Minecraft blocks.

When you download the file, place it in the .minecraft/schematics folder and it will be detected by Litematica. A video tutorial on how to use Litematica can be found here.

FAWE Plugin

The FastAsyncWorldEdit (a.k.a. FAWE) plugin enables world editing features on servers.

When you download as .schem or legacy .schematic, place the file in the server/plugins/FastAsyncWorldEdit/schematics folder. When in-game use //schem load filename and then //paste. Visit the docs for more info.


Bedrock Edition

The editor has two export types for Minecraft Bedrock. Both convert every block to its Bedrock equivalent.

  • Bedrock Add-On (.mcpack) works on any device that runs Minecraft Bedrock.
  • Bedrock Structure (.mcstructure) only works on Windows, because only the Windows version of Minecraft Bedrock can import structure files.

Bedrock exports need Minecraft Bedrock 1.21.60 or newer. Bedrock only has vanilla blocks, so modded blocks from a custom atlas have no Bedrock equivalent.

Bedrock Add-On

Export your Blocks object using the "Bedrock Add-On (.mcpack)" type. The editor shows the command that loads your build. You'll need it later.

Open the downloaded .mcpack file. Minecraft Bedrock opens and imports it.

Edit your world, open "Behavior Packs", and activate the pack. It has the same name as your file.

Cheats must be on for the world, because the build is loaded with a command.

Load into your world, stand where you want the build, and run the command from the editor. For a file called apple it's:

/structure load ots:apple ~ ~ ~

The name in the command is your file name in lowercase, with every character that isn't a letter, number, or underscore replaced by an underscore. The pack's description in the Behavior Packs list also shows the command.

You're done!

Each export becomes its own pack. Give each build a different file name so two packs don't contain structures with the same name.

Bedrock Structure

Export your Blocks object using the "Bedrock Structure (.mcstructure)" type.

Load into your world with cheats on and give yourself a Structure Block with /give @s structure_block.

Place the Structure Block, open it, and set its mode to "Load".

Click "Import", pick the downloaded .mcstructure file, and then click "Load".

You're done!

On this page