- 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.
- 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
-
- getAsyncMarker() - Method in class com.comphenix.protocol.events.PacketEvent
-
Retrieve the asynchronous marker.
- 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.
- getCompiler() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
Retrieve the current structure compiler.
- getContainer() - Method in class com.comphenix.protocol.reflect.VolatileField
-
Retrieves the object the field is stored.
- 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.
- getEntityModifier(World) - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for entity objects.
- 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() - 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() - Method in class com.comphenix.protocol.reflect.StructureModifier
-
Retrieves the common type of each field.
- getFriendlyWorkerName(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
Create a friendly thread name using the following convention:
- getGeneric(TType) - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
-
- getHandle() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves the underlying Minecraft packet.
- 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.
- 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.
- 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.
- 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.
- getLogger() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
- getLogger() - Method in interface com.comphenix.protocol.AsynchronousManager
-
Retrieve the default error logger.
- getLogger() - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
- getLogger() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Retrieve the current logger.
- 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.
- 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).
- 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.
- getNewSendingIndex() - Method in class com.comphenix.protocol.async.AsyncMarker
-
Retrieve the desired sending order after processing has completed.
- 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.
- getPacketID() - Method in class com.comphenix.protocol.events.PacketEvent
-
Retrieves the packet ID.
- getPacketID(Packet) - 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(Packet) - 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
-
- 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.
- 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.PacketAdapter
-
- getPlugin() - Method in interface com.comphenix.protocol.events.PacketListener
-
Retrieve the plugin that created list packet listener.
- getPluginName(PacketListener) - Static method in class com.comphenix.protocol.events.PacketAdapter
-
Retrieves the name of the plugin that has been associated with the listener.
- 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.
- 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.
- 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.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.
- 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.
- 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.
- 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
-
- 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
-
- getStatistics() - Method in class com.comphenix.protocol.ProtocolLibrary
-
Retrieve the metrics instance used to measure users of this library.
- getStringDefault() - Method in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
-
Retrieve the string default.
- getStructure(int) - Static method in class com.comphenix.protocol.injector.StructureCache
-
Retrieve a cached structure modifier for the given packet id.
- 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.
- 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.
- getTimeout() - Method in class com.comphenix.protocol.async.AsyncMarker
-
Retrieve the time the packet will be forcefully rejected.
- getUnwrappers() - Method in class com.comphenix.protocol.injector.PacketConstructor
-
- getValue() - Method in class com.comphenix.protocol.reflect.VolatileField
-
Retrieves the current field value.
- getValues() - Method in class com.comphenix.protocol.reflect.StructureModifier
-
Retrieve every value stored in the fields of the current type.
- 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.
- getWorldTypeModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for the world type enum.