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

Your first map

In this exercise you create a new empty world, give it a name and save it, lay a 32×32 grass floor in one go, place a few oak plank blocks on it, and save again. The goal is for first-time users to learn the basic flow of picking, placing and saving blocks. It takes about 10 minutes.

Before you start, finish Install and first launch and check that a version with a jar is selected in Target version at the right of the menu bar. For the names of the parts of the window, see Editor layout; for camera controls, see Camera and views.

  1. Click File > New (Ctrl+N). A new world with no blocks opens. The world name at the right of the menu bar is “Untitled”.

    New in the File menu

  2. Click File > Save As… (Ctrl+Shift+S). In the Windows save dialog, create a new folder first_map and save the file inside it as first_map.npworld. The world name at the right of the menu bar changes to first_map.npworld (a long name is shortened; hover over it to see the full path).

    The world name in the menu bar after saving

    This folder is the project folder. Prefabs (prefabs\), export results (export\) and screenshots (shots\) are also created here.

  3. Type grass_block in the search field (①) of the Content Browser in the bottom area. The grass block tile (②) appears in the results.

    Search results for grass_block in the Content Browser

  4. Double-click the grass block tile. The block to place at the right of the toolbar changes to grass_block.

    The block to place at the right of the toolbar — grass_block

  5. Press 1 to pick the place tool, then drag across the floor of the viewport from one corner to the opposite corner. While you drag, a green ghost box and the text “Release to fill: grass_block 32×1×32 = 1,024 blocks …” appear. In an empty world, blocks go on the floor (y = 0).

    The green ghost box while dragging

  6. Release the mouse button to create a grass floor of 1,024 blocks (32×32). The notice “Box fill 32×32×1 = 1,024 blocks” appears at the bottom right.

    The 32×32 grass floor

  7. Type oak_planks in the Content Browser search field and double-click the result tile. Click the top face of the grass floor several times; each click places one oak plank on the face you clicked. In this exercise, click 8 times to make a ring with an empty cell in the middle.

    8 oak planks placed on the grass floor

  8. Press Ctrl+S to save. The change dot in the menu bar turns off and the right end of the status bar shows Saved.

    Saved at the right end of the status bar

  • Undo one block at a time: press Ctrl+Z to remove the last plank you placed, and Ctrl+Y to bring it back.
  • Switch between placing and selecting: number keys pick tools. 1 = place, 4 = select, 5 = shape. For all keys, see Shortcuts.
  • Even if you do not save, autosave keeps a separate copy every 120 seconds. When there are unsaved changes, a small orange dot lights up at the right of the menu bar.
  • You can change the height of the drag box with Alt+drag or Shift+wheel. For more ways to place blocks, see Placing and breaking blocks.
What you want to doPage
Place shapes such as walls and roofs in one goShapes, brush and fill
Select, move and stretch blocksSelection and region editing · Face extrude
Make hills, rivers and forestsLandscape · Water, roads and coasts · Foliage
Place copies of a building you builtPrefabs
Game behavior such as a zone that shows a title when you enterWorld logic · Tutorial: your first script
Test by walking around inside the editorTesting in Play mode
Export to a Minecraft world or server filesExport and import
Let the AI buildAI Studio in the editor