Uses of Enum Class
net.minecraft.network.PacketDirection
Packages that use PacketDirection
-
Uses of PacketDirection in net.minecraft.network
Fields in net.minecraft.network declared as PacketDirectionModifier and TypeFieldDescriptionprivate final PacketDirection
NettyPacketDecoder.flow
private final PacketDirection
NettyPacketEncoder.flow
private final PacketDirection
NetworkManager.receiving
Fields in net.minecraft.network with type parameters of type PacketDirectionModifier and TypeFieldDescriptionprivate final Map<PacketDirection,
? extends ProtocolType.PacketList<?>> ProtocolType.flows
private final Map<PacketDirection,
ProtocolType.PacketList<?>> ProtocolType.PacketRegistry.flows
Methods in net.minecraft.network that return PacketDirectionModifier and TypeMethodDescriptionNetworkManager.getDirection()
static PacketDirection
Returns the enum constant of this class with the specified name.static PacketDirection[]
PacketDirection.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.network with parameters of type PacketDirectionModifier and TypeMethodDescription<T extends INetHandler>
ProtocolType.PacketRegistryProtocolType.PacketRegistry.addFlow
(PacketDirection p_229724_1_, ProtocolType.PacketList<T> p_229724_2_) IPacket<?>
ProtocolType.createPacket
(PacketDirection p_179244_1_, int p_179244_2_) ProtocolType.getPacketId
(PacketDirection p_179246_1_, IPacket<?> p_179246_2_) Constructors in net.minecraft.network with parameters of type PacketDirectionModifierConstructorDescriptionNettyPacketDecoder
(PacketDirection p_i45999_1_) NettyPacketEncoder
(PacketDirection p_i45998_1_) NetworkManager
(PacketDirection p_i46004_1_) -
Uses of PacketDirection in net.minecraftforge.network
Methods in net.minecraftforge.network with parameters of type PacketDirectionModifier and TypeMethodDescriptionstatic void
VanillaPacketSplitter.appendPackets
(ProtocolType protocol, PacketDirection direction, IPacket<?> packet, List<? super IPacket<?>> out) Append the given packet to the given list.