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.getReceiving()
Connection.getSending()
Modifier and TypeMethodDescriptionConnectionProtocol.ProtocolBuilder.buildCodecs
(ConnectionProtocol p_298845_) Modifier and TypeMethodDescription<T extends PacketListener>
ConnectionProtocol.ProtocolBuilderConnectionProtocol.ProtocolBuilder.addFlow
(PacketFlow p_129626_, ConnectionProtocol.PacketSet<T> p_129627_) ConnectionProtocol.codec
(PacketFlow p_299620_) private static void
Connection.configureInMemoryPacketValidation
(io.netty.channel.ChannelPipeline p_299383_, PacketFlow p_299305_) static void
Connection.configureInMemoryPipeline
(io.netty.channel.ChannelPipeline p_298130_, PacketFlow p_298133_) static void
Connection.configureSerialization
(io.netty.channel.ChannelPipeline p_265436_, PacketFlow p_265104_, BandwidthDebugMonitor p_299297_) ConnectionProtocol.getPacketsByIds
(PacketFlow p_195621_) private static io.netty.util.AttributeKey<ConnectionProtocol.CodecData<?>>
Connection.getProtocolKey
(PacketFlow p_298298_) ModifierConstructorDescriptionCodecData
(ConnectionProtocol p_297463_, PacketFlow p_300073_, ConnectionProtocol.PacketSet<T> p_301410_) 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.minecraftforge.common.util
Modifier and TypeMethodDescriptionprivate void
PacketLogger.common
(PacketFlow side, PacketFlow flow, Packet<?> packet) private static String
PacketLogger.dir
(PacketFlow flow) private static String
PacketLogger.side
(PacketFlow side)