Hi guys , I have some problems with spawning Enderman Entity(I want to spawn Enderman that follows command sender)
There is no AI so, the enderman would just stand there... PHP: $nbt = new Compound("",[ new Enum("Pos",[ new Double("",$player->x), new Double("",$player->y), new Double("",$player->z), ]), new Enum("Motion", [ new Double("",0), new Double("",0), new Double("",0), ]), new Enum("Rotation",[ new Float("",$player->yaw), new Float("",$player->pitch), ]) ]);$level->createEntity("Enderman",$player->chunk, $nbt)->spawnToAll();