Types: Difference between revisions

From Citizens Wiki

No edit summary
No edit summary
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| border="1" style="color:black;" cellpadding="3" cellspacing="0" width="100%"
To create a different type of NPC (besides human), just use the --type flag.
! width="15%" | Type
! width="25%" | Image
! width="60%" | Details
|-
| Player
| [[File:PlayerNPC.png]]
| Name that is assigned is placed above it's head, and it has a [[Skins|skin]], just like other players. The name color can be adjusted by putting & in front of the name (note: this will reset its skin to the default skin).
|-
| Pig
| [[File:PigNPC.png]]
| Movable by pushing into it (fix for that coming soon). Can have a saddle placed and removed from it.
|-
| Chicken
| [[File:ChickenNPC.png]]
| Movable by pushing into it (fix for that coming soon).
|-
| Sheep
| [[File:SheepNPC.png]]
| Movable by pushing into it (fix for that coming soon). Can toggle it as sheared and change its wool color.
|-
| Cow
| [[File:CowNPC.png]]
| Movable by pushing into it (fix for that coming soon).
|-
| Mooshroom
| [[File:MCowNPC.png]]
| Moo-vable by pushing into it (fix for that coming soon).
|-
| Creeper
| [[File:CreeperNPC.png]]
| Movable by pushing into it (fix for that coming soon). Can toggle it as powered.
|-
| Endermen
| [[File:EndermanNPC.png]]
| Movable by pushing into it (fix for that coming soon). Can have its carried material edited.
|-
| Enderdragon
| [[File:EnderdragonNPC.png]]
| Movable by pushing into it (fix for that coming soon). Jumping on top will cause it to spin rapidly. All clients within render distance will see a "Boss Health" bar at the top of their screen (this is not fixable server-side).
|}


{{NavBox}}
''<code>/npc create 'npc name' --type pig -b</code>
 
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