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.common.extensions
Modifier and TypeMethodDescriptiondefault PacketFlow
IPacketFlowExtension.self()
Returns thePacketFlow
this extension is applied to. -
Uses of PacketFlow in net.neoforged.neoforge.network
ModifierConstructorDescriptionPacketDistributor
(BiFunction<PacketDistributor<T>, T, Consumer<Packet<?>>> functor, PacketFlow flow) PacketDistributor
(Function<PacketDistributor<T>, Consumer<Packet<?>>> functor, PacketFlow flow) -
Uses of PacketFlow in net.neoforged.neoforge.network.filters
Modifier and TypeMethodDescriptionprivate static Packet<?>
GenericPacketSplitter.createPacket
(PacketFlow flow, byte[] payload) static int
GenericPacketSplitter.determineMaxPayloadSize
(ConnectionProtocol protocol, PacketFlow flow) private static io.netty.util.AttributeKey<ConnectionProtocol.CodecData<?>>
GenericPacketSplitter.getProtocolKey
(PacketFlow flow) -
Uses of PacketFlow in net.neoforged.neoforge.network.handling
Modifier and TypeFieldDescriptionprivate final PacketFlow
ConfigurationPayloadContext.flow
The field for theflow
record component.private final PacketFlow
PlayPayloadContext.flow
The field for theflow
record component.Modifier and TypeMethodDescriptionConfigurationPayloadContext.flow()
Returns the value of theflow
record component.IPayloadContext.flow()
Returns the flow of the packet.PlayPayloadContext.flow()
Returns the value of theflow
record component.ModifierConstructorDescriptionConfigurationPayloadContext
(IReplyHandler replyHandler, IPacketHandler packetHandler, ITaskCompletedHandler taskCompletedHandler, ISynchronizedWorkHandler workHandler, PacketFlow flow, io.netty.channel.ChannelHandlerContext channelHandlerContext, Optional<Player> player) Creates an instance of aConfigurationPayloadContext
record class.PlayPayloadContext
(IReplyHandler replyHandler, IPacketHandler packetHandler, ISynchronizedWorkHandler workHandler, PacketFlow flow, io.netty.channel.ChannelHandlerContext channelHandlerContext, Optional<Player> player) Creates an instance of aPlayPayloadContext
record class. -
Uses of PacketFlow in net.neoforged.neoforge.network.negotiation
Modifier and TypeFieldDescriptionprivate final Optional<PacketFlow>
NegotiableNetworkComponent.flow
The field for theflow
record component. -
Uses of PacketFlow in net.neoforged.neoforge.network.payload
Modifier and TypeFieldDescriptionprivate final Optional<PacketFlow>
ModdedNetworkQueryComponent.flow
The field for theflow
record component. -
Uses of PacketFlow in net.neoforged.neoforge.network.registration
Modifier and TypeFieldDescriptionprivate static final io.netty.util.AttributeKey<PacketFlow>
NetworkRegistry.ATTRIBUTE_FLOW
private final Optional<PacketFlow>
ConfigurationRegistration.flow
The field for theflow
record component.private final Optional<PacketFlow>
PlayRegistration.flow
The field for theflow
record component.Modifier and TypeMethodDescription(package private) Optional<PacketFlow>
ConfigurationPayloadHandler.flow()
ConfigurationRegistration.flow()
Returns the value of theflow
record component.(package private) Optional<PacketFlow>
PlayPayloadHandler.flow()
PlayRegistration.flow()
Returns the value of theflow
record component.