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

Resource pack and HUD

NP Editor builds the server resource pack from scratch using only the assets you imported and painted in the editor. It does not read or merge existing resource packs. The target is Java 1.21.11 (pack_format 75). Custom blocks, props, weapons, armor, effect frames, sounds, sky images and HUD images all go into one zip. The resource pack panel shows in advance what will be included and any problems, and the HUD · item textures panel replaces HUD images such as hearts and the hotbar, and vanilla item textures.

This walkthrough uses a copy of the sample world castle. The project folder is the folder that contains the world file (.npworld), and results are created in the export folder under it.

  1. Click Window > Resource pack. The resource pack panel opens in the bottom area.

    Picking Resource pack from the Window menu

  2. Click Check. It does a trial build in memory, and the status line shows “Check passed · zip … · files … · warnings …”. No files are written.

    Check clicked in the resource pack panel — included items, problems and version history

    Known issue in 0.10.2: the pack description in the header (“Noplatea 리소스팩”, “Noplatea resource pack”) and the custom block contents (“커스텀 블록 · 노트블록 상태 · …”, “custom block · note block state · …”) are shown in untranslated Korean.

  3. Click Build resource pack. castle_rp_v1.zip and castle_rp_v1.zip.sha1.txt are created in the output folder, and a v1 row (SHA-1 · size · build time) appears in Version history.

    v1 added to Version history after clicking Build resource pack

Upload the zip to the web and put the three lines of .sha1.txt into the server’s server.properties (editing server files happens outside the editor — no screenshot).

  1. Click Tools > HUD · item textures. The HUD panel opens in the bottom area.

    Picking HUD · item textures from the Tools menu

  2. Click the drop-down in the Hearts (health) row and select Replace. The heart sprites appear in the Painting group.

    Picking Replace from the drop-down in the Hearts (health) row

  3. In the full sprite of the Painting group, click Image… and pick a PNG (file picking happens in a Windows dialog — no screenshot). The sprite name changes to ★ full, and the heart in Game screen preview on the right changes to the image you picked. The setting is saved to assets/hud.np.json, and the image is copied to assets/hud/hearts/heart_full.png.

    Game screen preview after replacing the heart full sprite with a gold heart

  4. Click Build resource pack in the resource pack panel again. A new castle_rp_v2.zip is created (v1 stays as is), with the HUD heart image inside.

  • Run Check first to see problems, then build. Check writes no files, so clicking it many times does not clutter the output folder.
  • Builds never overwrite; they raise the version number (_rp_v1 → _rp_v2). Changing the pack also changes its SHA-1, so update the SHA-1 line in the server’s server.properties with the new .sha1.txt too.
  • To reset the HUD, click All vanilla. Every element goes back to vanilla, and the copied image files (assets/hud/…) remain so you can pick them again.
  • You do not need to keep the panel open: clicking Build > Build resource pack opens the panel and builds the next version right away.
WhatWhere
Resource pack panelWindow > Resource pack
Build directlyBuild > Build resource pack
HUD · item textures panelTools > HUD · item textures
Resource pack group of the Export windowCtrl+Shift+E (Export and import)
Asset editorDouble-click a custom block or prop in the Content Browser
PartContents
HeaderThe file name to build, <name>_rp_vN.zip, and the pack.mcmeta description
Build resource packBuilds the complete resource pack + .sha1.txt. Never overwrites; uses the next number.
CheckDoes a trial build in memory and shows the self-check, errors, warnings and zip size. Warns when it exceeds 100 MB.
Refresh · open output folderIcon buttons (tooltips Refresh · Open output folder). Open output folder creates the folder if it does not exist and opens Explorer.
Also copy to Minecraft resourcepacks folderAlso puts the built zip in .minecraft/resourcepacks so you can check it in single player right away. Does not overwrite a file with the same name. Off by default; the on state is remembered for the next launch.
IncludedCustom block · Items · props · Texture · Sound events · Block sounds · Sky (sun · moon · clouds) · Excluded assets. Double-click a row to open the asset editor.
ProblemMissing source or icon files, duplicate item model ids, textures over 512 or not a power of two, missing sound files, etc.
Version historyBuilt version · SHA-1 · size · build time. Icons at the top right: Copy selected build’s SHA-1 · Show selected zip location.
  • The output folder follows Output folder in the Export window; if that is empty, it is <project>/export.
  • The file name is decided in this order: File name in the Export window → the resource pack name in Project Settings → the map name → the world file name.
  • The panel’s Build resource pack always builds the complete pack (standalone). Build resource pack in the resource pack group of the Export window follows that window’s Mode (Standalone (server-ready) · Fragment (merge into existing pack)).
KindWhere it goesNotes
Custom blocksNote block states + block models · texturesState assignments are kept in a fixed table.
PropsItem models (item_model)The server places them as ItemDisplay.
WeaponsItem models + in-hand appearance (display)
Armor1.21.4+ equipment + equipment imagesThe images are 64×32.
EffectsItem models per frame + np_effects.jsonThe server plugin switches them every tick.
Soundsassets/<ns>/sounds.json + ogg + subtitlesSky and sound
SkySun · moon (8 phases) · cloud imagesSky and sound
HUD · item texturestextures/gui/sprites/hud/… · textures/item/…Included only in the complete pack (standalone).
  • A model texture named glow · emissive, or ending in _glow · _emissive, is an emissive texture.
  • If you turn off Include in resource pack in the asset editor, that asset is left out of the pack and appears under Excluded assets.
  • If the self-check finds errors, the zip is not built.
PartContents
GUI scalePreview scale ×1–×4 (default ×2, Minecraft “GUI Scale”)
UnderwaterShows air bubbles in the preview.
All vanillaRemoves all sprite and item texture replacements (no confirmation).
HUD tab — Elements (vanilla · replace · hide)Vanilla · Replace · Hidden per element
HUD tab — PaintingThe sprites of the selected element. Image… per sprite, and a Back to vanilla for this sprite icon on replaced sprites
HUD tab — Game screen previewA preview drawn with the vanilla layout as is
Item textures tabVanilla item search · Replace image… · To vanilla (the list is empty without the jar)
ElementContents
Hearts (health)Including poison · wither · absorption · frozen · hardcore hearts
HungerFood bar
ArmorArmor bar
Air (underwater)Underwater air bubbles
Experience barBackground · fill
Hotbar9 item slots · selected slot frame · off-hand slot
CrosshairThe cross at the center of the screen
Attack cooldown indicatorAttack ready indicator
Mount healthHearts of mounts such as horses and pigs
Jump bar (horse)Horse jump strength bar
Effect slot backgroundBackground of potion effect icons at the top right
ModeWhat goes into the resource pack
VanillaNothing.
ReplaceReplaces only the images of the chosen sprites. The other sprites stay vanilla. 2× and 4× high-resolution images also work (only the aspect ratio has to match).
HiddenAdds transparent images of the same size. Health and hunger calculations are unchanged.
PathContents
assets/registry.jsonCustom registry (block · prop · item model ids)
assets/models/ · assets/textures/Imported models · textures
assets/sounds.np.json · assets/sounds/Sound registry · sound files
assets/sky.np.jsonSky decoration
assets/hud.np.json · assets/hud/HUD settings · HUD images (a .bak is also kept on save)
  • If you change the id of a custom block or prop, ones already placed keep the old id.
  • PNG textures are read up to 8192×8192 pixels.
  • In 0.10.2, when you first open the HUD panel, the status line at the bottom may still show “No jar, so the vanilla item list can’t be shown…” (even when the jar is loaded). Click the Item textures tab once to fill the vanilla item list and clear this text.
  • If you place a custom block (np:) while connected live to a server, it is placed on the server with the same note block state as in the resource pack. Blocks without a note block assignment stay only in the editor, so build the resource pack first to create the assignments (Server connection (live)).