Skip to content
NP Editor Docs

Tutorial "Mulgyeol" part 1 — Land and river

“Mulgyeol” is a natural map 384×384 blocks in size. A snow-capped mountain range lies to the north, and a river that starts in the mountains runs between forest and fields into a lake in the south. This tutorial builds this one map in four parts.

PartWhat you build
Part 1 (this page)Land and river — import a heightmap · erosion · lake · river · trees · grass and flowers · sky · game view
Part 2The opening cutscene — a 20-second cutscene where five cameras fly from the mountains to the village square
Part 3Villagers and trading — talking to a villager · 1000 money · buying and selling (without dialogue or shop windows)
Part 4Plaza group dance — a group dance of 30 dancers around the protagonist’s stand-in in the middle of the square

Part 1 in one line: import one land file → smooth it into an eroded, collapsed shape → place a lake, a river, trees, and flowers → set the sky and view it in the game view. You do it all with clicks and typing inside the editor.

Preparation: install NP Editor 0.11.1. The tutorial’s sample files are in the samples\showcase\ folder of the install folder (by default %LOCALAPPDATA%\Programs\NP Editor\samples\showcase\). The pictures in this tutorial were taken at a window size of 1600×900 with the Content Browser open in the bottom panel. If you follow the coordinates and numbers in the pictures, you get the same shape. The viewport angle can differ as you rotate and move it with the mouse.

A note on input fields: right after you type a value into a text or number field, shortcuts such as Ctrl+A, Esc, and F go into that field and do not work (in ▶ Play, Shift and WASD behave the same way). To leave the field, put the mouse over the viewport and scroll the wheel one notch (it is fine if the view moves a little). In the scatter, brush, and lake modes, a left-click in the viewport does the work, so do not click there.

Part 1 starts from an empty world. The only file you use is one heightmap.

  • samples\showcase\mulgyeol_height.png — a 384×384 16-bit grayscale picture of the land height. Black = the lowest point, white = the highest, and the height range (40 to 200) is written inside the picture.

To skip part 1 and start at part 2, copy starting file 2 to your own folder and open it as described in “Starting file for this part” in part 2. Leave the original in the install folder unchanged (if the original changes, you cannot start again from the first state).

  1. Create an empty world with File > New, and save it as mulgyeol with File > Save As… (a Windows save window, so there is no picture). Then click Landscape on the toolbar. The Terrain · water panel opens on the left, and Mode is Height brush.

    The Terrain · water panel opened by clicking Landscape on the toolbar

  2. Scroll the left panel down to find the Heightmap section. Make sure File height range is checked and click Import…. Select mulgyeol_height.png in the file window (a file window with no picture). This file window is the editor’s own, not Windows Explorer, so at first it opens your world folder, abbreviations such as %LOCALAPPDATA% are not expanded, and AppData is a hidden folder that may not appear in the list. Type the real path of the install folder (for example C:/Users/myname/AppData/Local/Programs/NP Editor/samples/showcase) in the path field at the top to go there, then select the file. If that is hard, copy mulgyeol_height.png into your world folder in Explorer and select that file. With no selection, the picture is placed at its own size (384×384) starting at (0, 0). About 10 seconds later, 14.1 million blocks of mountains, valleys, and plains appear, and Landscape_1 is created in the outliner.

    The land after importing the heightmap — snow-covered mountains and stair-step contour lines

    Steep places look like stairs right now, because a heightmap cuts heights into whole blocks. You smooth them in the next step.

  3. Select the whole terrain with Ctrl+A. In the Whole selection section of the left panel, click Erosion 3 times. The brush tool list also has an “Erosion” button, so click the button in the Whole selection section at the bottom. Each pass takes about 1 second, and steep places collapse so the slopes connect. The status bar shows “Terrain: erosion (region) done — N blocks, 1.2s (one undo step)”. Release the selection with Esc.

    The land after clicking Erosion in Whole selection, with connected slopes

  4. You do not paint snow, stone, or grass separately. Auto material at the top of the panel is on, so the land is already painted by the height and slope rules when you import and when you erode. The default rules are: above height 120 = snow, the sides of places steeper than 45° = stone, everything else = grass. To apply the same rules once more, select everything with Ctrl+A and click Material rules in the Whole selection section. If it is already painted, no blocks change, so the status bar shows “Terrain: apply material rules done — 0 blocks …”. Release the selection with Esc.

    The Auto material checkbox, the Material rules button, and the snow-covered mountaintop

  1. Select Lake in Mode. Look down at the hollow in the south (near x 200, z 320; when you hover the mouse, the coordinates appear at the right of the status bar) and click. The lake fills the hollow you clicked up to “just below overflow” (Auto water level). Then click once on the small pool beyond the lake’s west bank (x 148, z 300). The big lake’s surface becomes 63 to match the pool’s bank. If you do not fill the pool, it stays dry.

    The lake and the pond filled with water

  2. Select Auto river in Mode. Look down at the top of the northern mountain valley (x 190, z 70) and click. The river digs down along the lower ground from where you clicked and stops when it reaches the lake water. The initial values are width 5 and depth 3, and sand and gravel are laid along the banks.

    The river flowing from the mountains to the lake

  1. Click Foliage (scatter) on the toolbar. Scroll the left panel to find the Tree · rock generator and select [Tree] Oak in Preset. Type 3 in Variants and 2.0 in Ratio. Variants = how many differently shaped trees to make of the same kind; ratio = how much of the forest it makes up.

    The Preset, Variants, and Ratio fields of the Tree · rock generator

  2. Click Add to scatter below. The 3 oak variants go into the scatter entries (the status bar shows “Added 3 variants of “Oak” to scatter items”). In the same way, add [Tree] Birch (ratio 1.4) and [Tree] Spruce (ratio 1.0) with 3 variants each. Select the single-cell default entries “Oak” and “Birch” that were in the list from the start in the entry list and delete them with the Delete icon below the list.

    The status bar message after clicking Add to scatter

  3. Set the scatter fields at the top of the panel: Min spacing 4.5, Density near 0.8, Max slope° 38. Ground types starts with minecraft:grass_block[snowy=false], minecraft:dirt, so click the field, clear it with Ctrl+A and Delete, and type only grass_block[snowy=false]. The Entry list should show 9 trees (oak, birch, and spruce, #1 to #3 each).

    Min spacing, Ground types, and the list of 9 entries

  4. Select the eastern land that will become forest. You typed in a text field in the previous step, so put the mouse over the viewport, scroll the wheel one notch to leave the field, then select everything with Ctrl+A (a “Select the whole group …” notice appears, and Details shows Selection). Type 236, 60, 112 in the X, Y, Z fields of the Min row and 383, 140, 383 in the X, Y, Z fields of the Max row (confirm each field with Tab or Enter). Scatter uses only the horizontal (X, Z) range, so the height (Y) values do not affect the result. Click Scatter in selection. A few seconds later, a forest appears on the eastern slope. You typed in number fields, so scroll the wheel one notch over the viewport, then release the selection with Esc.

    The forest made by selecting the eastern land and using Scatter in selection

  5. Place grass and flowers. Select Meadow in Stacks, type 0, 55, 120 in the selection Min X, Y, Z and 383, 125, 383 in Max in the same way, and click Scatter in selection. Then change Stacks to Flower field, type 0, 55, 150 in the selection Min and 236, 115, 383 in Max, and click once more. Select and release as in step 10: scroll the wheel one notch over the viewport, then use Ctrl+A and Esc. Changing the stack switches the entry list to that stack’s entries, so change the tree entries only after you have made the forest.

    The field scattered after switching Stacks to Flower field

  1. Click Tools > Sky decoration to open the Sky tab in the bottom area. In Sun, select Soft sun (halo) for Shape, and in Clouds, select Cumulus for Shape. The sky settings are saved in assets\sky.np.json in the world folder.

    The Sky tab with the sun and cloud shapes chosen

  2. Press F6 to switch to the game view. On the bar at the top left of the viewport, click the “Atmosphere·lighting” button right next to the sun button (an icon of three wavy lines meaning fog; hovering shows the text “Atmosphere·lighting”), and select Clear day in Preset.

    The Atmosphere · lighting window with the preset Clear day chosen

  3. Close the window and rotate the viewport to look at the land. The mountains, river, lake, forest, and fields appear with the light and sky you see in the game. If the view is outside the map and low, the edge of the land looks cut off, so look from a high place inside the map with your back to the edge.

    Mulgyeol in the game view (F6)

  1. This is the result of part 1. A river that starts in the mountains flows into the lake, with forest to the east and a field of grass and flowers to the west. Save with Ctrl+S and go to part 2. The file to continue with is this world saved in your folder, or starting file 2 copied as described in “Starting file for this part” in part 2.

    Mulgyeol at the end of part 1 (game view)

  • Undo one step at a time with Ctrl+Z. The 3 erosion passes are 3 undo steps, so you can undo them one by one and watch how the shape changes.
  • A lake, a river, or a scatter is one step per click. If you do not like it, undo with Ctrl+Z, change the values, and click again. The same values and the same place give the same result.
  • The land of starting file 2 (mulgyeol_start2.npworld) was made the same way as in this part, with a village, roads, bridges, and workplaces added on top. The place and shape of each tree may differ a little.
FieldWhereValue in this tutorial
File height rangeTerrain · water > HeightmapOn (uses the 40 to 200 written in the picture)
ErosionTerrain · water > Whole selection3 times
Auto materialTop of Terrain · waterOn
Auto water levelLakeOn (initial value)
Width · DepthAuto river5 · 3 (initial values)
Variants · RatioFoliage > Tree · rock generator3 · Oak 2.0 / Birch 1.4 / Spruce 1.0
Min spacing · Density · Max slope° · Ground typesFoliage > scatter4.5 · 0.8 · 38 · grass_block[snowy=false]

The detailed explanation of each feature is in the pages below.