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 PacketFlowMethods in net.minecraft.network that return PacketFlowModifier and TypeMethodDescriptiondefault PacketFlowClientboundPacketListener.flow()PacketListener.flow()ProtocolInfo.Details.flow()ProtocolInfo.flow()default PacketFlowServerboundPacketListener.flow()Connection.getDirection()Connection.getReceiving()Connection.getSending()Methods in net.minecraft.network with parameters of type PacketFlowModifier and TypeMethodDescriptionstatic voidConnection.configureInMemoryPipeline(io.netty.channel.ChannelPipeline pipeline, PacketFlow packetFlow) static voidConnection.configureSerialization(io.netty.channel.ChannelPipeline pipeline, PacketFlow inboundDirection, boolean local, @Nullable BandwidthDebugMonitor monitor) Constructors in net.minecraft.network with parameters of type PacketFlow -
Uses of PacketFlow in net.minecraft.network.protocol
Subclasses with type arguments of type PacketFlow in net.minecraft.network.protocolFields in net.minecraft.network.protocol declared as PacketFlowModifier and TypeFieldDescriptionprivate final PacketFlowPacketType.flowThe field for theflowrecord component.private final PacketFlowProtocolCodecBuilder.flowprivate final PacketFlowProtocolInfoBuilder.flowprivate final PacketFlowProtocolInfoBuilder.Implementation.flowThe field for theflowrecord component.Methods in net.minecraft.network.protocol that return PacketFlowModifier and TypeMethodDescriptionPacketType.flow()Returns the value of theflowrecord component.ProtocolInfoBuilder.Implementation.flow()Returns the value of theflowrecord component.PacketFlow.getOpposite()static PacketFlowReturns 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.Methods in net.minecraft.network.protocol with parameters of type PacketFlowModifier and TypeMethodDescriptionprivate static ProtocolInfo.DetailsProtocolInfoBuilder.buildDetails(ConnectionProtocol protocol, PacketFlow flow, List<? extends ProtocolInfoBuilder.CodecEntry<?, ?, ?, ?>> codecs) private static <L extends PacketListener, B extends io.netty.buffer.ByteBuf, C>
UnboundProtocol<L, B, C> ProtocolInfoBuilder.contextProtocol(ConnectionProtocol id, PacketFlow flow, Consumer<ProtocolInfoBuilder<L, B, C>> config) private static <L extends PacketListener, B extends io.netty.buffer.ByteBuf>
SimpleUnboundProtocol<L, B> ProtocolInfoBuilder.protocol(ConnectionProtocol id, PacketFlow flow, Consumer<ProtocolInfoBuilder<L, B, Unit>> config) Constructors in net.minecraft.network.protocol with parameters of type PacketFlowModifierConstructorDescriptionprivateImplementation(ConnectionProtocol id, PacketFlow flow, StreamCodec<io.netty.buffer.ByteBuf, Packet<? super L>> codec, @Nullable BundlerInfo bundlerInfo) Creates an instance of aImplementationrecord class.PacketType(PacketFlow flow, Identifier id) Creates an instance of aPacketTyperecord class.ProtocolInfoBuilder(ConnectionProtocol protocol, PacketFlow flow) -
Uses of PacketFlow in net.minecraft.network.protocol.common.custom
Methods in net.minecraft.network.protocol.common.custom with parameters of type PacketFlowModifier and TypeMethodDescriptionstatic <B extends FriendlyByteBuf>
StreamCodec<B, CustomPacketPayload> CustomPacketPayload.codec(CustomPacketPayload.FallbackProvider<B> fallback, List<CustomPacketPayload.TypeAndCodec<? super B, ?>> types, ConnectionProtocol protocol, PacketFlow packetFlow) -
Uses of PacketFlow in net.neoforged.neoforge.client.network.handling
Methods in net.neoforged.neoforge.client.network.handling that return PacketFlow -
Uses of PacketFlow in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return PacketFlowModifier and TypeMethodDescriptiondefault PacketFlowIPacketFlowExtension.self()Returns thePacketFlowthis extension is applied to. -
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) -
Uses of PacketFlow in net.neoforged.neoforge.network.handling
Methods in net.neoforged.neoforge.network.handling that return PacketFlow -
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.flowThe field for theflowrecord component.Methods in net.neoforged.neoforge.network.negotiation that return types with arguments of type PacketFlowModifier and TypeMethodDescriptionNegotiableNetworkComponent.flow()Returns the value of theflowrecord component.Constructor parameters in net.neoforged.neoforge.network.negotiation with type arguments of type PacketFlowModifierConstructorDescriptionNegotiableNetworkComponent(Identifier id, String version, Optional<PacketFlow> flow, boolean optional) Creates an instance of aNegotiableNetworkComponentrecord class. -
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.flowThe field for theflowrecord component.Methods in net.neoforged.neoforge.network.payload that return types with arguments of type PacketFlowModifier and TypeMethodDescriptionModdedNetworkQueryComponent.flow()Returns the value of theflowrecord component.Constructor parameters in net.neoforged.neoforge.network.payload with type arguments of type PacketFlowModifierConstructorDescriptionModdedNetworkQueryComponent(Identifier id, String version, Optional<PacketFlow> flow, boolean optional) Creates an instance of aModdedNetworkQueryComponentrecord class. -
Uses of PacketFlow in net.neoforged.neoforge.network.registration
Fields in net.neoforged.neoforge.network.registration with type parameters of type PacketFlowModifier and TypeFieldDescriptionprivate final Optional<PacketFlow> PayloadRegistration.flowThe field for theflowrecord component.Methods in net.neoforged.neoforge.network.registration that return types with arguments of type PacketFlowModifier and TypeMethodDescriptionPayloadRegistration.flow()Returns the value of theflowrecord component.Methods in net.neoforged.neoforge.network.registration with parameters of type PacketFlowModifier and TypeMethodDescriptionstatic @Nullable StreamCodec<? super FriendlyByteBuf, ? extends CustomPacketPayload> NetworkRegistry.getCodec(Identifier id, ConnectionProtocol protocol, PacketFlow flow) Attempts to retrieve theStreamCodecfor a non-vanilla payload.static Set<Identifier> NetworkRegistry.getCommonPlayChannels(PacketFlow flow) static Set<Identifier> NetworkRegistry.getInitialListeningChannels(PacketFlow flow) Returns the initial channels for the configuration phase..protected static booleanNetworkRegistry.hasAdhocChannel(ConnectionProtocol protocol, Identifier id, PacketFlow flow) Checks if a given payload is ad-hoc readable, that is, may be read without a negotiated channel being present.booleanPayloadRegistration.matchesFlow(PacketFlow flow) Returns true if the registered flow is compatible with the passed flow.protected static <T extends CustomPacketPayload>
voidNetworkRegistry.registerHandler(Map<ConnectionProtocol, Map<Identifier, IPayloadHandler<?>>> handlers, ConnectionProtocol protocol, PacketFlow flow, CustomPacketPayload.Type<T> type, IPayloadHandler<T> handler) Method parameters in net.neoforged.neoforge.network.registration with type arguments of type PacketFlowModifier and TypeMethodDescriptionstatic <T extends CustomPacketPayload, B extends FriendlyByteBuf>
voidNetworkRegistry.register(CustomPacketPayload.Type<T> type, StreamCodec<? super B, T> codec, @Nullable IPayloadHandler<T> serverHandler, @Nullable IPayloadHandler<T> clientHandler, List<ConnectionProtocol> protocols, Optional<PacketFlow> flow, String version, boolean optional) Registers a new payload.private <T extends CustomPacketPayload, B extends FriendlyByteBuf>
voidPayloadRegistrar.register(CustomPacketPayload.Type<T> type, StreamCodec<? super B, T> codec, @Nullable IPayloadHandler<T> serverHandler, @Nullable IPayloadHandler<T> clientHandler, List<ConnectionProtocol> protocols, Optional<PacketFlow> flow, String version, boolean optional) Constructor parameters in net.neoforged.neoforge.network.registration with type arguments of type PacketFlowModifierConstructorDescriptionPayloadRegistration(CustomPacketPayload.Type<T> type, StreamCodec<? super RegistryFriendlyByteBuf, T> codec, List<ConnectionProtocol> protocols, Optional<PacketFlow> flow, String version, boolean optional) Creates an instance of aPayloadRegistrationrecord class.