1、这里代码版本为1.11-1.12.2,一个生成小僵尸的刷怪蛋

2、/give @p minecraft:spawn_egg 1 0 {EntityTag:{id:minecraft:zombie,CustomName:可爱的僵尸吧,CustomNameVisible:true,CanPickUpLoot:false,PersistenceRequired:false,Health:1,IsBaby:true,CanBreakDoors:false,ConversionTime:false,Attributes:[{Name:generic.maxHealth,base:1d}]}}