cpw.mods.fml.common.network

## Interface IPacketHandler

- All Known Subinterfaces:
    NetworkMod.NULL
  All Known Implementing Classes:
    ModLoaderPacketHandler

      public interface IPacketHandler

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onPacketData(INetworkManager manager, Packet250CustomPayload packet, Player player)` Recieve a packet from one of the registered channels for this packet handler

- - ### Method Detail

    - #### onPacketData

          void onPacketData(INetworkManager manager,
                          Packet250CustomPayload packet,
                          Player player)

      Recieve a packet from one of the registered channels for this packet handler
      Parameters:
        `manager` - The network manager this packet arrived from
        `packet` - The packet itself
        `player` - A dummy interface representing the player - it can be cast into a real player instance if needed