- packet(PacketContainer) - Method in class com.comphenix.protocol.wrappers.WrappedAttribute.Builder
-
Set the parent update attributes packet (44).
- PACKET_COUNT - Static variable in class com.comphenix.protocol.Packets
-
Deprecated.
The maximum number of unique packet IDs.
- PacketAdapter - Class in com.comphenix.protocol.events
-
Represents a packet listener with useful constructors.
- PacketAdapter(PacketAdapter.AdapterParameteters) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Initialize a packet adapter using a collection of parameters.
- PacketAdapter(Plugin, PacketType...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Initialize a packet listener with the given parameters.
- PacketAdapter(Plugin, Iterable<? extends PacketType>) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Initialize a packet listener with the given parameters.
- PacketAdapter(Plugin, ListenerPriority, Iterable<? extends PacketType>) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Initialize a packet listener with the given parameters.
- PacketAdapter(Plugin, ListenerPriority, Iterable<? extends PacketType>, ListenerOptions...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Initialize a packet listener with the given parameters.
- PacketAdapter(Plugin, ListenerPriority, PacketType...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Initialize a packet listener with the given parameters.
- PacketAdapter(Plugin, ConnectionSide, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Deprecated.
- PacketAdapter(Plugin, ConnectionSide, ListenerPriority, Set<Integer>) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Deprecated.
- PacketAdapter(Plugin, ConnectionSide, GamePhase, Set<Integer>) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Deprecated.
- PacketAdapter(Plugin, ConnectionSide, ListenerPriority, GamePhase, Set<Integer>) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Deprecated.
- PacketAdapter(Plugin, ConnectionSide, ListenerPriority, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Deprecated.
- PacketAdapter(Plugin, ConnectionSide, ListenerOptions[], Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Deprecated.
- PacketAdapter(Plugin, ConnectionSide, GamePhase, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Deprecated.
- PacketAdapter(Plugin, ConnectionSide, ListenerPriority, GamePhase, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Deprecated.
- PacketAdapter(Plugin, ConnectionSide, ListenerPriority, GamePhase, ListenerOptions[], Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Deprecated.
- PacketAdapter.AdapterParameteters - Class in com.comphenix.protocol.events
-
Represents a builder for passing parameters to the packet adapter constructor.
- PacketAdapter.AdapterParameteters() - Constructor for class com.comphenix.protocol.events.PacketAdapter.AdapterParameteters
-
- PacketConstructor - Class in com.comphenix.protocol.injector
-
A packet constructor that uses an internal Minecraft.
- PacketConstructor.Unwrapper - Interface in com.comphenix.protocol.injector
-
Represents a unwrapper for a constructor parameter.
- PacketContainer - Class in com.comphenix.protocol.events
-
Represents a Minecraft packet indirectly.
- PacketContainer(int) - Constructor for class com.comphenix.protocol.events.PacketContainer
-
Deprecated.
- PacketContainer(int, Object) - Constructor for class com.comphenix.protocol.events.PacketContainer
-
Deprecated.
- PacketContainer(int, Object, StructureModifier<Object>) - Constructor for class com.comphenix.protocol.events.PacketContainer
-
Deprecated.
- PacketContainer(PacketType) - Constructor for class com.comphenix.protocol.events.PacketContainer
-
Creates a packet container for a new packet.
- PacketContainer(PacketType, Object) - Constructor for class com.comphenix.protocol.events.PacketContainer
-
Creates a packet container for an existing packet.
- PacketContainer(PacketType, Object, StructureModifier<Object>) - Constructor for class com.comphenix.protocol.events.PacketContainer
-
Creates a packet container for an existing packet.
- PacketContainer() - Constructor for class com.comphenix.protocol.events.PacketContainer
-
For serialization.
- PacketEvent - Class in com.comphenix.protocol.events
-
Represents a packet sending or receiving event.
- PacketEvent(Object) - Constructor for class com.comphenix.protocol.events.PacketEvent
-
Use the static constructors to create instances of this event.
- PacketFilterBuilder - Class in com.comphenix.protocol.injector
-
- PacketFilterBuilder() - Constructor for class com.comphenix.protocol.injector.PacketFilterBuilder
-
- PacketFilterManager - Class in com.comphenix.protocol.injector
-
- PacketFilterManager(PacketFilterBuilder) - Constructor for class com.comphenix.protocol.injector.PacketFilterManager
-
Only create instances of this class if protocol lib is disabled.
- PacketFilterManager.PlayerInjectHooks - Enum in com.comphenix.protocol.injector
-
Sets the inject hook type.
- PacketListener - Interface in com.comphenix.protocol.events
-
Represents a listener that receives notifications when packets are sent or received.
- PacketOutputAdapter - Class in com.comphenix.protocol.events
-
Represents an adapter version of the output handler interface.
- PacketOutputAdapter(Plugin, ListenerPriority) - Constructor for class com.comphenix.protocol.events.PacketOutputAdapter
-
Construct a new packet output adapter with the given values.
- PacketOutputHandler - Interface in com.comphenix.protocol.events
-
Represents a custom packet serializer onto the network stream.
- packets(Integer...) - Method in class com.comphenix.protocol.events.PacketAdapter.AdapterParameteters
-
Deprecated.
- packets(Set<Integer>) - Method in class com.comphenix.protocol.events.PacketAdapter.AdapterParameteters
-
Deprecated.
- Packets - Class in com.comphenix.protocol
-
Deprecated.
- Packets() - Constructor for class com.comphenix.protocol.Packets
-
Deprecated.
- Packets.Client - Class in com.comphenix.protocol
-
Deprecated.
- Packets.Server - Class in com.comphenix.protocol
-
Deprecated.
- PacketStream - Interface in com.comphenix.protocol
-
Represents a object capable of sending or receiving packets.
- PacketType - Class in com.comphenix.protocol
-
Represents the type of a packet in a specific protocol.
- PacketType(PacketType.Protocol, PacketType.Sender, int, int) - Constructor for class com.comphenix.protocol.PacketType
-
Construct a new packet type.
- PacketType(PacketType.Protocol, PacketType.Sender, int, int, MinecraftVersion) - Constructor for class com.comphenix.protocol.PacketType
-
Construct a new packet type.
- PacketType.Handshake - Class in com.comphenix.protocol
-
Packets sent during handshake.
- PacketType.Handshake() - Constructor for class com.comphenix.protocol.PacketType.Handshake
-
- PacketType.Handshake.Client - Class in com.comphenix.protocol
-
Incoming packets.
- PacketType.Handshake.Server - Class in com.comphenix.protocol
-
An empty enum, as the server will not send any packets in this protocol.
- PacketType.Legacy - Class in com.comphenix.protocol
-
Contains every packet Minecraft 1.6.4 packet removed in Minecraft 1.7.2.
- PacketType.Legacy() - Constructor for class com.comphenix.protocol.PacketType.Legacy
-
- PacketType.Legacy.Client - Class in com.comphenix.protocol
-
Incoming packets.
- PacketType.Legacy.Server - Class in com.comphenix.protocol
-
Outgoing packets.
- PacketType.Login - Class in com.comphenix.protocol
-
Packets sent and received when logging in to the server.
- PacketType.Login() - Constructor for class com.comphenix.protocol.PacketType.Login
-
- PacketType.Login.Client - Class in com.comphenix.protocol
-
Incoming packets.
- PacketType.Login.Server - Class in com.comphenix.protocol
-
Outgoing packets.
- PacketType.Play - Class in com.comphenix.protocol
-
Packets sent and received when logged into the game.
- PacketType.Play() - Constructor for class com.comphenix.protocol.PacketType.Play
-
- PacketType.Play.Client - Class in com.comphenix.protocol
-
Incoming packets.
- PacketType.Play.Server - Class in com.comphenix.protocol
-
Outgoing packets.
- PacketType.Protocol - Enum in com.comphenix.protocol
-
Represents the different protocol or connection states.
- PacketType.Sender - Enum in com.comphenix.protocol
-
Represents the sender of this packet type.
- PacketType.Status - Class in com.comphenix.protocol
-
Packets sent and received when querying the server in the multiplayer menu.
- PacketType.Status() - Constructor for class com.comphenix.protocol.PacketType.Status
-
- PacketType.Status.Client - Class in com.comphenix.protocol
-
Incoming packets.
- PacketType.Status.Server - Class in com.comphenix.protocol
-
Outgoing packets.
- PacketTypeSet - Class in com.comphenix.protocol.concurrency
-
Represents a concurrent set of packet types.
- PacketTypeSet() - Constructor for class com.comphenix.protocol.concurrency.PacketTypeSet
-
- PacketTypeSet(Collection<? extends PacketType>) - Constructor for class com.comphenix.protocol.concurrency.PacketTypeSet
-
- parameterCount(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
Set the expected number of parameters in the matching method.
- parameterDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
Add a new required parameter whose type must be a derived class of the given class.
- parameterDerivedOf(Class<?>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
Add a new required parameter whose type must be a derived class of the given class.
- parameterExactArray(Class<?>...) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
Add a new required parameters by type and order for any matching method.
- parameterExactType(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
Add a new required parameter by type for any matching method.
- parameterExactType(Class<?>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
Add a new required parameter by type and position for any matching method.
- parameterMatches(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
Add a new required parameter whose type must match the given class matcher.
- parameterMatches(AbstractFuzzyMatcher<Class<?>>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
Add a new required parameter whose type must match the given class matcher and index.
- parameterSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
Add a new required parameter whose type must be a superclass of the given type.
- parameterSuperOf(Class<?>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
Add a new required parameter whose type must be a superclass of the given type.
- params() - Static method in class com.comphenix.protocol.events.PacketAdapter
-
Construct a helper object for passing parameters to the packet adapter.
- params(Plugin, Integer...) - Static method in class com.comphenix.protocol.events.PacketAdapter
-
Deprecated.
- params(Plugin, PacketType...) - Static method in class com.comphenix.protocol.events.PacketAdapter
-
Construct a helper object for passing parameters to the packet adapter.
- PICKUP_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
-
Deprecated.
- PICKUP_SPAWN - Static variable in class com.comphenix.protocol.PacketType.Legacy.Server
-
Removed in Minecraft 1.4.6.
- PING_TIME - Static variable in class com.comphenix.protocol.Packets.Client
-
Deprecated.
This packet was introduced in 1.7.2.
- PING_TIME - Static variable in class com.comphenix.protocol.Packets.Server
-
Deprecated.
This packet was introduced in 1.7.2.
- PLACE - Static variable in class com.comphenix.protocol.Packets.Client
-
Deprecated.
- PLAY_NOTE_BLOCK - Static variable in class com.comphenix.protocol.Packets.Server
-
Deprecated.
- PLAYER_FLYING - Static variable in class com.comphenix.protocol.PacketType.Legacy.Server
-
- PLAYER_INFO - Static variable in class com.comphenix.protocol.Packets.Server
-
Deprecated.
- PLAYER_INFO - Static variable in class com.comphenix.protocol.PacketType.Play.Server
-
- PLAYER_INPUT - Static variable in class com.comphenix.protocol.Packets.Client
-
Deprecated.
- PLAYER_LOOK - Static variable in class com.comphenix.protocol.Packets.Client
-
Deprecated.
- PLAYER_LOOK - Static variable in class com.comphenix.protocol.Packets.Server
-
Deprecated.
- PLAYER_LOOK_MOVE - Static variable in class com.comphenix.protocol.Packets.Client
-
Deprecated.
- PLAYER_LOOK_MOVE - Static variable in class com.comphenix.protocol.Packets.Server
-
Deprecated.
- PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Client
-
Deprecated.
- PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
-
Deprecated.
- PLAYER_POSITION - Static variable in class com.comphenix.protocol.PacketType.Legacy.Server
-
- PLAYER_POSITON_LOOK - Static variable in class com.comphenix.protocol.PacketType.Legacy.Server
-
- PlayerLoggedOutException - Exception in com.comphenix.protocol.injector
-
Invoked when attempting to use a player that has already logged out.
- PlayerLoggedOutException() - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
-
- PlayerLoggedOutException(String, Throwable) - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
-
- PlayerLoggedOutException(String) - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
-
- PlayerLoggedOutException(Throwable) - Constructor for exception com.comphenix.protocol.injector.PlayerLoggedOutException
-
- plugin(Plugin) - Method in class com.comphenix.protocol.events.PacketAdapter.AdapterParameteters
-
Set the plugin that spawned this listener.
- plugin - Variable in class com.comphenix.protocol.events.PacketAdapter
-
- plugin - Variable in class com.comphenix.protocol.injector.DelayedSingleTask
-
- pluginName - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
- pluginReference - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
- POSITION - Static variable in class com.comphenix.protocol.PacketType.Play.Client
-
- POSITION - Static variable in class com.comphenix.protocol.PacketType.Play.Server
-
- POSITION_LOOK - Static variable in class com.comphenix.protocol.PacketType.Play.Client
-
- prefix - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
- prepareBuild() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
Called before a builder is building a member and copying its state.
- prepareBuild() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
-
- PrettyPrinter - Class in com.comphenix.protocol.reflect
-
Used to print the content of an arbitrary class.
- PrettyPrinter() - Constructor for class com.comphenix.protocol.reflect.PrettyPrinter
-
- PrettyPrinter.ObjectPrinter - Interface in com.comphenix.protocol.reflect
-
Represents a generic object printer.
- PrimitiveGenerator - Class in com.comphenix.protocol.reflect.instances
-
Provides constructors for primtive types, wrappers, arrays and strings.
- PrimitiveGenerator(String) - Constructor for class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
-
- print(StringBuilder, Object) - Method in interface com.comphenix.protocol.reflect.PrettyPrinter.ObjectPrinter
-
Print the content of the given object.
- printObject(Object) - Static method in class com.comphenix.protocol.reflect.PrettyPrinter
-
Print the content of an object.
- printObject(Object, Class<?>, Class<?>) - Static method in class com.comphenix.protocol.reflect.PrettyPrinter
-
Print the content of an object.
- printObject(Object, Class<?>, Class<?>, int) - Static method in class com.comphenix.protocol.reflect.PrettyPrinter
-
Print the content of an object.
- printObject(Object, Class<?>, Class<?>, int, PrettyPrinter.ObjectPrinter) - Static method in class com.comphenix.protocol.reflect.PrettyPrinter
-
Print the content of an object.
- PrioritizedListener<TListener> - Class in com.comphenix.protocol.injector
-
Represents a listener with a priority.
- PrioritizedListener(TListener, ListenerPriority) - Constructor for class com.comphenix.protocol.injector.PrioritizedListener
-
- priority(ListenerPriority) - Method in class com.comphenix.protocol.events.ListeningWhitelist.Builder
-
Set the priority to use when constructing new whitelists.
- ProtocolConfig - Class in com.comphenix.protocol
-
Represents the configuration of ProtocolLib.
- ProtocolConfig(Plugin) - Constructor for class com.comphenix.protocol.ProtocolConfig
-
- ProtocolConfig(Plugin, Configuration) - Constructor for class com.comphenix.protocol.ProtocolConfig
-
- ProtocolLibrary - Class in com.comphenix.protocol
-
The main entry point for ProtocolLib.
- ProtocolLibrary() - Constructor for class com.comphenix.protocol.ProtocolLibrary
-
- ProtocolManager - Interface in com.comphenix.protocol
-
Represents an API for accessing the Minecraft protocol.
- put(int, T) - Method in class com.comphenix.protocol.collections.IntegerMap
-
Associate an integer key with the given value.
- put(TKey, TKey, TValue) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
Associates a given interval of keys with a certain value.
- put(TKey, TValue) - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
-
Associate a given key with the given value.
- put(Player, TValue) - Method in class com.comphenix.protocol.concurrency.ConcurrentPlayerMap
-
- put(Key, VOuter) - Method in class com.comphenix.protocol.wrappers.collection.ConvertedMap
-
- put(NbtBase<T>) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Set a entry based on its name.
- put(String, String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Associate a NBT string value with the given key.
- put(String, NbtBase<?>) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Inserts an entry after cloning it and renaming it to "key".
- put(String, byte) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Associate a NBT byte value with the given key.
- put(String, short) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Associate a NBT short value with the given key.
- put(String, int) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Associate a NBT integer value with the given key.
- put(String, long) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Associate a NBT long value with the given key.
- put(String, float) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Associate a NBT float value with the given key.
- put(String, double) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Associate a NBT double value with the given key.
- put(String, byte[]) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Associate a NBT byte array value with the given key.
- put(String, int[]) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Associate a NBT integer array value with the given key.
- put(NbtCompound) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Associate a NBT compound with its name as key.
- put(NbtList<T>) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Associate a NBT list with the given key.
- put(String, Collection<? extends NbtBase<T>>) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Associate a new NBT list with the given key.
- put(int, Object) - Method in class com.comphenix.protocol.wrappers.WrappedIntHashMap
-
Associates a specified key with the given value in the integer map.
- putAll(AbstractIntervalTree<TKey, TValue>) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
Inserts every range from the given tree into the current tree.
- putAll(Map<? extends Key, ? extends VOuter>) - Method in class com.comphenix.protocol.wrappers.collection.ConvertedMap
-
- putIfAbsent(TKey, TValue) - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
-
If and only if a key is not present in the map will it be associated with the given value.
- putIfAbsent(Player, TValue) - Method in class com.comphenix.protocol.concurrency.ConcurrentPlayerMap
-
- putObject(String, Object) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Associates a given Java primitive value, list, map or NbtBase> with a certain key.