Hytale guide

How to make a custom NPC in Hytale: roles, models, spawning and fixes

Checked on 25 November 2026 against Hytale’s docs and Java API (Release 0.7.7), its NPC Technical Rundown and patch notes, the NPC tutorial Hypixel wrote, and the Hytale Models plugin for Blockbench.

6 min readPublished .Updated .

Three blocky creatures on a dark ground: a large brown bear with a pale gold halo arching over its back, a red and orange phoenix with flame-like feathers and a small crown, and a pink octopus curled around a glowing pale green pearl.
Brown bear, Phoenix and Octopus: Myrlin Studio’s free Hytale creature models, a land animal, a bird and a sea creature.

The short answer

A Hytale NPC is data: a role JSON file in Server/NPC/Roles sets its behavior, health, movement and appearance, usually as a variant of a Hytale template. The appearance is a model asset pointing to a .blockymodel, a PNG and animations made in Blockbench with the Hytale Models plugin. Spawn it with /npc spawn and the role name, or with spawn markers and beacons. There is no visual NPC editor yet.

What a Hytale NPC is made of

“Every NPC has a role”: it sets behavior, movement, carried items and looks, and “even our most complex NPCs are almost entirely data-driven”, Hytale wrote in February 2026.

The files of one NPC, with the asset paths from Hytale’s Asset Reference
The files of one NPC, with the asset paths from Hytale’s Asset Reference
FileAsset pathWhat it holds
RoleServer/NPC/Roles/*.jsonBehavior, health, movement, items, drops, appearance
Model assetServer/Models/*.jsonThe .blockymodel and PNG, hitbox, eye height, animation sets
Model filesCommon/NPC/, Common/Characters/ and othersThe .blockymodel and .png themselves
SpawnsServer/NPC/Spawn/World, Beacons, MarkersWhere, when and how many
Groups, attitudes, flocksServer/NPC/Groups, Attitude/Roles, FlocksSets of roles, attitudes toward them, group sizes

Write the role as a variant of a template

A role is Abstract (a template with parameters), Generic, or Variant: “a variant from an existing NPC JSON file”. Hytale’s example turns a sheep hostile by moving it from Template_Animal_Neutral to Template_Predator.

  1. Step 1

    Copy a template

    Hypixel’s tutorial duplicates BlankTemplate as Template_Goblin_Ogre.json, with Parameters such as Appearance, DropList and MaxHealth.

  2. Step 2

    Add a variant beside it

    It references the template and changes only what differs (below).

  3. Step 3

    Fill the required fields

    MaxHealth, Appearance, NameTranslationKey and a MotionControllerList (Walk, Fly or Dive, all marked work in progress); the NPC must breathe air, water or both.

  4. Step 4

    Write the behavior

    Instructions pair a sensor with actions or motions: “Each instruction is evaluated in order and - if matched - executed.”

Goblin_Ogre.json, the variant from Hypixel’s tutorial
{
  "Type": "Variant",
  "Reference": "Template_Goblin_Ogre",
  "Modify": {
    "Appearance": "Goblin",
    "MaxHealth": 124
  }
}

Numbers to know

  • 150+

    behavior element types to combine

    February 2026

  • 3

    role types: Abstract, Generic, Variant

  • 5

    attitudes, from Ignore to Revered

Is there a Hytale NPC editor?

Not a visual one. In November 2025 Hytale’s Asset Editor “Supports most asset types, with notable limitations around NPCs, world generation, and interactions,” with node-graph editors planned. In February 2026 “most NPC configuration is done directly in JSON files using text editors.”

Use the Asset Editor (Alt+B) to make the pack: how to make Hytale mods. The 0.7.7 server API lists a built-in NPCEditorPlugin with an Asset Editor handler for NPC roles, but no Hytale page explains it, so this guide does not.

Make the model and animations in Blockbench

  1. Step 1

    Install Hytale Models

    The plugin Hytale released in December 2025 (GPL-3.0, last commit 23 November 2026) opens and saves .blockymodel and .blockyanim. Pick a Hytale format on the start screen; characters use 64 pixels per block, props 32.

  2. Step 2

    Name every bone

    “As soon as the bones are properly named, they will be animated in-game.” Stay within 255 nodes (model limits).

  3. Step 3

    Animate it

    The plugin adds visibility and UV offset keyframes and keyframe wrapping for loops.

  4. Step 4

    Point a model asset at it

    A Server/Models/ file names the .blockymodel and .png and sets HitBox, EyeHeight and AnimationSets; the role’s Appearance names that asset.

Roles play clips by name, such as "Animation": "Laydown"; the tutorial picked the Goblin appearance because it “offers a more complete set of animations”. File details: the .blockymodel format.

Spawn and test it

  1. Step 1

    Spawn it by name

    The role name is the file name, and the command checks it against the loaded roles.

    /npc spawn Goblin_Ogre
  2. Step 2

    Or use the Entity Tool

    Since Update 5 (May 2026), “NPCs are now frozen immediately when spawned.” Its Spawn Entity menu has a Freeze on Spawn checkbox.

  3. Step 3

    Watch its state

    Add "Debug": "DisplayState" to the role, or look at the NPC and set a flag; /npc debug presets lists them.

    /npc debug set VisSensorRanges
  4. Step 4

    Test after every change

    Hypixel’s advice: “test, test, and test some more”. /npc clean removes every NPC from the world.

Spawn files, from Hytale’s Asset Reference
Spawn files, from Hytale’s Asset Reference
FileWhat it spawnsKey fields
WorldNPCs across the listed environmentsRole weights, Environments (required), time, moon phase, light
BeaconNPCs around a player near the beaconMaxSpawnedNPCs (default 1), SpawnRadius, cooldowns
MarkerAn NPC at one spot, again after it diesRole weights, a respawn time, MaxDropHeight (default 2)
EncounterScripted multi-NPC encounters (Update 6)/encounter add <asset>

NPC logic in Java plugins

Most NPCs need no code: “While all the individual element types (sensors, actions, motions, etc) are written in Java, the instruction lists are constructed entirely in JSON.” Plugins can add element types, and the Java API (opens in a new tab) documents the NPC packages, but the docs and Hypixel’s tutorial do not yet show how to write one.

The Update 8 pre-release (October 2026) moves NPC data to a new NPCComponent and says to “spawn NPCs through the NPC spawn APIs”; some jars built for older servers fail until rebuilt. Setup: how to make Hytale mods.

Why a custom NPC does not work

  • Unknown role: check the file name, that it sits in Server/NPC/Roles/, and that the pack is on for the world.
  • It stands still: check Freeze on Spawn, then the role’s MotionControllerList and states.
  • It is black: “NPCs with textures that are too large, causing an overflow, will now render as black rather than invisible” (October 2026). Check the texture size.
  • No model or texture: see model or texture not showing.
  • No animation: name the bones, and check that the appearance has the clips the role plays.
  • A marker never spawns: set a respawn time (“At least one of RealtimeRespawnTime and SpawnAfterGameTime must be set”) and keep it within MaxDropHeight of the ground; /spawning markers debuginvalidmarkers shows bad placements.
  • A beacon never appears: with no Environments, “the beacon will not be dynamically spawned”.
  • Broken after an update: Update 7 removed ChargeAcceleration (“A role that still sets the old key only warns at load and loses the behavior.”) and renamed vanilla assets such as the Goblin_Miner attitude role, now Goblin_Brave.

Where Myrlin Studio fits

Myrlin Studio, ours, builds a native .blockymodel creature with a painted PNG and saved .blockyanim clips in about 4 to 5 minutes. Its Hytale download can make a creature pack for your Mods folder.

Questions

How do I make a custom NPC in Hytale?
Write a role JSON file under Server/NPC/Roles in an asset pack, usually a variant of a Hytale template, point its Appearance at a model asset, and spawn it with /npc spawn and the role name.
Is there an NPC editor in Hytale?
Not a visual one yet. Hytale says most NPC configuration is done in JSON files with a text editor; node-graph editors are planned.
How do I spawn an NPC in Hytale?
Type /npc spawn and the role name, or use the Entity Tool. For NPCs that appear on their own, add world spawn, beacon or marker files.
Do custom Hytale NPCs need a plugin?
No. Roles and spawns are JSON. Java plugins are for new behavior elements or other server logic.

Sources

  1. Hytale Docs: Asset Reference (opens in a new tab): Release 0.7.7, current on 25 November 2026: every asset type and its path.
  2. Hytale Docs: NPC Roles (opens in a new tab): The role path; the reference does not render its fields.
  3. Hytale Docs: Models (opens in a new tab): The model asset: .blockymodel and PNG folders, hitbox, eye height and animation sets.
  4. Hytale Docs: NPC Groups (opens in a new tab): Included and excluded roles and groups.
  5. Hytale Docs: NPC Attitude Roles (opens in a new tab): Ignore, Hostile, Neutral, Friendly and Revered.
  6. Hytale Docs: NPC Flocks (opens in a new tab): Flock sizes and blocked roles.
  7. Hytale Docs: World spawns (opens in a new tab): Role weights, required environments, time, moon phase and light.
  8. Hytale Docs: Spawn beacons (opens in a new tab): MaxSpawnedNPCs, SpawnRadius, cooldowns and empty Environments.
  9. Hytale Docs: Spawn markers (opens in a new tab): Respawn times and MaxDropHeight.
  10. Hytale Docs: How to modify Hytale (opens in a new tab): Asset packs and the Asset Editor.
  11. Hytale Server API: NPC commands (opens in a new tab): Spawn, clean, debug, freeze and thaw commands; the role name argument checks loaded roles.
  12. Hytale Server API: NPC editor (opens in a new tab): NPCEditorPlugin and NPCRoleAssetTypeHandler, read on 25 November 2026.
  13. Hytale: NPC Technical Rundown (opens in a new tab): 11 February 2026. Roles, templates, instruction lists, element types, tooling and debug flags.
  14. Hytale: Hytale Modding Strategy and Status (opens in a new tab): 20 November 2025. The Asset Editor’s NPC limits and the planned node editors.
  15. Hytale: An Introduction to Making Models for Hytale (opens in a new tab): 22 December 2025. Named bones and pixel density.
  16. Hytale: Update 5 Patch Notes (opens in a new tab): 26 May 2026. Alt+B and NPCs frozen on spawn by the Entity Tool.
  17. Hytale: Update 6 Patch Notes (opens in a new tab): 27 August 2026. /npc clean and encounter managers.
  18. Hytale: Modder-Facing Patch Notes, Update 7 (opens in a new tab): 12 October 2026. ChargeAcceleration, renamed roles and the spawn marker debug command.
  19. Hytale: Chapter I, Out of the Breach (opens in a new tab): 12 October 2026. Oversized NPC textures render black.
  20. Hytale: Pre-Release Patch Notes, Update 8 (opens in a new tab): 22 October 2026, pre-release. NPCComponent and the NPC spawn APIs.
  21. Hypixel Studios: NPC documentation (on hytalemodding.dev) (opens in a new tab): Role types, required fields and motion controllers, linked from Hytale’s NPC post.
  22. Hypixel Studios: NPC tutorial, Know Your Enemy (opens in a new tab): Planning states and the Appearance file.
  23. Hypixel Studios: NPC tutorial, Getting started with Templates (opens in a new tab): BlankTemplate, the template and the variant.
  24. Hypixel Studios: NPC tutorial, The importance of being idle (opens in a new tab): StartState and /npc spawn.
  25. Hypixel Studios: NPC tutorial, Drawing the rest of the ogre (opens in a new tab): Testing after each behavior and the DisplayState flag.
  26. Hypixel Studios: NPC tutorial, Sleep animation (opens in a new tab): Playing animations by name and StateTransitions.
  27. JannisX11/hytale-blockbench-plugin (opens in a new tab): GPL-3.0; the Hytale Models plugin, last commit 23 November 2026.
  28. Blockbench plugin registry (opens in a new tab): The Hytale Models entry: formats, animation features, pixel scale and the 255 node limit.
  29. Myrlin Studio for Hytale (opens in a new tab): Build time, files, the Hytale download pack and its 0.7.4 check, read on 25 November 2026.
  30. Myrlin Studio pricing (opens in a new tab): Free credits, the price of a model and which plans include downloads, 25 November 2026.

Facts checked on .