Types: Difference between revisions
From Citizens Wiki
Aufdemrand (talk | contribs) No edit summary |
No edit summary |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
To create a different type of NPC (besides human), just use the --type flag. | To create a different type of NPC (besides human), just use the --type flag. | ||
<code>/npc create 'npc name' --type pig -b</code> | ''<code>/npc create 'npc name' --type pig -b</code> | ||
This would make a baby pig. Leave off the -b to create an adult. | This would make a baby pig. Leave off the -b to create an adult. | ||
To change the type of an existing NPC, use | |||
''<code>/npc type pig</code> | |||
You can use any Spigot entity type: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html | |||
Latest revision as of 02:35, 3 October 2019
To create a different type of NPC (besides human), just use the --type flag.
/npc create 'npc name' --type pig -b
This would make a baby pig. Leave off the -b to create an adult.
To change the type of an existing NPC, use
/npc type pig
You can use any Spigot entity type: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html