| Package | Description | 
|---|---|
| net.minecraft.network | 
| Modifier and Type | Field and Description | 
|---|---|
| private EnumPacketDirection | NettyPacketDecoder. direction | 
| private EnumPacketDirection | NettyPacketEncoder. direction | 
| private EnumPacketDirection | NetworkManager. direction | 
| Modifier and Type | Field and Description | 
|---|---|
| private java.util.Map<EnumPacketDirection,com.google.common.collect.BiMap<java.lang.Integer,java.lang.Class<? extends Packet<?>>>> | EnumConnectionState. directionMaps | 
| Modifier and Type | Method and Description | 
|---|---|
| EnumPacketDirection | NetworkManager. getDirection() | 
| static EnumPacketDirection | EnumPacketDirection. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static EnumPacketDirection[] | EnumPacketDirection. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| Packet<?> | EnumConnectionState. getPacket(EnumPacketDirection direction,
         int packetId) | 
| java.lang.Integer | EnumConnectionState. getPacketId(EnumPacketDirection direction,
           Packet<?> packetIn) | 
| protected EnumConnectionState | EnumConnectionState. registerPacket(EnumPacketDirection direction,
              java.lang.Class<? extends Packet<?>> packetClass) | 
| Constructor and Description | 
|---|
| NettyPacketDecoder(EnumPacketDirection direction) | 
| NettyPacketEncoder(EnumPacketDirection direction) | 
| NetworkManager(EnumPacketDirection packetDirection) |