Uses of Enum Class
net.minecraft.network.protocol.PacketFlow
Package
Description
-
Uses of PacketFlow in net.minecraft.network
Modifier and TypeFieldDescriptionprivate final PacketFlow
ConnectionProtocol.CodecData.flow
private final PacketFlow
Connection.receiving
Modifier and TypeFieldDescriptionprivate final Map<PacketFlow,
ConnectionProtocol.CodecData<?>> ConnectionProtocol.flows
private final Map<PacketFlow,
ConnectionProtocol.PacketSet<?>> ConnectionProtocol.ProtocolBuilder.flows
Modifier and TypeMethodDescriptiondefault PacketFlow
ClientboundPacketListener.flow()
ConnectionProtocol.CodecData.flow()
PacketListener.flow()
default PacketFlow
ServerboundPacketListener.flow()
Connection.getDirection()
Connection.getReceiving()
Connection.getSending()
Modifier and TypeMethodDescriptionConnectionProtocol.ProtocolBuilder.buildCodecs
(ConnectionProtocol p_295242_) Modifier and TypeMethodDescription<T extends PacketListener>
ConnectionProtocol.ProtocolBuilderConnectionProtocol.ProtocolBuilder.addFlow
(PacketFlow p_129626_, ConnectionProtocol.PacketSet<T> p_129627_) ConnectionProtocol.codec
(PacketFlow p_295742_) private static void
Connection.configureInMemoryPacketValidation
(io.netty.channel.ChannelPipeline p_294487_, PacketFlow p_296320_) static void
Connection.configureInMemoryPipeline
(io.netty.channel.ChannelPipeline p_295541_, PacketFlow p_294540_) static void
Connection.configureSerialization
(io.netty.channel.ChannelPipeline p_265436_, PacketFlow p_265104_, BandwidthDebugMonitor p_299246_) ConnectionProtocol.getPacketsByIds
(PacketFlow p_195621_) private static io.netty.util.AttributeKey<ConnectionProtocol.CodecData<?>>
Connection.getProtocolKey
(PacketFlow p_294385_) ModifierConstructorDescriptionCodecData
(ConnectionProtocol p_294701_, PacketFlow p_296318_, ConnectionProtocol.PacketSet<T> p_295008_) Connection
(PacketFlow p_129482_) -
Uses of PacketFlow in net.minecraft.network.protocol
Modifier and TypeMethodDescriptionPacketFlow.getOpposite()
static PacketFlow
Returns the enum constant of this class with the specified name.static PacketFlow[]
PacketFlow.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of PacketFlow in net.minecraft.util.profiling.jfr.stats
Modifier and TypeFieldDescriptionprivate final PacketFlow
NetworkPacketSummary.PacketIdentification.direction
The field for thedirection
record component.Modifier and TypeMethodDescriptionNetworkPacketSummary.PacketIdentification.direction()
Returns the value of thedirection
record component.ModifierConstructorDescriptionPacketIdentification
(PacketFlow direction, String protocolId, int packetId) Creates an instance of aPacketIdentification
record class. -
Uses of PacketFlow in net.neoforged.neoforge.network.filters
Modifier and TypeMethodDescriptionstatic void
VanillaPacketSplitter.appendPackets
(ConnectionProtocol protocol, PacketFlow direction, Packet<?> packet, List<? super Packet<?>> out) Append the given packet to the given list.