Uses of Class
net.minecraft.network.PacketDirection
-
Packages that use PacketDirection Package Description net.minecraft.network net.minecraftforge.network -
-
Uses of PacketDirection in net.minecraft.network
Fields in net.minecraft.network declared as PacketDirection Modifier and Type Field Description private PacketDirectionNettyPacketDecoder. flowprivate PacketDirectionNettyPacketEncoder. flowprivate PacketDirectionNetworkManager. receivingFields in net.minecraft.network with type parameters of type PacketDirection Modifier and Type Field Description private java.util.Map<PacketDirection,? extends ProtocolType.PacketList<?>>ProtocolType. flowsprivate java.util.Map<PacketDirection,ProtocolType.PacketList<?>>ProtocolType.PacketRegistry. flowsMethods in net.minecraft.network that return PacketDirection Modifier and Type Method Description PacketDirectionNetworkManager. getDirection()static PacketDirectionPacketDirection. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PacketDirection[]PacketDirection. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.network with parameters of type PacketDirection Modifier and Type Method Description <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_)java.lang.IntegerProtocolType. getPacketId(PacketDirection p_179246_1_, IPacket<?> p_179246_2_)Constructors in net.minecraft.network with parameters of type PacketDirection Constructor Description NettyPacketDecoder(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 PacketDirection Modifier and Type Method Description static voidVanillaPacketSplitter. appendPackets(ProtocolType protocol, PacketDirection direction, IPacket<?> packet, java.util.List<? super IPacket<?>> out)Append the given packet to the given list.
-