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

Sky and sound

Sky decoration has the engine draw sun, moon and cloud images itself and puts them in the resource pack and shader pack. It neither reads nor copies the vanilla sky images. The night sky (stars · Milky Way · aurora · constellations) is drawn by the shader pack and the F6 game view. Settings are saved immediately to the project’s assets/sky.np.json.

The Sound library manages sound events and sound files. A Sound emitter actor plays a sound at a fixed spot, like cave drips or a waterfall. In the game, the server plugin plays it at the emitter’s position and interval.

  1. Click Tools > Sky decoration. The Sky tab opens in the bottom area. The sun, moon, clouds, night sky and image size fields sit side by side.

    The Tools menu and the Sky tab in the bottom area

  2. Select “Soft sun (halo)” in Shape under Sun, “Cratered moon” in Shape under Moon, and “Cumulus” in Shape under Clouds. Each field’s image changes right away, and the bottom line of the panel shows ”… · 저장함(assets/sky.np.json)”.

    The Shape fields of the sun, moon and clouds

    Known issue in 0.10.2: this status line shows untranslated Korean — “저장함” (“saved”) and color names such as “따뜻한 흰색” (“warm white”).

  3. Check Enable under Night sky and select “Fantasy night” in Preset. Aurora, Milky Way, constellations, two moons and shooting stars turn on at once.

    The Enable and Preset fields of the night sky

  4. Click Night. The viewport switches to the F6 game view (shader preview) and shows the sky at 23:00.

    The Night button and the night sky in the F6 game view

  5. Click Day. The sky at 13:00 appears. The night sky appears only after sunset, so it does not affect the daytime view.

    The Day button and the daytime sky in the F6 game view

When you build the resource pack (Build > Build resource pack), the sky images go in with it; when you make the shader pack, the shader fields (Draw with shader · Shader cloud layer · night sky) go in. Press F1 to return to the normal editing view (Lit view) (Game view and shader pack).

  1. Click Tools > Sound library. The Sound tab opens in the bottom area.

    The Tools menu and the Sound tab in the bottom area

  2. Click Create starter sounds. Sounds synthesized by the engine itself (cave drips · stream · waterfall · campfire · wind · cave echo · chime · stone/wood/crystal blocks) are added as np:… events (“Starter sounds: created 27 events · 67 files”). These sounds are free of copyright concerns.

    The Create starter sounds button and the event list

  3. Click Add on the toolbar, type drip in the search box, then double-click Cave drips in the list.

    The Add button, the search box and Sound > Cave drips

  4. A sound emitter is placed under the mouse (or at the center of the screen if there is none), and a SoundEmitter_1 actor appears in the Outliner. The Event in the Details panel is the vanilla sound minecraft:block.pointed_dripstone.drip_water.

    The Event field in the Details panel

    Known issue in 0.10.2: the status lines above the Event field are shown in untranslated Korean (“바닐라 소리(게임에서는 그대로 들림) …” — no editor preview for a vanilla sound; “소리 미리듣기 꺼짐 …” — sound preview is off).

  5. Type np:ambient.cave_drip in the Event field and press Enter to apply it. The emitter now uses the starter sound added in step 7.

    The Event field changed to np.cave_drip

  • Vanilla events have no sound files in the editor, so their preview is silent. After placing an emitter, switch its event to an np:… event from Create starter sounds to hear it in the editor right away; the sound files also go into the resource pack.
  • When you first decorate the night sky, start with a Preset and adjust only fields such as Stars and Milky way. Presets leave the clouds and sun unchanged.
  • Sky settings are saved each time you pick something, so there is nothing to save separately. To reset, click To vanilla.
  • Check the F6 sky with the Day and Night buttons. They jump straight to 13:00 and 23:00 without setting the time by hand.
FieldOptions
Sun > Shape“Vanilla (unchanged)” · “Soft sun (halo)” · “Pixel sun” · “Ringed sun” · “Star shape” · “Eclipse”
Sun > Color · Size · Glow · Seed“Warm white” · “Gold” · “Sunset orange” · “Cool white” · “Rose” / 0.5–1.5 / 0–1 / pattern seed
Moon > Shape“Vanilla (unchanged)” · “Cratered moon” · “Pixel moon” · “Crescent drawing” · “Halo moon (craters + soft glow·halo)”
Moon > Color“Default (silver)” · “Blood red” · “Blue moon” · “Violet moon” · “Gold moon”. The shader multiplies the moon color even when Draw with shader is off.
Moon > Preview phaseThe phase shown in F6 (0 full moon – 7 waxing gibbous). In the game it cycles with the date.
Clouds > Shape · Cloud cover · Clump size“Vanilla (unchanged)” · “Cumulus” · “Cirrus (streaks)” · “Scattered puffs (sparse)” · “No clouds” / 0.05–0.9 / 0.5–2
Clouds > Shader cloud layer · Height (shader) · Drift (shader)The shader pack draws a 2D cloud layer in the sky and hides the vanilla clouds.
Clouds > 3D clouds (shader) · Thickness (3D) · Quality (3D)Draws the shader cloud layer as 3D clouds. Quality 0 low · 1 medium · 2 high.
Night sky > Enable · PresetAfter sunset, the shader (shader pack · F6) draws stars · Milky Way · aurora · constellations · extra moons. Presets: “Fantasy night” · “Clear night” · “Northern aurora” · “Off (vanilla night)”
Night sky > Stars · Milky way · Aurora · Constellations · Airglow · Moon haloNight sky details. Set the aurora color, direction and width and the positions of extra moons with the AI sky tool or in assets/sky.np.json.
Image size > Sun · moon · Cloud map×1 (32×32, same as vanilla) · ×2 · ×4 / ×1 (256×256) · ×2 · ×4 (resource pack self-check warning)
Image size > Legacy paths tooAlso writes the image paths for older clients (on by default).
Sun · Moon > Draw with shaderWhen on, the shader pack draws this shape itself. When off, the resource pack image is used.

The same seed gives the same image. The sky images are drawn from engine formulas, so you can distribute them as they are.

Button · fieldAction
id field + EventCreates a new event (<ns>:…, played by the server) or picks a vanilla event to replace (minecraft:…, replaced everywhere through the resource pack).
Replace vanillaPicks the vanilla sound id to replace from a list and fills it into the field.
Create starter soundsAdds the synthesized starter sounds as np:… events. Existing events are skipped.
Add file… · To monoAdds .ogg · .wav to the selected event. .wav is converted to Ogg, and To mono (on by default) converts positional sounds to mono. If the same name exists, a new name such as _v2 is used.
SubtitleThe subtitle translation key or text. Leave it empty for no subtitle.
Play · remove · delete · refresh iconsListen to the event once · remove the selected file from the event · delete the event from the registry · reread assets/sounds.np.json. Sound files on disk are not deleted.
Custom block soundsSets the events to play for Break · Place · Step · Hit · Fall of each custom block. Custom blocks have fixed client sounds, so the server plugin plays them instead.

When you open a registry that has events, the line at the top of the Sound tab shows the full path of the registry file. Hide this line when you share your screen.

Add > SoundDefault
Cave dripsOnce per interval · underground only
Waterfall · flowing water · Campfire crackleOnce per interval
WindContinuous loop
Empty sound emitterNo event
Details fieldMeaning
EventThe id of the sound event to play. Pick from the library or vanilla suggestions with the button on the right, or type it and press Enter to apply.
CenterWhere the sound comes from. Move it with the “Move under mouse” icon button.
Audible range · Volume · PitchThe distance (blocks) at which the sound fades to 0 · loudness · pitch (random between minimum and maximum).
Mode · Interval (s)“Once per interval (random)” · “Continuous (loop)” / the wait time for once per interval.
Time of day · Underground only“Always” · “Day only” · “Night only” (day = 06–18 h) / plays only where the sky is blocked (caves).
  • Turn on the speaker button (sound preview) on the right of the toolbar to hear emitters within 64 blocks of the camera in the editor (off by default; the bar next to it = master volume). It is always on during Play.
  • In the game, the server plugin plays them at the emitter positions and intervals in the exported sounds_server.json.
  • Sounds and sky go only into the full resource pack.