Package | Description |
---|---|
net.minecraft.network |
Modifier and Type | Field and Description |
---|---|
private PacketDirection |
NettyPacketDecoder.direction |
private PacketDirection |
NettyPacketEncoder.direction |
private PacketDirection |
NetworkManager.direction |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<PacketDirection,? extends ProtocolType.PacketList<?>> |
ProtocolType.field_229711_h_ |
private java.util.Map<PacketDirection,ProtocolType.PacketList<?>> |
ProtocolType.PacketRegistry.field_229722_a_ |
Modifier and Type | Method and Description |
---|---|
PacketDirection |
NetworkManager.getDirection() |
static PacketDirection |
PacketDirection.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PacketDirection[] |
PacketDirection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
<T extends INetHandler> |
ProtocolType.PacketRegistry.func_229724_a_(PacketDirection p_229724_1_,
ProtocolType.PacketList<T> p_229724_2_) |
IPacket<?> |
ProtocolType.getPacket(PacketDirection direction,
int packetId) |
java.lang.Integer |
ProtocolType.getPacketId(PacketDirection direction,
IPacket<?> packetIn) |
Constructor and Description |
---|
NettyPacketDecoder(PacketDirection direction) |
NettyPacketEncoder(PacketDirection direction) |
NetworkManager(PacketDirection packetDirection) |