/npc create 'npc name' --type pig -b
这个指令会创建出一只小猪. 删掉 -b 则为成年生物.
/npc type pig
|ENDERMAN-末影人||文件:EndermanNPC.png||Can have its carried material edited.|
|ENDER_DRAGON-末影龙||文件:EnderdragonNPC.png||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).|
|PIG||文件:PigNPC.png||Can have a saddle placed and removed from it.|
|PLAYER||文件:PlayerNPC.png||Name that is assigned is placed above its head, and it has a 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).|
|SHEEP||文件:SheepNPC.png||Can toggle it as sheared and change its wool color.|
|VILLAGER||文件:VillagerNPC.png||Can set profession with /npc profession|
|ZOMBIE||文件:Zombie.png||Can be made into a zombie villager / baby using the /npc zombiemod -b(aby) -v(illager) command.|
Known Bugs with Mob NPCs
- Some can be pushed by walking into them. This is a clientside effect, and will reset on relog.
- Some wander around on their own. Please report this.
- Some will not move at all. Please report this.