Skip to content
NP Editor Docs
This is not the latest version — view the latest

Export and import

Exporting saves the current world as files that the server and the game use. A single run of the export window creates a resource pack, a server registry, a .npbuild (install file for the server build module), a .schem (WorldEdit schematic) and a Minecraft world folder. Importing reads a .schem or a range of a Minecraft world and pastes it into the current world.

This walkthrough exports a copy of the example world castle as a set of files for the server. The results go to the export folder next to the world file (<project>/export in the window).

  1. Click the Build menu, then click “Export: Resource pack piece · .npbuild (Ctrl+Shift+E)”. The Export (resource pack · .npbuild) window opens.

    Choosing the export item from the Build menu

  2. Under Target, check World save (.mca). Resource pack · Server registry · .npbuild · .schem are on from the start, and Target version is the editor’s target version (1.21.11 here).

    World save (.mca) checked in the Target group at the top of the export window

  3. Click the Region list and select Whole world · single file. The default Whole world · split regions splits the files every 256 blocks (Region size).

    Choosing Whole world · single file from the Region list

    Known issue in 0.10.2: the Region size field shows its unit in untranslated Korean (“256 블록” = “256 blocks”).

  4. Click Export at the bottom right of the window. The notification reads “Export finished: Done · files 7 · warnings 0”.

    The Export button at the bottom of the export window

  5. Check the created files in the Log at the bottom of the window. In this example, castle_rp_v1.zip (+ .sha1.txt · report .txt) · castle_registry_v1.json · castle_all_v1.npbuild · castle_all_v1.schem · the world folder castle_world (level.dat + region/*.mca) are created.

    The Log listing the created files and the world folder notice

Copy the world folder into .minecraft\saves\ and it appears in the single-player list (in the game — no image). The folder icon at the bottom of the window (Open folder) opens the newly created output folder in File Explorer (Windows window — no image).

  • Exports never overwrite. Every file name gets a version number starting at _v1, and clicking Export once more creates a new _v2 set. Only the world folder starts without a number as <name>_world, followed by <name>_world_v2. You can keep the version on the server and the fixed version side by side and compare them.
  • You can read the newly created .schem back in with Import .schem in the same window and paste it. The pasted range is selected, and a single Ctrl+Z cancels the whole paste.
  • Build > Save as Minecraft world… opens a folder picker (Windows dialog). Type mcworld <folder> in the console to write only the world straight to that folder without the picker (with no folder, <project>/export). The path must not contain spaces.
WhatWhere
Export windowBuild menu “Export: Resource pack piece · .npbuild (Ctrl+Shift+E)” · Ctrl+Shift+E
Minecraft world onlyBuild > Save as Minecraft world… (folder picker) · console mcworld [folder]
Resource pack onlyBuild > Build resource pack (Resource pack and HUD)
markers.jsonBuild menu “Export: markers.json (server markers)” (Markers, load budget and snapshots)
Import .schemFile menu “Import: .schem (Sponge schematic)” · Import .schem in the export window
Import a worldImport world in the export window
Deploy to a running server“Server” window — Server connection (live)
TargetWhat it createsWhere it is used
Resource packComplete resource pack (standalone) or fragment zip + .sha1.txt + reportServer resource pack
Server registry<name>_registry_vN.json (plus <name>_sounds_server_vN.json if there are sounds)Server plugin
.npbuildBlocks · block entities · props · groups, markers.json with Include markers, scene.json with Include sceneServer build module
.schemSponge v3 schematicWorldEdit · FAWE
World save (.mca)level.dat + region/*.mca (+ entities/*.mca if there are props) — Creative, time fixed at noonSingle player · server world
  • .npbuild and .schem file names end in r<X>_<Z> (split regions) · all (single file) · sel (selection), depending on the Region setting.
  • If there are blocks that do not exist in the target version, <name>_version-check_vN.md is created too.
Group · fieldValues · defaultMeaning
Target version1.20.1 – 1.21.11 (the editor’s target version).schem DataVersion · .npbuild header · basis for block checks
Block listEmptyThe server jar report blocks.json. If empty, cache · automatic
Missing blocksWarning table only (keep) · Replace as suggested · Don’t exportWhat to do with blocks that do not exist in the target version
RegionWhole world · split regions · Whole world · single file · Selection only
Region size256 (multiples of 16)Side length when splitting regions
Air cellsClear (match editor) · Keep (overlay)How air cells are handled when installing on the server
Include markers · Include sceneOn · onPut markers.json · scene.json into the .npbuild
.schem customAir (vanilla only) · Note block statesHow custom blocks are written into the .schem
Load budget checkOnOpens the “Server load budget exceeded” dialog (Export anyway · Cancel) when chunks are over the limit
Ignore errorsOffCreates files even with errors (for review).
World save groupPosition offset X·Y·Z · Below floor (Empty · Fill with stone (bedrock at bottom)) · Outer terrain (Empty sky (buildings only) · Flat) · Custom block (Substitute block + warning · Note block states (resource pack required)) · Substitute block minecraft:magenta_wool · Block entities · Prop · Verify after write (all on)
Output groupOutput folder (if empty, <project>/export) · File name (if empty, the world name) · RP to merge (fragment mode)
Merge resource packsFragment zips · Merged output · Bump description version · MergeMerges several fragment zips into an existing pack
ImportFieldsResult
Import .schem.schem file · Note blocks to custom (on by default)Reads Sponge v1–v3, pastes it under the mouse (or at the origin) and selects that range. One undo step.
Import worldWorld folder (the folder with level.dat) · Range start · Range end (Minecraft coordinates, default 0 – 15) · Import from worldPastes the blocks, block entities and props in that range. Only worlds from 1.18 or later; a range that is too large is refused.
  • Signs, banners, container names and container items are read too. Unknown blocks are kept as placeholders and reported in a list. Other entities such as mobs and item frames are not imported.
  • Files that would unpack to an abnormal size (a possible compression bomb) are not read, and the editor tells you so.
VersionWorld save
1.20.1 · 1.21.1Supported. Props are not written.
1.21.4 – 1.21.11Supported. Props (item_display) are written too.
26.x (when chosen as the target version)Written in 1.21.11 format; the game upgrades it.
ShortcutAction
Ctrl+Shift+EExport window
EscClose the export window
  • If the resource pack’s own check finds errors, the resource pack zip and the server registry are not created. .npbuild · .schem · the world are blocked only when Missing blocks is set to Don’t export. Fix the [Error] lines in the Log first.
  • For accurate prop sizes, check Resource pack as well.
  • The resource pack SHA-1 lines are in .sha1.txt.