cpw.mods.fml.common.modloader

## Class ModLoaderPacketHandler

- java.lang.Object
- - cpw.mods.fml.common.modloader.ModLoaderPacketHandler

- All Implemented Interfaces:
    IPacketHandler

      public class ModLoaderPacketHandler
      extends Object
      implements IPacketHandler

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ModLoaderPacketHandler(BaseModProxy mod)`

  - ### 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

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ModLoaderPacketHandler

          public ModLoaderPacketHandler(BaseModProxy mod)

  - ### Method Detail

    - #### onPacketData

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

      Description copied from interface: `IPacketHandler`
      Recieve a packet from one of the registered channels for this packet handler
      Specified by:
        `onPacketData` in interface `IPacketHandler`
      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