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.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 p_295541_, PacketFlow p_294540_) static voidConnection.configureSerialization(io.netty.channel.ChannelPipeline p_265436_, PacketFlow p_265104_, boolean p_341592_, BandwidthDebugMonitor p_299246_) Constructors in net.minecraft.network with parameters of type PacketFlow -
Uses of PacketFlow in net.minecraft.network.protocol
Fields 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 <L extends PacketListener>
ProtocolInfo<L> ProtocolInfoBuilder.protocol(ConnectionProtocol p_319927_, PacketFlow p_320658_, Consumer<ProtocolInfoBuilder<L, FriendlyByteBuf>> p_320484_) private static <L extends PacketListener,B extends io.netty.buffer.ByteBuf>
ProtocolInfo.Unbound<L, B> ProtocolInfoBuilder.protocolUnbound(ConnectionProtocol p_320849_, PacketFlow p_320146_, Consumer<ProtocolInfoBuilder<L, B>> p_320140_) Constructors in net.minecraft.network.protocol with parameters of type PacketFlowModifierConstructorDescription(package private)Implementation(ConnectionProtocol id, PacketFlow flow, StreamCodec<io.netty.buffer.ByteBuf, Packet<? super L>> codec, BundlerInfo bundlerInfo) Creates an instance of aImplementationrecord class.PacketType(PacketFlow flow, ResourceLocation id) Creates an instance of aPacketTyperecord class.ProtocolCodecBuilder(PacketFlow p_320925_) ProtocolInfoBuilder(ConnectionProtocol p_320213_, PacketFlow p_320424_) -
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> p_319839_, List<CustomPacketPayload.TypeAndCodec<? super B, ?>> p_320495_, ConnectionProtocol protocol, PacketFlow 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(ResourceLocation 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(ResourceLocation 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 static final io.netty.util.AttributeKey<PacketFlow> NetworkRegistry.ATTRIBUTE_FLOWprivate 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(ResourceLocation id, ConnectionProtocol protocol, PacketFlow flow) Attempts to retrieve theStreamCodecfor a non-vanilla payload.static Set<ResourceLocation> NetworkRegistry.getInitialListeningChannels(PacketFlow flow) Returns the initial channels for the configuration phase..private static booleanNetworkRegistry.hasAdhocChannel(ConnectionProtocol protocol, ResourceLocation 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.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, IPayloadHandler<T> handler, 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, IPayloadHandler<T> handler, 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, IPayloadHandler<T> handler, List<ConnectionProtocol> protocols, Optional<PacketFlow> flow, String version, boolean optional) Creates an instance of aPayloadRegistrationrecord class.