Name | Create |
Syntax | create [<entity>] [<name>] (<location>) (traits:<trait>|...) (registry:<name>) |
Short Description | Creates a new NPC, and optionally spawns it at a location. |
Full Description | Creates an npc which the entity type specified, or specify an existing npc to create a copy.
If no location is specified the npc is created despawned. Use the 'save:<savename>' argument to return the npc for later use in a script. Optionally specify a list of traits to immediately apply when creating the NPC. Optionally specify a custom registry to create the NPC into. (Most users, leave this option off). Will generate a new registry if needed. |
Related Tags | <server.npcs> Returns a list of all NPCs.
<entry[saveName].created_npc> returns the NPC that was created.
|
Usage Example |
|
Usage Example |
|
Group | npc |
Requires | Citizens |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/npc/CreateCommand.java#L29 |