Uses of Enum Class
net.minecraft.network.protocol.PacketFlow
Packages that use PacketFlow
Package
Description
-
Uses of PacketFlow in net.minecraft.network
Fields in net.minecraft.network declared as PacketFlowModifier and TypeFieldDescriptionprivate final PacketFlow
ConnectionProtocol.CodecData.flow
private final PacketFlow
Connection.receiving
Fields in net.minecraft.network with type parameters of type PacketFlowModifier and TypeFieldDescriptionprivate final Map<PacketFlow,
ConnectionProtocol.CodecData<?>> ConnectionProtocol.flows
private final Map<PacketFlow,
ConnectionProtocol.PacketSet<?>> ConnectionProtocol.ProtocolBuilder.flows
Methods in net.minecraft.network that return PacketFlowModifier and TypeMethodDescriptiondefault PacketFlow
ClientboundPacketListener.flow()
ConnectionProtocol.CodecData.flow()
PacketListener.flow()
default PacketFlow
ServerboundPacketListener.flow()
Connection.getDirection()
Connection.getReceiving()
Connection.getSending()
Methods in net.minecraft.network that return types with arguments of type PacketFlowModifier and TypeMethodDescriptionConnectionProtocol.ProtocolBuilder.buildCodecs
(ConnectionProtocol p_295242_) Methods in net.minecraft.network with parameters of type PacketFlowModifier 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_) Constructors in net.minecraft.network with parameters of type PacketFlowModifierConstructorDescriptionCodecData
(ConnectionProtocol p_294701_, PacketFlow p_296318_, ConnectionProtocol.PacketSet<T> p_295008_) Connection
(PacketFlow p_129482_) -
Uses of PacketFlow in net.minecraft.network.protocol
Methods in net.minecraft.network.protocol that return PacketFlowModifier 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
Fields in net.minecraft.util.profiling.jfr.stats declared as PacketFlowModifier and TypeFieldDescriptionprivate final PacketFlow
NetworkPacketSummary.PacketIdentification.direction
The field for thedirection
record component.Methods in net.minecraft.util.profiling.jfr.stats that return PacketFlowModifier and TypeMethodDescriptionNetworkPacketSummary.PacketIdentification.direction()
Returns the value of thedirection
record component.Constructors in net.minecraft.util.profiling.jfr.stats with parameters of type PacketFlowModifierConstructorDescriptionPacketIdentification
(PacketFlow direction, String protocolId, int packetId) Creates an instance of aPacketIdentification
record class. -
Uses of PacketFlow in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return PacketFlowModifier and TypeMethodDescriptiondefault PacketFlow
IPacketFlowExtension.self()
Returns thePacketFlow
this extension is applied to. -
Uses of PacketFlow in net.neoforged.neoforge.network
Fields in net.neoforged.neoforge.network declared as PacketFlowMethods in net.neoforged.neoforge.network that return PacketFlowConstructors in net.neoforged.neoforge.network with parameters of type PacketFlowModifierConstructorDescriptionPacketDistributor
(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
Methods in net.neoforged.neoforge.network.filters with parameters of type PacketFlowModifier 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
Fields in net.neoforged.neoforge.network.handling declared as PacketFlowModifier and TypeFieldDescriptionprivate final PacketFlow
ConfigurationPayloadContext.flow
The field for theflow
record component.private final PacketFlow
PlayPayloadContext.flow
The field for theflow
record component.Methods in net.neoforged.neoforge.network.handling that return PacketFlowModifier 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.Constructors in net.neoforged.neoforge.network.handling with parameters of type PacketFlowModifierConstructorDescriptionConfigurationPayloadContext
(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
Fields in net.neoforged.neoforge.network.negotiation with type parameters of type PacketFlowModifier and TypeFieldDescriptionprivate final Optional<PacketFlow>
NegotiableNetworkComponent.flow
The field for theflow
record component.Methods in net.neoforged.neoforge.network.negotiation that return types with arguments of type PacketFlow -
Uses of PacketFlow in net.neoforged.neoforge.network.payload
Fields in net.neoforged.neoforge.network.payload with type parameters of type PacketFlowModifier and TypeFieldDescriptionprivate final Optional<PacketFlow>
ModdedNetworkQueryComponent.flow
The field for theflow
record component.Methods in net.neoforged.neoforge.network.payload that return types with arguments of type PacketFlow -
Uses of PacketFlow in net.neoforged.neoforge.network.registration
Fields in net.neoforged.neoforge.network.registration with type parameters of type PacketFlowModifier 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.Methods in net.neoforged.neoforge.network.registration that return types with arguments of type PacketFlowModifier 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.