## Uses of Class
net.minecraft.network.packet.Packet

- Packages that use Packet
  Package | Description
  --- | ---
  cpw.mods.fml.client |
  cpw.mods.fml.common |
  cpw.mods.fml.common.network |
  cpw.mods.fml.server |
  net.minecraft.client.multiplayer |
  net.minecraft.entity |
  net.minecraft.item |
  net.minecraft.network |
  net.minecraft.network.packet |
  net.minecraft.server.management |
  net.minecraft.src |
  net.minecraft.tileentity |

- - ### Uses of Packet in cpw.mods.fml.client

    Methods in cpw.mods.fml.client with parameters of type Packet
    Modifier and Type | Method and Description
    --- | ---
    `void` | FMLClientHandler.`sendPacket(Packet packet)`

  - ### Uses of Packet in cpw.mods.fml.common

    Methods in cpw.mods.fml.common with parameters of type Packet
    Modifier and Type | Method and Description
    --- | ---
    `void` | IFMLSidedHandler.`sendPacket(Packet packet)`

  - ### Uses of Packet in cpw.mods.fml.common.network

    Methods in cpw.mods.fml.common.network that return Packet
    Modifier and Type | Method and Description
    --- | ---
    `static Packet` | FMLNetworkHandler.`getEntitySpawningPacket(Entity entity)`

    Methods in cpw.mods.fml.common.network with parameters of type Packet
    Modifier and Type | Method and Description
    --- | ---
    `static void` | PacketDispatcher.`sendPacketToAllAround(double X, double Y, double Z, double range, int dimensionId, Packet packet)`
    `static void` | PacketDispatcher.`sendPacketToAllInDimension(Packet packet, int dimId)`
    `static void` | PacketDispatcher.`sendPacketToAllPlayers(Packet packet)`
    `static void` | PacketDispatcher.`sendPacketToPlayer(Packet packet, Player player)`
    `static void` | PacketDispatcher.`sendPacketToServer(Packet packet)`

  - ### Uses of Packet in cpw.mods.fml.server

    Methods in cpw.mods.fml.server with parameters of type Packet
    Modifier and Type | Method and Description
    --- | ---
    `void` | FMLServerHandler.`sendPacket(Packet packet)`

  - ### Uses of Packet in net.minecraft.client.multiplayer

    Methods in net.minecraft.client.multiplayer with parameters of type Packet
    Modifier and Type | Method and Description
    --- | ---
    `void` | NetClientHandler.`addToSendQueue(Packet par1Packet)` Adds the packet to the send queue
    `void` | NetClientHandler.`quitWithPacket(Packet par1Packet)`

  - ### Uses of Packet in net.minecraft.entity

    Methods in net.minecraft.entity with parameters of type Packet
    Modifier and Type | Method and Description
    --- | ---
    `void` | EntityTracker.`sendPacketToAllAssociatedPlayers(Entity par1Entity, Packet par2Packet)` sends to the entity if the entity is a player
    `void` | EntityTrackerEntry.`sendPacketToAllAssociatedPlayers(Packet par1Packet)` if this is a player, then it recieves the message also
    `void` | EntityTracker.`sendPacketToAllPlayersTrackingEntity(Entity par1Entity, Packet par2Packet)` does not send the packet to the entity if the entity is a player
    `void` | EntityTrackerEntry.`sendPacketToAllTrackingPlayers(Packet par1Packet)` if this is a player, then it is not informed

  - ### Uses of Packet in net.minecraft.item

    Methods in net.minecraft.item that return Packet
    Modifier and Type | Method and Description
    --- | ---
    `Packet` | ItemMapBase.`createMapDataPacket(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)` returns null if no update is to be sent
    `Packet` | ItemMap.`createMapDataPacket(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)` returns null if no update is to be sent

  - ### Uses of Packet in net.minecraft.network

    Methods in net.minecraft.network with parameters of type Packet
    Modifier and Type | Method and Description
    --- | ---
    `void` | TcpConnection.`addToSendQueue(Packet par1Packet)` Adds the packet to the correct send queue (chunk data packets go to a separate queue).
    `void` | MemoryConnection.`addToSendQueue(Packet par1Packet)` Adds the packet to the correct send queue (chunk data packets go to a separate queue).
    `void` | INetworkManager.`addToSendQueue(Packet packet)` Adds the packet to the correct send queue (chunk data packets go to a separate queue).
    `void` | MemoryConnection.`processOrCachePacket(Packet par1Packet)` acts immiditally if isWritePacket, otherwise adds it to the readCache to be processed next tick
    `void` | NetServerHandler.`sendPacketToPlayer(Packet par1Packet)` addToSendQueue.
    `void` | NetServerHandler.`unexpectedPacket(Packet par1Packet)` Default handler called for packets that don't have their own handlers in NetClientHandler; currentlly does nothing.
    `void` | NetLoginHandler.`unexpectedPacket(Packet par1Packet)` Default handler called for packets that don't have their own handlers in NetClientHandler; currentlly does nothing.

  - ### Uses of Packet in net.minecraft.network.packet

    Subclasses of Packet in net.minecraft.network.packet
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Packet0KeepAlive`
    `class` | `Packet100OpenWindow`
    `class` | `Packet101CloseWindow`
    `class` | `Packet102WindowClick`
    `class` | `Packet103SetSlot`
    `class` | `Packet104WindowItems`
    `class` | `Packet105UpdateProgressbar`
    `class` | `Packet106Transaction`
    `class` | `Packet107CreativeSetSlot`
    `class` | `Packet108EnchantItem`
    `class` | `Packet10Flying`
    `class` | `Packet11PlayerPosition`
    `class` | `Packet12PlayerLook`
    `class` | `Packet130UpdateSign`
    `class` | `Packet131MapData`
    `class` | `Packet132TileEntityData`
    `class` | `Packet133TileEditorOpen`
    `class` | `Packet13PlayerLookMove`
    `class` | `Packet14BlockDig`
    `class` | `Packet15Place`
    `class` | `Packet16BlockItemSwitch`
    `class` | `Packet17Sleep`
    `class` | `Packet18Animation`
    `class` | `Packet19EntityAction`
    `class` | `Packet1Login`
    `class` | `Packet200Statistic`
    `class` | `Packet201PlayerInfo`
    `class` | `Packet202PlayerAbilities`
    `class` | `Packet203AutoComplete`
    `class` | `Packet204ClientInfo`
    `class` | `Packet205ClientCommand`
    `class` | `Packet206SetObjective`
    `class` | `Packet207SetScore`
    `class` | `Packet208SetDisplayObjective`
    `class` | `Packet209SetPlayerTeam`
    `class` | `Packet20NamedEntitySpawn`
    `class` | `Packet22Collect`
    `class` | `Packet23VehicleSpawn`
    `class` | `Packet24MobSpawn`
    `class` | `Packet250CustomPayload`
    `class` | `Packet252SharedKey`
    `class` | `Packet253ServerAuthData`
    `class` | `Packet254ServerPing`
    `class` | `Packet255KickDisconnect`
    `class` | `Packet25EntityPainting`
    `class` | `Packet26EntityExpOrb`
    `class` | `Packet27PlayerInput`
    `class` | `Packet28EntityVelocity`
    `class` | `Packet29DestroyEntity`
    `class` | `Packet2ClientProtocol`
    `class` | `Packet30Entity`
    `class` | `Packet31RelEntityMove`
    `class` | `Packet32EntityLook`
    `class` | `Packet33RelEntityMoveLook`
    `class` | `Packet34EntityTeleport`
    `class` | `Packet35EntityHeadRotation`
    `class` | `Packet38EntityStatus`
    `class` | `Packet39AttachEntity`
    `class` | `Packet3Chat`
    `class` | `Packet40EntityMetadata`
    `class` | `Packet41EntityEffect`
    `class` | `Packet42RemoveEntityEffect`
    `class` | `Packet43Experience`
    `class` | `Packet44UpdateAttributes`
    `class` | `Packet4UpdateTime`
    `class` | `Packet51MapChunk`
    `class` | `Packet52MultiBlockChange`
    `class` | `Packet53BlockChange`
    `class` | `Packet54PlayNoteBlock`
    `class` | `Packet55BlockDestroy`
    `class` | `Packet56MapChunks`
    `class` | `Packet5PlayerInventory`
    `class` | `Packet60Explosion`
    `class` | `Packet61DoorChange`
    `class` | `Packet62LevelSound`
    `class` | `Packet63WorldParticles`
    `class` | `Packet6SpawnPosition`
    `class` | `Packet70GameEvent`
    `class` | `Packet71Weather`
    `class` | `Packet7UseEntity`
    `class` | `Packet8UpdateHealth`
    `class` | `Packet9Respawn`

    Methods in net.minecraft.network.packet that return Packet
    Modifier and Type | Method and Description
    --- | ---
    `static Packet` | Packet.`getNewPacket(ILogAgent par0ILogAgent, int par1)` Returns a new instance of the specified Packet class.
    `static Packet` | Packet.`readPacket(ILogAgent par0ILogAgent, DataInput par1DataInput, boolean par2, Socket par3Socket)` Read a packet, prefixed by its ID, from the data stream.

    Methods in net.minecraft.network.packet with parameters of type Packet
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | Packet6SpawnPosition.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet8UpdateHealth.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet203AutoComplete.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet35EntityHeadRotation.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet10Flying.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet4UpdateTime.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet204ClientInfo.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet0KeepAlive.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet202PlayerAbilities.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet34EntityTeleport.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet28EntityVelocity.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet55BlockDestroy.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet255KickDisconnect.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet5PlayerInventory.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet16BlockItemSwitch.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet41EntityEffect.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet39AttachEntity.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet43Experience.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `boolean` | Packet30Entity.`containsSameEntityIDAs(Packet par1Packet)` eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet class
    `void` | NetHandler.`unexpectedPacket(Packet par1Packet)` Default handler called for packets that don't have their own handlers in NetClientHandler; currentlly does nothing.
    `static void` | Packet.`writePacket(Packet par0Packet, DataOutput par1DataOutput)` Writes a packet, prefixed by its ID, to the data stream.

  - ### Uses of Packet in net.minecraft.server.management

    Methods in net.minecraft.server.management with parameters of type Packet
    Modifier and Type | Method and Description
    --- | ---
    `void` | ServerConfigurationManager.`sendPacketToAllPlayers(Packet par1Packet)` sends a packet to all players
    `void` | ServerConfigurationManager.`sendPacketToAllPlayersInDimension(Packet par1Packet, int par2)` Sends a packet to all players in the specified Dimension
    `void` | ServerConfigurationManager.`sendToAllNear(double par1, double par3, double par5, double par7, int par9, Packet par10Packet)` params: x,y,z,d,dimension.
    `void` | ServerConfigurationManager.`sendToAllNearExcept(EntityPlayer par1EntityPlayer, double par2, double par4, double par6, double par8, int par10, Packet par11Packet)` params: srcPlayer,x,y,z,d,dimension.
    `void` | PlayerInstance.`sendToAllPlayersWatchingChunk(Packet par1Packet)`

  - ### Uses of Packet in net.minecraft.src

    Methods in net.minecraft.src with parameters of type Packet
    Modifier and Type | Method and Description
    --- | ---
    `static void` | ModLoader.`clientSendPacket(Packet packet)` Send a packet from the client
    `static void` | ModLoader.`sendPacket(Packet packet)` Send a packet from client to server
    `static void` | ModLoader.`serverSendPacket(NetServerHandler handler, Packet packet)`

  - ### Uses of Packet in net.minecraft.tileentity

    Methods in net.minecraft.tileentity that return Packet
    Modifier and Type | Method and Description
    --- | ---
    `Packet` | TileEntitySign.`getDescriptionPacket()` Overriden in a sign to provide the text.
    `Packet` | TileEntity.`getDescriptionPacket()` Overriden in a sign to provide the text.
    `Packet` | TileEntitySkull.`getDescriptionPacket()` Overriden in a sign to provide the text.
    `Packet` | TileEntityBeacon.`getDescriptionPacket()` Overriden in a sign to provide the text.
    `Packet` | TileEntityMobSpawner.`getDescriptionPacket()` Overriden in a sign to provide the text.
    `Packet` | TileEntityCommandBlock.`getDescriptionPacket()` Overriden in a sign to provide the text.