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
PacketDecoder.flow
private final PacketFlow
PacketEncoder.flow
private final PacketFlow
Connection.receiving
Fields in net.minecraft.network with type parameters of type PacketFlowModifier and TypeFieldDescriptionprivate final Map<PacketFlow,
? extends ConnectionProtocol.PacketSet<?>> ConnectionProtocol.flows
(package private) final Map<PacketFlow,
ConnectionProtocol.PacketSet<?>> ConnectionProtocol.ProtocolBuilder.flows
Methods in net.minecraft.network that return PacketFlowModifier and TypeMethodDescriptionConnection.getDirection()
Connection.getReceiving()
Connection.getSending()
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_) Packet<?>
ConnectionProtocol.createPacket
(PacketFlow p_178322_, int p_178323_, FriendlyByteBuf p_178324_) ConnectionProtocol.getPacketId
(PacketFlow p_129598_, Packet<?> p_129599_) ConnectionProtocol.getPacketsByIds
(PacketFlow p_195621_) Constructors in net.minecraft.network with parameters of type PacketFlowModifierConstructorDescriptionConnection
(PacketFlow p_129482_) PacketDecoder
(PacketFlow p_130533_) PacketEncoder
(PacketFlow p_130543_) -
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, int protocolId, int packetId) Creates an instance of aPacketIdentification
record class. -
Uses of PacketFlow in net.minecraftforge.network.filters
Methods in net.minecraftforge.network.filters with parameters of type PacketFlowModifier and TypeMethodDescriptionstatic void
VanillaPacketSplitter.appendPackets
(ConnectionProtocol protocol, PacketFlow direction, Packet<?> packet, List<? super Packet<?>> out) Append the given packet to the given list.