def register_packet_listener(self, method, *args):
        self.packet_listeners.append(packets.PacketListener(method, *args))
Registers a listener method which will be notified when a packet of
dataset/ETHPy150Open ammaraskar/pyCraft/minecraft/networking/connection.py/Connection.register_packet_listener