toPacket

fun toPacket(worldId: Int): OutgoingGameMessage

Turns this npc info structure into a respective npc info packet, depending on the current known view distance.