Uses of Enum Class
net.minecraft.network.PacketDirection
-
Uses of PacketDirection in net.minecraft.network
Modifier and TypeFieldDescriptionprivate final PacketDirection
NettyPacketDecoder.flow
private final PacketDirection
NettyPacketEncoder.flow
private final PacketDirection
NetworkManager.receiving
Modifier and TypeFieldDescriptionprivate final Map<PacketDirection,
? extends ProtocolType.PacketList<?>> ProtocolType.flows
private final Map<PacketDirection,
ProtocolType.PacketList<?>> ProtocolType.PacketRegistry.flows
Modifier and TypeMethodDescriptionNetworkManager.getDirection()
static PacketDirection
Returns the enum constant of this class with the specified name.static PacketDirection[]
PacketDirection.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescription<T extends INetHandler>
ProtocolType.PacketRegistryProtocolType.PacketRegistry.addFlow
(PacketDirection p_229724_1_, ProtocolType.PacketList<T> p_229724_2_) IPacket<?>
ProtocolType.createPacket
(PacketDirection p_179244_1_, int p_179244_2_) ProtocolType.getPacketId
(PacketDirection p_179246_1_, IPacket<?> p_179246_2_) ModifierConstructorDescriptionNettyPacketDecoder
(PacketDirection p_i45999_1_) NettyPacketEncoder
(PacketDirection p_i45998_1_) NetworkManager
(PacketDirection p_i46004_1_) -
Uses of PacketDirection in net.minecraftforge.network
Modifier and TypeMethodDescriptionstatic void
VanillaPacketSplitter.appendPackets
(ProtocolType protocol, PacketDirection direction, IPacket<?> packet, List<? super IPacket<?>> out) Append the given packet to the given list.