toNpcInfoPacket

fun toNpcInfoPacket(worldId: Int): OutgoingGameMessage

Deprecated

Deprecated. Prefer toPacket(worldId) function instead for consistency.

Replace with

toPacket(worldId)

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