Uses of Enum Class
net.minecraft.network.protocol.PacketFlow
Package
Description
-
Uses of PacketFlow in net.minecraft.network
Modifier and TypeFieldDescriptionprivate final PacketFlow
PacketBundlePacker.flow
private final PacketFlow
PacketBundleUnpacker.flow
private final PacketFlow
PacketDecoder.flow
private final PacketFlow
PacketEncoder.flow
private final PacketFlow
Connection.receiving
Modifier and TypeFieldDescriptionprivate final Map<PacketFlow,
? extends ConnectionProtocol.PacketSet<?>> ConnectionProtocol.flows
(package private) final Map<PacketFlow,
ConnectionProtocol.PacketSet<?>> ConnectionProtocol.ProtocolBuilder.flows
Modifier and TypeMethodDescriptionConnection.getDirection()
Connection.getReceiving()
Connection.getSending()
Modifier and TypeMethodDescription<T extends PacketListener>
ConnectionProtocol.ProtocolBuilderConnectionProtocol.ProtocolBuilder.addFlow
(PacketFlow p_129626_, ConnectionProtocol.PacketSet<T> p_129627_) static void
Connection.configureSerialization
(io.netty.channel.ChannelPipeline p_265436_, PacketFlow p_265104_) Packet<?>
ConnectionProtocol.createPacket
(PacketFlow p_178322_, int p_178323_, FriendlyByteBuf p_178324_) ConnectionProtocol.getBundlerInfo
(PacketFlow p_265790_) int
ConnectionProtocol.getPacketId
(PacketFlow p_265671_, Packet<?> p_265442_) ConnectionProtocol.getPacketsByIds
(PacketFlow p_195621_) ModifierConstructorDescriptionConnection
(PacketFlow p_129482_) PacketBundlePacker
(PacketFlow p_265129_) PacketBundleUnpacker
(PacketFlow p_265529_) PacketDecoder
(PacketFlow p_130533_) PacketEncoder
(PacketFlow p_130543_) -
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, int protocolId, int packetId) Creates an instance of aPacketIdentification
record class. -
Uses of PacketFlow in net.minecraftforge.network.filters
Modifier and TypeMethodDescriptionstatic void
VanillaPacketSplitter.appendPackets
(ConnectionProtocol protocol, PacketFlow direction, Packet<?> packet, List<? super Packet<?>> out) Append the given packet to the given list.