toPacket

Turns the previously-computed world entity info into a packet instance which can be flushed to the client. If an exception was caught during the computation of this world entity info, it will be thrown in here, allowing the server to properly handle exceptions in a per-player perspective.

Return

the world entity packet instance.