- PacketAdapter - Class in com.comphenix.protocol.events
-
Represents a packet listener with useful constructors.
- PacketAdapter(Plugin, ConnectionSide, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Initialize a packet listener with default priority.
- PacketAdapter(Plugin, ConnectionSide, ListenerPriority, Set<Integer>) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Initialize a packet listener for a single connection side.
- PacketAdapter(Plugin, ConnectionSide, GamePhase, Set<Integer>) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Initialize a packet listener for a single connection side.
- PacketAdapter(Plugin, ConnectionSide, ListenerPriority, GamePhase, Set<Integer>) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Initialize a packet listener for a single connection side.
- PacketAdapter(Plugin, ConnectionSide, ListenerPriority, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Initialize a packet listener for a single connection side.
- PacketAdapter(Plugin, ConnectionSide, GamePhase, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Initialize a packet listener for a single connection side.
- PacketAdapter(Plugin, ConnectionSide, ListenerPriority, GamePhase, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
Initialize a packet listener for a single connection side.
- 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
-
Creates a packet container for a new packet.
- PacketContainer(int, Object) - Constructor for class com.comphenix.protocol.events.PacketContainer
-
Creates a packet container for an existing packet.
- PacketContainer(int, 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
-
- PacketEvent(Object) - Constructor for class com.comphenix.protocol.events.PacketEvent
-
Use the static constructors to create instances of this event.
- PacketFilterManager - Class in com.comphenix.protocol.injector
-
- PacketFilterManager(ClassLoader, Server, DelayedSingleTask, ErrorReporter) - 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 recieves notifications when packets are sent or recieved.
- Packets - Class in com.comphenix.protocol
-
List of known packet IDs since 1.3.2.
- Packets() - Constructor for class com.comphenix.protocol.Packets
-
- Packets.Client - Class in com.comphenix.protocol
-
List of packets sent by the client.
- Packets.Server - Class in com.comphenix.protocol
-
List of packets sent only by the server.
- PacketStream - Interface in com.comphenix.protocol
-
Represents a object capable of sending or receiving packets.
- PICKUP_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
-
Deprecated.
- PLACE - Static variable in class com.comphenix.protocol.Packets.Client
-
- PLAY_NOTE_BLOCK - Static variable in class com.comphenix.protocol.Packets.Server
-
- PLAYER_INFO - Static variable in class com.comphenix.protocol.Packets.Server
-
- PLAYER_LOOK - Static variable in class com.comphenix.protocol.Packets.Client
-
- PLAYER_LOOK - Static variable in class com.comphenix.protocol.Packets.Server
-
- PLAYER_LOOK_MOVE - Static variable in class com.comphenix.protocol.Packets.Client
-
- PLAYER_LOOK_MOVE - Static variable in class com.comphenix.protocol.Packets.Server
-
- PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Client
-
- PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
-
- PlayerInjectionHandler - Class in com.comphenix.protocol.injector.player
-
Responsible for injecting into a player's sendPacket method.
- PlayerInjectionHandler(ClassLoader, ErrorReporter, Predicate<GamePhase>, ListenerInvoker, Set<PacketListener>, Server) - Constructor for class com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
- 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 - Variable in class com.comphenix.protocol.events.PacketAdapter
-
- plugin - Variable in class com.comphenix.protocol.injector.DelayedSingleTask
-
- PLUGIN_NAME - Static variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
- pluginFile(String) - Method in class com.comphenix.protocol.metrics.Updater
-
Check if the name of a jar is one of the plugins currently installed, used for extracting the correct files out of a zip.
- pluginReference - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
- prefix - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
- 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
-
- 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
-
- 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.
- 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
-
- processPacket(Player, Object) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Process a packet as if it were sent by the given player.
- 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(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(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.
- putAll(AbstractIntervalTree<TKey, TValue>) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
Inserts every range from the given tree into the current tree.