- GamePhase - Enum in com.comphenix.protocol.injector
-
The current player phase.
- get(TKey) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
Retrieves the value of the range that matches the given key, or NULL if nothing was found.
- get(TKey) - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
-
Waits until a value has been associated with the given key, and then retrieves that value.
- get(TKey, long, TimeUnit) - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
-
Waits until a value has been associated with the given key, and then retrieves that value.
- get(int) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
Retrieves an element by index.
- GET_INFO - Static variable in class com.comphenix.protocol.Packets.Client
-
- getAccessibleMethod(Class, String, Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
Return an accessible method (that is, one that can be invoked via
reflection) with given name and parameters.
- getAccessibleMethod(Method) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
Return an accessible method (that is, one that can be invoked via
reflection) that implements the specified Method.
- getAccessibleMethod(Class, Method) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
Return an accessible method (that is, one that can be invoked via
reflection) that implements the specified Method.
- getAggregateCloner() - Method in class com.comphenix.protocol.reflect.cloning.AggregateCloner.BuilderParameters
-
Retrieve the aggregate cloner that is being built.
- getArrayClass(Class<?>) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the array class of a given component type.
- getAsynchronousManager() - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
- getAsynchronousManager() - Method in interface com.comphenix.protocol.ProtocolManager
-
Retrieve the current asyncronous packet manager.
- getAsyncListener() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
Retrieve the current asynchronous packet listener.
- getAsyncMarker() - Method in class com.comphenix.protocol.events.PacketEvent
-
Retrieve the asynchronous marker.
- getBinarySerializer() - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtTextSerializer
-
Retrieve the binary serializer that is used.
- getBooleans() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for every boolean field.
- getBukkitEntity(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Dynamically retrieve the Bukkit entity from a given entity.
- getBukkitItemStack(ItemStack) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve a CraftItemStack from a given ItemStack.
- getBukkitItemStack(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the Bukkit ItemStack from a given net.minecraft.server ItemStack.
- getByte(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the byte value of an entry identified by a given key.
- getByte(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
Get a watched byte.
- getByteArray(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the byte array value of an entry identified by a given key.
- getByteArrays() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for every byte array field.
- getByteArraySerializer() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieve a serializer for reading and writing ItemStacks stored in a byte array.
- getByteOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the byte value of an existing entry, or from a new default entry if it doesn't exist.
- getBytes() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for every byte field.
- getChunkCoordinate(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
Get a watched string.
- getChunkCoordinatesClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the ChunkPosition class.
- getChunkPositionClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the ChunkPosition class.
- getClassLoader() - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
Retrieves the current plugin class loader.
- getClientPackets() - Static method in class com.comphenix.protocol.injector.PacketFilterManager
-
Retrieve every known and supported client packet.
- getClientRegistry() - Static method in class com.comphenix.protocol.Packets
-
A registry that parses between names and packet IDs.
- getCloners() - Method in class com.comphenix.protocol.reflect.cloning.AggregateCloner
-
Retrieves a view of the current list of cloners.
- getColumnName() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
-
Get the column name for the plotted point
- getCompiler() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
Retrieve the current structure compiler.
- getCompound(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the compound (map) value of an entry identified by a given key.
- getCompoundOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve a compound (map) value by its key, or create a new compound if it doesn't exist.
- getConfigFile() - Method in class com.comphenix.protocol.metrics.Metrics
-
Gets the File object of the config file that should be used to store data such as the GUID and opt-out status
- getContainer() - Method in class com.comphenix.protocol.reflect.VolatileField
-
Retrieves the object the field is stored.
- getConverter() - Static method in class com.comphenix.protocol.wrappers.ChunkPosition
-
Used to convert between NMS ChunkPosition and the wrapper instance.
- getCraftBukkitClass(String) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the class object of a specific CraftBukkit class.
- getCraftBukkitPackage() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the name of the root CraftBukkit package.
- getCraftItemStackClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the CraftItemStack class.
- getDataTypeDelimiter() - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
-
Retrieve the current data type delimiter.
- getDataWatcherClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the DataWatcher class.
- getDataWatcherConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
Retrieve a converter for the NMS DataWatcher class and our wrapper.
- getDataWatcherModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for data watchers.
- getDeclaredName(int) - Static method in class com.comphenix.protocol.Packets
-
Retrieves the name of a packet.
- getDeclaredName(Integer) - Method in class com.comphenix.protocol.reflect.IntEnum
-
Retrieve the name of the member with the given id.
- getDefault(Class<T>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
Retrieves a default instance or value that is assignable to this type.
- getDefault(Class<T>, List<InstanceProvider>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
Retrieves a default instance or value that is assignable to this type.
- getDefaultCloner() - Method in class com.comphenix.protocol.reflect.cloning.CollectionCloner
-
Retrieve the default cloner used to clone the content of each element in the collection.
- getDefaultCloner() - Method in class com.comphenix.protocol.reflect.cloning.FieldCloner
-
Retrieve the default cloner used to clone the content of each field.
- getDirtyState() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
Retrieve whether or not the value must be synchronized with the client.
- getDouble(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the double value of an entry identified by a given key.
- getDoubleOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the double value of an existing entry, or from a new default entry if it doesn't exist.
- getDoubles() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for every double field.
- getElementType() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
Get the type of each element.
- getEndPoint(TKey) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
Get the left-most end-point associated with this key.
- getEntityClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the entity (NMS) class.
- getEntityConverter(World) - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
Retrieve a converter for NMS entities and Bukkit entities.
- getEntityFromID(World, int) - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
- getEntityFromID(World, int) - Method in interface com.comphenix.protocol.ProtocolManager
-
Retrieve the associated entity.
- getEntityModifier(World) - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for entity objects.
- getEntityPlayerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the EntityPlayer (NMS) class.
- getEntityTrackers(Entity) - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
- getEntityTrackers(Entity) - Method in interface com.comphenix.protocol.ProtocolManager
-
Retrieve every client that is receiving information about a given entity.
- getEntityWatcher(Entity) - Static method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
Retrieve the data watcher associated with an entity.
- getEntry(AbstractIntervalTree<TKey, TValue>.EndPoint, AbstractIntervalTree<TKey, TValue>.EndPoint) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
Retrieve the entry from a given set of end points.
- getErrorCount() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
- getErrorReporter() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
- getErrorReporter() - Method in interface com.comphenix.protocol.AsynchronousManager
-
Retrieve the default error reporter.
- getErrorReporter() - Static method in class com.comphenix.protocol.ProtocolLibrary
-
Retrieve the current error reporter.
- getField(Class, String) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
Gets an accessible Field
by name respecting scope.
- getField(Class, String, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
Gets an accessible Field
by name breaking scope if
requested.
- getField(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
Retrieve a field by index.
- getField() - Method in class com.comphenix.protocol.reflect.VolatileField
-
Retrieves the current field.
- getFieldByName(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
Retrieves a field by name.
- getFieldByType(String, Class<?>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
Retrieves the first field with a type equal to or more specific to the given type.
- getFieldByType(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
Retrieves a field by type.
- getFieldByType(String, Set<Class>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
Retrieves a field by type.
- getFieldListByType(Class<?>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
Retrieves every field with a type equal to or more specific to the given type.
- getFields() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
Retrieves all private and public fields in declared order (after JDK 1.5).
- getFields() - Method in class com.comphenix.protocol.reflect.StructureModifier
-
Retrieves a list of the fields matching the constraints of this structure modifier.
- getFieldType(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
Retrieve the type of a specified field.
- getFieldType() - Method in class com.comphenix.protocol.reflect.StructureModifier
-
Retrieves the common type of each field.
- getFileSize() - Method in class com.comphenix.protocol.metrics.Updater
-
Get the total bytes of the file (can only be used after running a version check or a normal run).
- getFloat() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for every float field.
- getFloat(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the float value of an entry identified by a given key.
- getFloat(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
Get a watched float.
- getFloatOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the float value of an existing entry, or from a new default entry if it doesn't exist.
- getFriendlyWorkerName(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
Create a friendly thread name using the following convention:
- getGamePhase() - Method in class com.comphenix.protocol.events.ListeningWhitelist
-
Retrieve which game phase this listener is active under.
- getGeneric(Class<?>, TType) - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
-
Retrieve a copy of the generic type from a specific type.
- getGlobalParameter(String) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
- getHandle() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves the underlying Minecraft packet.
- getHandle() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtWrapper
-
Retrieve the underlying net.minecraft.server instance.
- getHandle() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
- getHandle() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
Retrieves the underlying data watcher.
- getHandle() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
Retrieves the underlying watchable object.
- getHookType() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
-
- getID() - Method in interface com.comphenix.protocol.async.AsyncRunnable
-
Retrieve a unique worker ID.
- getID() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves the ID of this packet.
- getIgnoreNull(EquivalentConverter<TType>) - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
Wraps a given equivalent converter in NULL checks, ensuring that such values are ignored.
- getIndex() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
Retrieve the index of this watchable object.
- getInitialTime() - Method in class com.comphenix.protocol.async.AsyncMarker
-
Retrieve the time the packet was initially queued for asynchronous processing.
- getInstance() - Static method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
Retrieves the current background compiler.
- getInstanceProvider() - Method in class com.comphenix.protocol.reflect.cloning.AggregateCloner.BuilderParameters
-
Retrieve the instance provider last set in the builder.
- getInstanceProvider() - Method in class com.comphenix.protocol.reflect.cloning.FieldCloner
-
Retrieve the instance provider this cloner is using to create new, empty classes.
- getInteger(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the integer value of an entry identified by a given key.
- getInteger(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
Get a watched integer.
- getIntegerArray(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the integer array value of an entry identified by a given key.
- getIntegerArrays() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for every int array field.
- getIntegerOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the integer value of an existing entry, or from a new default entry if it doesn't exist.
- getIntegers() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for every integer field.
- getItemArrayModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for arrays of ItemStacks.
- getItemModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for ItemStack.
- getItemStack(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
Get a watched string.
- getItemStackArrayClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the ItemStack[] class.
- getItemStackClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the NMS ItemStack class.
- getItemStackConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
Retrieve the converter used to convert NMS ItemStacks to Bukkit's ItemStack.
- getKey() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry
-
- getKeys() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve a Set view of the keys of each entry in this compound.
- getLatestVersionString() - Method in class com.comphenix.protocol.metrics.Updater
-
Get the version string latest file avaliable online.
- getList(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the NBT list value of an entry identified by a given key.
- getListConverter(Class<?>, EquivalentConverter<T>) - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
- getListener(int) - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
-
Retrieve the registered listeners, in order from the lowest to the highest priority.
- getListener() - Method in class com.comphenix.protocol.injector.PrioritizedListener
-
Retrieve the underlying listener.
- getListenerHandler() - Method in class com.comphenix.protocol.async.AsyncMarker
-
Retrieve the current asynchronous listener handler.
- getListenerLoop() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
Create a worker that will initiate the listener loop.
- getListOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve a NBT list value by its key, or create a new list if it doesn't exist.
- getLogger() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
- getLong(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the long value of an entry identified by a given key.
- getLongOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the long value of an existing entry, or from a new default entry if it doesn't exist.
- getLongs() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for every long field.
- getMatchingAccessibleMethod(Class, String, Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
Find an accessible method that matches the given name and has compatible parameters.
- getMaxErrorCount() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
- getMaximumRecursion() - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
Retrieve the the maximum height of the hierachy of creates types.
- getMethodByName(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
Retrieves a method by looking at its name.
- getMethodByParameters(String, Class<?>...) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
Retrieves a method by looking at the parameter types only.
- getMethodByParameters(String, Class<?>, Class<?>[]) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
Retrieves a method by looking at the parameter types and return type only.
- getMethodByParameters(String, String, String[]) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
Retrieves a method by looking at the parameter types and return type only.
- getMethodListByParameters(Class<?>, Class<?>[]) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
Retrieves every method that has the given parameter types and return type.
- getMethods() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
Retrieves all private and public methods in declared order (after JDK 1.5).
- getMinecraftClass(String) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the class object of a specific Minecraft class.
- getMinecraftClass(String, String...) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the first class that matches a specified Minecraft name.
- getMinecraftItemStack(ItemStack) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the net.minecraft.server ItemStack from a Bukkit ItemStack.
- getMinecraftPackage() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the name of the Minecraft server package.
- getMinecraftServerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the MinecraftServer class.
- getMinimumConstructor(Class<T>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
Retrieve the constructor with the fewest number of parameters.
- getModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves the generic structure modifier for this packet.
- getName() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
-
Gets the graph's name
- getName() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtBase
-
Retrieve the name of this NBT tag.
- getNBTBaseClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the NBT base class.
- getNbtConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
Retrieve an equivalent converter for net.minecraft.server NBT classes and their wrappers.
- getNbtModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for NBT classes.
- getNetHandlerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the NetHandler class.
- getNetLoginHandlerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the NetLoginHandler class.
- getNetLoginHandlerName() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Dynamically retrieve the name of the current NetLoginHandler.
- getNetServerHandlerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the NetServerHandler class.
- getNetworkManagerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the NetworkManager class.
- getNetworkManagerName() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Dynamically retrieve the NetworkManager name.
- getNewSendingIndex() - Method in class com.comphenix.protocol.async.AsyncMarker
-
Retrieve the desired sending order after processing has completed.
- getNextEndPoint(TKey, boolean) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
Get the next end point of a given key.
- getObject(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
Retrieve a watchable object by index.
- getOldValue() - Method in class com.comphenix.protocol.reflect.VolatileField
-
Retrieves the field value before the previous setValue(), unless saveValue() has been called.
- getOriginalSendingIndex() - Method in class com.comphenix.protocol.async.AsyncMarker
-
Retrieve the order the packet was originally transmitted.
- getPacket() - Method in class com.comphenix.protocol.events.PacketEvent
-
Retrieves the packet that will be sent to the player.
- getPacketClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the packet class.
- getPacketClassFromID(int, boolean) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
-
Retrieves the correct packet class from a given packet ID.
- getPacketClassFromID(int, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
- getPacketID() - Method in class com.comphenix.protocol.events.PacketEvent
-
Retrieves the packet ID.
- getPacketID(Object) - Method in interface com.comphenix.protocol.injector.ListenerInvoker
-
Retrieve the associated ID of a packet.
- getPacketID() - Method in class com.comphenix.protocol.injector.PacketConstructor
-
Retrieve the id of the packets this constructor creates.
- getPacketID(Object) - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
- getPacketListeners() - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
- getPacketListeners() - Method in interface com.comphenix.protocol.ProtocolManager
-
Retrieves a list of every registered packet listener.
- getPacketStream() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
- getPacketStream() - Method in class com.comphenix.protocol.async.AsyncMarker
-
Retrieve the packet stream responsible for transmitting this packet.
- getPacketStream() - Method in interface com.comphenix.protocol.AsynchronousManager
-
Retrieve the default packet stream.
- getPlayer() - Method in class com.comphenix.protocol.events.PacketEvent
-
Retrieves the player that has sent the packet or is recieving it.
- getPlayerByConnection(DataInputStream) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Retrieve a player by its DataInput connection.
- getPlayerByConnection(DataInputStream, long, TimeUnit) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Retrieve a player by its DataInput connection.
- getPlayerHook() - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
Retrieves how the server packets are read.
- getPlayerHook() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Retrieves how the server packets are read.
- getPlayerHook(GamePhase) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Retrieves how the server packets are read.
- getPlotters() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
-
Gets an unmodifiable set of the plotter objects in the graph
- getPlugin() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
Retrieve the plugin associated with this async listener.
- getPlugin() - Method in class com.comphenix.protocol.events.MonitorAdapter
-
- getPlugin() - Method in class com.comphenix.protocol.events.PacketAdapter
-
- getPlugin() - Method in interface com.comphenix.protocol.events.PacketListener
-
Retrieve the plugin that created list packet listener.
- getPlugin() - Method in class com.comphenix.protocol.injector.DelayedSingleTask
-
Retrieve the plugin this task belongs to.
- getPluginName(PacketListener) - Static method in class com.comphenix.protocol.events.PacketAdapter
-
Retrieves the name of the plugin that has been associated with the listener.
- getPluginName(Plugin) - Static method in class com.comphenix.protocol.events.PacketAdapter
-
Retrieves the name of the given plugin.
- getPositionCollectionModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for collections of chunk positions.
- getPositionModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for chunk positions.
- getPrefix() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
- getPreviousEndPoint(TKey, boolean) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
Get the previous end point of a given key.
- getPrimitiveType(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
Gets the class for the primitive type corresponding to the primitive wrapper class given.
- getPrimitiveWrapper(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
Gets the wrapper object class for the given primitive type class.
- getPriority() - Method in class com.comphenix.protocol.events.ListeningWhitelist
-
Retrieve the priority in the execution order of the packet listener.
- getPriority() - Method in class com.comphenix.protocol.injector.PrioritizedListener
-
Retrieve the priority of this listener.
- getProcessingDelay() - Method in class com.comphenix.protocol.async.AsyncMarker
-
Retrieve the number of times a packet must be signalled to be done before it's sent.
- getProcessingLock() - Method in class com.comphenix.protocol.async.AsyncMarker
-
Processing lock used to synchronize access to the parent PacketEvent and PacketContainer.
- getProcessingQueue(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
Retrieve the processing queue this packet belongs to.
- getProtocolManager() - Static method in class com.comphenix.protocol.ProtocolLibrary
-
Retrieves the packet protocol manager.
- getQueuedSendingIndex() - Method in class com.comphenix.protocol.async.AsyncMarker
-
Retrieve the sending index when the packet was queued.
- getRawID() - Method in enum com.comphenix.protocol.wrappers.nbt.NbtType
-
Retrieves the raw unique integer that identifies the type of the parent NBT element.
- getReadWriteLock() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
Retrieve the current read write lock.
- getReceivingFilters() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
- getReceivingFilters() - Method in interface com.comphenix.protocol.AsynchronousManager
-
Retrieves a immutable set containing the ID of the recieved client packets that will be
observed by the asynchronous listeners.
- getReceivingFilters() - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
- getReceivingFilters() - Method in interface com.comphenix.protocol.ProtocolManager
-
Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
- getReceivingWhitelist() - Method in class com.comphenix.protocol.events.MonitorAdapter
-
- getReceivingWhitelist() - Method in class com.comphenix.protocol.events.PacketAdapter
-
- getReceivingWhitelist() - Method in interface com.comphenix.protocol.events.PacketListener
-
Retrieve which packets sent by the client this listener will observe.
- getRegistered() - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
Retrieves a immutable list of every default object providers that generates instances.
- getRegistry() - Static method in class com.comphenix.protocol.Packets.Client
-
A registry that parses between names and packet IDs.
- getRegistry() - Static method in class com.comphenix.protocol.Packets.Server
-
A registry that parses between names and packet IDs.
- getResult() - Method in class com.comphenix.protocol.metrics.Updater
-
Get the result of the update process.
- getResult(int) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
-
- getResult(int) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateType
-
- getScheduler() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
Retrieve the current task scheduler.
- getSendingFilters() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
- getSendingFilters() - Method in interface com.comphenix.protocol.AsynchronousManager
-
Retrieves a immutable set containing the ID of the sent server packets that will be
observed by the asynchronous listeners.
- getSendingFilters() - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
- getSendingFilters() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Retrieve the current list of registered sending listeners.
- getSendingFilters() - Method in interface com.comphenix.protocol.ProtocolManager
-
Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
- getSendingQueue(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
Retrieve the sending queue this packet belongs to.
- getSendingQueue(PacketEvent, boolean) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
Retrieve the sending queue this packet belongs to.
- getSendingWhitelist() - Method in class com.comphenix.protocol.events.MonitorAdapter
-
- getSendingWhitelist() - Method in class com.comphenix.protocol.events.PacketAdapter
-
- getSendingWhitelist() - Method in interface com.comphenix.protocol.events.PacketListener
-
Retrieve which packets sent by the server this listener will observe.
- getServerPackets() - Static method in class com.comphenix.protocol.injector.PacketFilterManager
-
Retrieve every known and supported server packet.
- getServerRegistry() - Static method in class com.comphenix.protocol.Packets
-
A registry that parses between names and packet IDs.
- getShort(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the short value of an entry identified by a given key.
- getShort(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
Get a watched short.
- getShortOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the short value of an existing entry, or from a new default entry if it doesn't exist.
- getShorts() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for every short field.
- getSlot() - Method in enum com.comphenix.protocol.events.ListenerPriority
-
A low slot represents a low priority.
- getSource() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
Retrieves the underlying class.
- getSpecific(Object) - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
-
Retrieve a copy of the specific type using an instance of the generic type.
- getSpecificModifier(Class<T>) - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for every field with the given type.
- getSpecificType() - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
-
Due to type erasion, we need to explicitly keep a reference to the specific type.
- getStatistics() - Method in class com.comphenix.protocol.ProtocolLibrary
-
Retrieve the metrics instance used to measure users of this library.
- getString(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the string value of an entry identified by a given key.
- getString(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
Get a watched string.
- getStringArrays() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for every String array field.
- getStringDefault() - Method in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
-
Retrieve the string default.
- getStringDescription(Object) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
- getStringOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the string value of an existing entry, or from a new default entry if it doesn't exist.
- getStrings() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for every String field.
- getStructure(int) - Static method in class com.comphenix.protocol.injector.StructureCache
-
Retrieve a cached structure modifier for the given packet id.
- getStructure(Class<?>) - Static method in class com.comphenix.protocol.injector.StructureCache
-
Retrieve a cached structure modifier given a packet type.
- getStructure(Class<?>, boolean) - Static method in class com.comphenix.protocol.injector.StructureCache
-
Retrieve a cached structure modifier given a packet type.
- getStructure(int, boolean) - Static method in class com.comphenix.protocol.injector.StructureCache
-
Retrieve a cached structure modifier for the given packet id.
- getSupported() - Static method in class com.comphenix.protocol.Packets.Client
-
Retrieve every client packet the current version of Minecraft is aware of.
- getSupported() - Static method in class com.comphenix.protocol.Packets.Server
-
Retrieve every client packet the current version of Minecraft is aware of.
- getSupportURL() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
- getTarget() - Method in class com.comphenix.protocol.reflect.StructureModifier
-
Retrieves the object we're currently modifying.
- getTargetType() - Method in class com.comphenix.protocol.reflect.StructureModifier
-
Retrieves the type of the object we're modifying.
- getTaskID() - Method in class com.comphenix.protocol.injector.DelayedSingleTask
-
Retrieve the raw task ID.
- getTimeout() - Method in class com.comphenix.protocol.async.AsyncMarker
-
Retrieve the time the packet will be forcefully rejected.
- getTimeoutHandlers() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
- getTimeoutHandlers() - Method in interface com.comphenix.protocol.AsynchronousManager
-
Get a immutable list of every registered timeout handler.
- getType() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtBase
-
Retrieve the type of this NBT element.
- getType() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
Retrieve the correct super type of the current value.
- getTypeClass(int) - Static method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
Retrieve the type of a given ID, if it's allowed to be watched.
- getTypeFromClass(Class<?>) - Static method in enum com.comphenix.protocol.wrappers.nbt.NbtType
-
Retrieve an NBT type from the given Java class.
- getTypeFromID(int) - Static method in enum com.comphenix.protocol.wrappers.nbt.NbtType
-
Retrieve an NBT type from a given raw ID.
- getTypeID(Class<?>) - Static method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
Retrieve the ID of a given type, if it's allowed to be watched.
- getTypeID() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
Retrieve the type ID of a watchable object.
- getUnwrappers() - Method in class com.comphenix.protocol.injector.PacketConstructor
-
- getValue() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry
-
- getValue() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
-
Get the current value for the plotted point.
- getValue() - Method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
-
- getValue() - Method in enum com.comphenix.protocol.metrics.Updater.UpdateType
-
- getValue() - Method in class com.comphenix.protocol.reflect.VolatileField
-
Retrieves the current field value.
- getValue() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtBase
-
Retrieve the value of this NBT tag.
- getValue(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the value of a given entry.
- getValue(int) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
Retrieve an element by index.
- getValue() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
Read the value field.
- getValueOrDefault(String, NbtType) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve a value by its key, or assign and return a new NBT element if it doesn't exist.
- getValues() - Method in class com.comphenix.protocol.reflect.StructureModifier
-
Retrieve every value stored in the fields of the current type.
- getValueType() - Method in enum com.comphenix.protocol.wrappers.nbt.NbtType
-
Retrieves the type of the value stored in the NBT element.
- getWatchableCollectionModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for collections of watchable objects.
- getWatchableObjectClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the WatchableObject class.
- getWatchableObjectConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
Retrieve a converter for watchable objects and the respective wrapper.
- getWatchableObjectMap() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
Retrieve the underlying map of key values that stores watchable objects.
- getWatchableObjects() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
Retrieve every watchable object in this watcher.
- getWhitelist() - Method in class com.comphenix.protocol.events.ListeningWhitelist
-
Retrieves the list of packets that will be observed by the listeners.
- getWorkerID() - Method in class com.comphenix.protocol.async.AsyncMarker
-
Retrieve the current worker ID.
- getWorkers() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
Retrieve the current number of registered workers.
- getWorldTypeClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the WorldType class.
- getWorldTypeConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
Retrieve a converter for Bukkit's world type enum and the NMS equivalent.
- getWorldTypeModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for the world type enum.
- getWrapped() - Method in class com.comphenix.protocol.reflect.cloning.NullableCloner
-
- getX() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
Retrieve the x-coordinate.
- getX() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
Retrieve the x coordinate of the underlying coordinate.
- getY() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
Retrieve the y-coordinate.
- getY() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
Retrieve the y coordinate of the underlying coordinate.
- getZ() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
Retrieve the z-coordinate.
- getZ() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
Retrieve the z coordinate of the underlying coordinate.
- globalParameters - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
- globalParameters() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-