Uses of Enum Class
com.comphenix.protocol.PacketType.Sender
Packages that use PacketType.Sender
Package
Description
Contains classes for retrieving the main ProtocolMananger object.
-
Uses of PacketType.Sender in com.comphenix.protocol
Methods in com.comphenix.protocol that return PacketType.SenderModifier and TypeMethodDescriptionPacketType.getSender()Retrieve which sender will transmit packets of this type.static PacketType.SenderPacketType.Handshake.Client.getSender()static PacketType.SenderPacketType.Handshake.Server.getSender()static PacketType.SenderPacketType.Login.Client.getSender()static PacketType.SenderPacketType.Login.Server.getSender()static PacketType.SenderPacketType.Play.Client.getSender()static PacketType.SenderPacketType.Play.Server.getSender()static PacketType.SenderPacketType.Status.Client.getSender()static PacketType.SenderPacketType.Status.Server.getSender()static PacketType.SenderReturns the enum constant of this class with the specified name.static PacketType.Sender[]PacketType.Sender.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.comphenix.protocol with parameters of type PacketType.SenderModifier and TypeMethodDescriptionstatic PacketTypePacketType.findCurrent(PacketType.Protocol protocol, PacketType.Sender sender, int packetId)Retrieve a packet type from a protocol, sender and packet ID.static PacketTypePacketType.findCurrent(PacketType.Protocol protocol, PacketType.Sender sender, String name)static PacketTypePacketType.findLegacy(int packetId, PacketType.Sender preference)Deprecated.Legacy IDs haven't functioned properly for some timestatic PacketTypePacketType.fromCurrent(PacketType.Protocol protocol, PacketType.Sender sender, int packetId, Class<?> packetClass)Retrieve a packet type from a protocol, sender, ID, and class for 1.8+static PacketTypePacketType.fromID(PacketType.Protocol protocol, PacketType.Sender sender, int packetId, Class<?> packetClass)Retrieve a packet type from a protocol, sender and packet ID, for pre-1.8.static booleanPacketType.hasCurrent(PacketType.Protocol protocol, PacketType.Sender sender, int packetId)Determine if the given packet exists.Constructors in com.comphenix.protocol with parameters of type PacketType.SenderModifierConstructorDescriptionPacketType(PacketType.Protocol protocol, PacketType.Sender sender, int currentId, MinecraftVersion version, String... names)Construct a new packet type.PacketType(PacketType.Protocol protocol, PacketType.Sender sender, int currentId, String... names)Construct a new packet type. -
Uses of PacketType.Sender in com.comphenix.protocol.events
Methods in com.comphenix.protocol.events that return PacketType.Sender -
Uses of PacketType.Sender in com.comphenix.protocol.injector.packet
Methods in com.comphenix.protocol.injector.packet with parameters of type PacketType.SenderModifier and TypeMethodDescriptionprotected static voidPacketRegistry.associatePackets(PacketRegistry.Register register, Map<Integer,Class<?>> lookup, PacketType.Protocol protocol, PacketType.Sender sender)static PacketTypePacketRegistry.getPacketType(Class<?> packet, PacketType.Sender sender)Deprecated.sender no longer has any effectvoidPacketRegistry.Register.registerPacket(PacketType type, Class<?> clazz, PacketType.Sender sender)