Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 146
    • Issues 146
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Guides
  • Making an NPC

Making an NPC · Changes

Page history
Fixed NPC example to inherit mob display name on disguise authored Mar 24, 2025 by Brickgard's avatar Brickgard
Show whitespace changes
Inline Side-by-side
Showing with 4 additions and 4 deletions
+4 -4
  • Guides/Making-an-NPC.md Guides/Making-an-NPC.md +4 -4
  • No files found.
Guides/Making-an-NPC.md
View page @ 985c86a8
......@@ -13,8 +13,8 @@ Using the below mob as a base, we can make a simple NPC that just stands still.
```yaml
NPC_Steve:
Type: INTERACTION
Display: 'Steve'
Disguise: Player Steve setDynamicName true
Display: 'Steve the Guide'
Disguise: Player <inherit> setSkin Steve setDynamicName true
Options:
AlwaysShowName: true
Despawn: persistent
......@@ -22,8 +22,8 @@ NPC_Steve:
- `NPC_Steve` This is what you'll use to spawn your NPC. /mm m spawn NPC_Steve
- `Type: INTERACTION` You can use whatever you like but we'll be using an interaction entity since it has no AI, no sound etc.
- `Display: 'Steve'` This is what will appear above your NPC's head.
- `Disguise: Player Steve setDynamicName true` This is what makes our NPC look like a player. You can replace "Steve" with whatever player name you want. You must keep the setDynamicName as true so the NPC can use the Display setting. For more information about using custom skins [read here](/Mobs/Disguises)
- `Display: 'Steve the Guide'` This is what will appear above your NPC's head.
- `Disguise: Player <inherit> setSkin Steve setDynamicName true` This is what makes our NPC look like a player. You can replace "Steve" with whatever player's skin you'd like to use. You must keep the setDynamicName as true so the NPC can use the Display setting. The `<inherit>` name placeholder sets the NPC to show its `Display:` name. For more information about using custom skins [read here](/Mobs/Disguises).
- `AlwaysShowName: true` This makes the nameplate show above your NPC.
- `Despawn: persistent` This will keep your NPC spawned on reloads, restarts and chunk unloads.
......
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
Mythic Add-ons
Compatible Plugins
API Information

Guides
  • Troubleshooting
  • FAQ / Common Issues
  • Examples
Packs

MythicScribe MythicScribe - VSCode Extension

Mobs
  • Mob Options
    • Display Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Vanilla Overrides
  • Extra: Disguises
  • Extra: ModelEngine

Skills
  • Mechanics
    • Mechanics by Tag
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables

Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework

Drops & DropTables
  • Drops
  • DropTables
  • FancyDrops

Spawning
  • Spawners
  • Random Spawns

Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats

Other
  • Particles Types
  • Audience
  • Equipment Slots
  • Pins
Technical
  • Math
  • Item Matcher
  • Operations
    • Attribute Operations
    • Stats Modifiers
  • SkillTree
  • Advanced User Guides and Techniques