Skip to content
NP Editor Docs

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. To turn a sequence into a video, see Sequence video render.

New in 0.11.0: saved materials (LabPBR) go into the resource pack (Material (LabPBR)), custom blocks in logic (np:<id>) are also placed in the game, and when a new feature needs a newer server version, an export warning tells you.

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

  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)
Sequence videoSequence video render
TargetWhat it createsWhere it is used
Resource packComplete resource pack (standalone) or fragment zip + .sha1.txt + report. Also <name>_rp-pbr_vN.zip when Material (LabPBR) is Separate add-on packServer 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).
Resource pack groupMethod (Standalone (server-ready) · Fragment (merge into existing pack)) · description · version · pack icon · Allow minecraft: ids · Material (LabPBR)“Material (LabPBR)” below · Resource pack and HUD
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

Material (LabPBR) in the resource pack group chooses how the materials you saved in Paint and materials (normal _n, smoothness/metal/emission _s) go into the pack. It applies only to the standalone method, and the fragment method does not include materials.

ValueResult
Include in main pack (default)The materials go into the one pack that you put on the server
Separate add-on packMakes a separate <name>_rp-pbr_vN.zip containing only materials (turn it on over the main pack). It is not put into the pack deployed from the Server window, and a notice is shown
OffNo materials are included
  • A summary line under the field shows how much will go in, such as “Material (LabPBR): in main pack · N textures · +K KB”.
  • If even one material goes in, assets/minecraft/optifine/texture.properties (a single line, format=lab-pbr/1.3) is added with it. A LabPBR shader such as NP Lite reads the materials only when this declaration exists.
  • Material files go next to the editor texture at the same path as <number>_n.png and <number>_s.png (and the .mcmeta too for an animated texture). They are not added for vanilla paths or bone model textures.
  • The pack of a project that uses no materials is byte-for-byte the same as before (the server SHA-1 does not change).
  • The vanilla faces of a texture block hold no image and point only to a minecraft: id. A face you replaced with your own PNG includes that PNG.

If you use a custom block np:<id> in a block field of World logic (Place one block · Box fill · Replace blocks · block triggers and conditions, the initial value of a block variable, and so on), the export (.npbuild, scene deploy, live upload to the server) converts it to that block’s note block state (minecraft:note_block[instrument=…,note=…,powered=…]) and sends that. The logic in the editor keeps np:<id> as it is. A block that is not in the registry, a prop, or a block with no note block assignment cannot be converted: the value is left as it is and a warning (rule, field name, reason) is shown. The warning that there is no assignment (“No note block state (not assigned yet, or the assignment is retired) — export the resource pack once to assign it”) goes away when you export the resource pack once and then export again.

A file export does not know the version of the server that will receive it, so it includes features that need a newer version and shows a warning. A live connection knows the server version, so it leaves out or blocks what an older server cannot handle and tells you in the Server window. The NPBridge bundled with this release’s (0.11.1) installer is 2.4.0. A live connection decides by the feature list (features) the server reports; only an older server that reports no feature list is judged by its version number.

FeatureNPBridge neededWarning and old-server behavior
Moving model (display actor rig)2.0.9“N animated props exported as rig actors — needs server NPBridge 2.0.9 or later (older servers skip these actors)”
Physics bodies2.1.0“N physics bodies need server NPBridge 2.1.0 or later (older servers keep these actors as data only)”
Moving block groups2.4.0“N moving block groups (N entities) need server NPBridge 2.4.0 or later (older servers skip these actors)”
New trigger rules (commands, chat intercept, player events, and so on)2.4.0“scene: N rules use new events · nodes from server NPBridge 2.4.0 or later (…) — older servers skip these rules (they won’t run)”. Live sync is not blocked; the same text appears in the Server window
New actions of older trigger rules (Send command result and so on)2.4.0“scene: new actions (…) in N rules need server NPBridge 2.4.0 or later — older servers skip only that action (the rest of the rule and cancel still run)”
Sequence weather keys2.1.0“Weather cues (N sequence(s)) play on server NPBridge 2.1.0 or newer — older servers ignore them (cutscene only, no rain · lightning)”
Sequencer fighters (baked poses)2.2.0“N sequencer fighter(s) exported as baked poses (seq rig, N KB) — needs server NPBridge 2.2.0 or newer (older servers freeze on the first frame)” — Exporting animations and viewing in game
Fade key colors2.2.1“Fade key colours (N sequences) play on server NPBridge 2.2.1 or later — older servers cover with the single clip fade colour”
Sky time2.2.1“Sky time cues (N sequence(s)) play on server NPBridge 2.2.1 or later — older servers ignore them (the world time stays during the cutscene)”
Cut lens (FOV · focus · depth of field)2.3.0“Cut lens (FOV · focus · depth of field, N sequences) plays on server NPBridge 2.3.0 or later + shader pack NP-Lite (NP_LENS) — …”
Camera tilt (roll)—“scene: N camera roll (tilt) value(s) exported as 0 because the server (vanilla client) can’t use them — tilt shows only in the editor and renders”
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.
  • A warning does not block the files. Check the NPBridge version of the server that will receive them first (Installing NPBridge (server admins)).
  • The warnings for moving block groups and the new trigger rules (commands, chat intercept, new player events) name 2.4.0. NPBridge 2.4.0 in the 0.11.1 installer handles them. On a server with 2.3.0 or earlier the groups do not show in the game and those rules do not run, so replace the server plugin with 2.4.0 first (Installing NPBridge (server admins)).