diff --git a/Javadoc/allclasses-frame.html b/Javadoc/allclasses-frame.html index ccf42f12..f0295e15 100644 --- a/Javadoc/allclasses-frame.html +++ b/Javadoc/allclasses-frame.html @@ -2,9 +2,9 @@
- +void
unregisterAsyncHandlers(org.bukkit.plugin.Plugin plugin)
+unregisterAsyncHandlers(Plugin plugin)
void unregisterAsyncHandlers(org.bukkit.plugin.Plugin plugin)+
void unregisterAsyncHandlers(Plugin plugin)
plugin
- - the original plugin.void
recieveClientPacket(org.bukkit.entity.Player sender,
+recieveClientPacket(Player sender,
PacketContainer packet)
Simulate recieving a certain packet from a given player.
void
recieveClientPacket(org.bukkit.entity.Player sender,
+recieveClientPacket(Player sender,
PacketContainer packet,
boolean filters)
Simulate recieving a certain packet from a given player.
@@ -135,14 +135,14 @@
void
sendServerPacket(org.bukkit.entity.Player reciever,
+sendServerPacket(Player reciever,
PacketContainer packet)
Send a packet to the given player.
void
sendServerPacket(org.bukkit.entity.Player reciever,
+sendServerPacket(Player reciever,
PacketContainer packet,
boolean filters)
Send a packet to the given player.
@@ -169,7 +169,7 @@
-
sendServerPacket
-void sendServerPacket(org.bukkit.entity.Player reciever,
+void sendServerPacket(Player reciever,
PacketContainer packet)
throws java.lang.reflect.InvocationTargetException
Send a packet to the given player.
@@ -184,7 +184,7 @@
-
sendServerPacket
-void sendServerPacket(org.bukkit.entity.Player reciever,
+void sendServerPacket(Player reciever,
PacketContainer packet,
boolean filters)
throws java.lang.reflect.InvocationTargetException
@@ -200,7 +200,7 @@
-
recieveClientPacket
-void recieveClientPacket(org.bukkit.entity.Player sender,
+void recieveClientPacket(Player sender,
PacketContainer packet)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
@@ -217,7 +217,7 @@
-
recieveClientPacket
-void recieveClientPacket(org.bukkit.entity.Player sender,
+void recieveClientPacket(Player sender,
PacketContainer packet,
boolean filters)
throws java.lang.IllegalAccessException,
diff --git a/Javadoc/com/comphenix/protocol/Packets.Client.html b/Javadoc/com/comphenix/protocol/Packets.Client.html
index 40fd0731..1ecf8b35 100644
--- a/Javadoc/com/comphenix/protocol/Packets.Client.html
+++ b/Javadoc/com/comphenix/protocol/Packets.Client.html
@@ -2,9 +2,9 @@
-
+
Packets.Client
-
+
diff --git a/Javadoc/com/comphenix/protocol/Packets.Server.html b/Javadoc/com/comphenix/protocol/Packets.Server.html
index 072a866a..7b277bc5 100644
--- a/Javadoc/com/comphenix/protocol/Packets.Server.html
+++ b/Javadoc/com/comphenix/protocol/Packets.Server.html
@@ -2,9 +2,9 @@
-
+
Packets.Server
-
+
@@ -631,7 +631,7 @@ extends Deprecated.
-Removed in 1.4.6 and replaced with VEHICLE_SPAWN
.
+Removed in 1.4.6 and replaced with VEHICLE_SPAWN.
diff --git a/Javadoc/com/comphenix/protocol/Packets.html b/Javadoc/com/comphenix/protocol/Packets.html
index d4100b24..3bba99e2 100644
--- a/Javadoc/com/comphenix/protocol/Packets.html
+++ b/Javadoc/com/comphenix/protocol/Packets.html
@@ -2,9 +2,9 @@
-
+
Packets
-
+
@@ -62,13 +62,13 @@
@@ -134,6 +134,27 @@ extends java.lang.Object
+
+
+-
+
+
+
Field Summary
+
+Fields
+
+Modifier and Type
+Field and Description
+
+
+static int
+MAXIMUM_PACKET_ID
+The highest possible packet ID.
+
+
+
+
+
-
@@ -203,6 +224,25 @@ extends java.lang.Object
-
+
+
+-
+
+
+
Field Detail
+
+
+
+
+-
+
MAXIMUM_PACKET_ID
+public static final int MAXIMUM_PACKET_ID
+The highest possible packet ID. It's unlikely that this value will ever change.
+- See Also:
- Constant Field Values
+
+
+
+
-
@@ -324,13 +364,13 @@ extends java.lang.Object
diff --git a/Javadoc/com/comphenix/protocol/ProtocolLibrary.html b/Javadoc/com/comphenix/protocol/ProtocolLibrary.html
index d7a719d2..16590b47 100644
--- a/Javadoc/com/comphenix/protocol/ProtocolLibrary.html
+++ b/Javadoc/com/comphenix/protocol/ProtocolLibrary.html
@@ -2,9 +2,9 @@
-
+
ProtocolLibrary
-
+
@@ -87,10 +87,10 @@
- java.lang.Object
-
-- org.bukkit.plugin.PluginBase
+- org.bukkit.plugin.PluginBase
-
-- org.bukkit.plugin.java.JavaPlugin
+- org.bukkit.plugin.java.JavaPlugin
-
- com.comphenix.protocol.ProtocolLibrary
@@ -106,12 +106,12 @@
-
- All Implemented Interfaces:
-- org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.plugin.Plugin
+- CommandExecutor, TabCompleter, TabExecutor, Plugin
public class ProtocolLibrary
-extends org.bukkit.plugin.java.JavaPlugin
+extends JavaPlugin
The main entry point for ProtocolLib.
- Author:
- Kristian
@@ -163,7 +163,7 @@ extends org.bukkit.plugin.java.JavaPlugin
Statistics
com.comphenix.protocol.metrics.Statistics
getStatistics()
getClassLoader, getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPluginLoader, getResource, getServer, initialize, installDDL, isEnabled, isInitialized, isNaggable, onCommand, onTabComplete, removeDDL, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
getClassLoader, getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPluginLoader, getResource, getServer, initialize, installDDL, isEnabled, isInitialized, isNaggable, onCommand, onTabComplete, removeDDL, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
equals, getName, hashCode
equals, getName, hashCode
public void onLoad()
onLoad
in interface org.bukkit.plugin.Plugin
onLoad
in interface Plugin
onLoad
in class org.bukkit.plugin.java.JavaPlugin
onLoad
in class JavaPlugin
public void reloadConfig()
reloadConfig
in interface org.bukkit.plugin.Plugin
reloadConfig
in interface Plugin
reloadConfig
in class org.bukkit.plugin.java.JavaPlugin
reloadConfig
in class JavaPlugin
public void onEnable()
onEnable
in interface org.bukkit.plugin.Plugin
onEnable
in interface Plugin
onEnable
in class org.bukkit.plugin.java.JavaPlugin
onEnable
in class JavaPlugin
public void onDisable()
onDisable
in interface org.bukkit.plugin.Plugin
onDisable
in interface Plugin
onDisable
in class org.bukkit.plugin.java.JavaPlugin
onDisable
in class JavaPlugin
public Statistics getStatistics()+
public com.comphenix.protocol.metrics.Statistics getStatistics()
Note that this method may return NULL when the server is reloading or shutting down. It is also diff --git a/Javadoc/com/comphenix/protocol/ProtocolManager.html b/Javadoc/com/comphenix/protocol/ProtocolManager.html index e7d80708..f94e0bd2 100644 --- a/Javadoc/com/comphenix/protocol/ProtocolManager.html +++ b/Javadoc/com/comphenix/protocol/ProtocolManager.html @@ -2,9 +2,9 @@
- +org.bukkit.entity.Entity
getEntityFromID(org.bukkit.World container,
+Entity
+getEntityFromID(World container,
int id)
Retrieve the associated entity.
java.util.List<org.bukkit.entity.Player>
getEntityTrackers(org.bukkit.entity.Entity entity)
+java.util.List<Player>
getEntityTrackers(Entity entity)
void
recieveClientPacket(org.bukkit.entity.Player sender,
+recieveClientPacket(Player sender,
PacketContainer packet,
boolean filters)
Simulate recieving a certain packet from a given player.
@@ -204,13 +204,13 @@ extends
void
-removePacketListeners(org.bukkit.plugin.Plugin plugin)
+removePacketListeners(Plugin plugin)
Removes every listener associated with the given plugin.
void
-sendServerPacket(org.bukkit.entity.Player reciever,
+sendServerPacket(Player reciever,
PacketContainer packet,
boolean filters)
Send a packet to the given player.
@@ -218,8 +218,8 @@ extends
void
-updateEntity(org.bukkit.entity.Entity entity,
- java.util.List<org.bukkit.entity.Player> observers)
+updateEntity(Entity entity,
+ java.util.List<Player> observers)
Completely resend an entity to a list of clients.
@@ -251,7 +251,7 @@ extends
-
sendServerPacket
-void sendServerPacket(org.bukkit.entity.Player reciever,
+void sendServerPacket(Player reciever,
PacketContainer packet,
boolean filters)
throws java.lang.reflect.InvocationTargetException
@@ -273,7 +273,7 @@ extends
-
recieveClientPacket
-void recieveClientPacket(org.bukkit.entity.Player sender,
+void recieveClientPacket(Player sender,
PacketContainer packet,
boolean filters)
throws java.lang.IllegalAccessException,
@@ -336,7 +336,7 @@ extends
-
removePacketListeners
-void removePacketListeners(org.bukkit.plugin.Plugin plugin)
+void removePacketListeners(Plugin plugin)
Removes every listener associated with the given plugin.
- Parameters:
plugin
- - the plugin to unload.
@@ -390,8 +390,8 @@ extends
-
updateEntity
-void updateEntity(org.bukkit.entity.Entity entity,
- java.util.List<org.bukkit.entity.Player> observers)
+void updateEntity(Entity entity,
+ java.util.List<Player> observers)
throws FieldAccessException
Completely resend an entity to a list of clients.
@@ -408,9 +408,9 @@ extends
-
getEntityFromID
-org.bukkit.entity.Entity getEntityFromID(org.bukkit.World container,
- int id)
- throws FieldAccessException
+Entity getEntityFromID(World container,
+ int id)
+ throws FieldAccessException
Retrieve the associated entity.
- Parameters:
container
- - the world the entity belongs to.id
- - the unique ID of the entity.
- Returns:
- The associated entity.
@@ -424,8 +424,8 @@ extends
-
getEntityTrackers
-java.util.List<org.bukkit.entity.Player> getEntityTrackers(org.bukkit.entity.Entity entity)
- throws FieldAccessException
+java.util.List<Player> getEntityTrackers(Entity entity)
+ throws FieldAccessException
Retrieve every client that is receiving information about a given entity.
- Parameters:
entity
- - the entity that is being tracked.
- Returns:
- Every client/player that is tracking the given entity.
diff --git a/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html b/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html
index 83664fbd..2a939112 100644
--- a/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html
+++ b/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html
@@ -2,9 +2,9 @@
-
+
AsyncFilterManager
-
+
@@ -128,7 +128,7 @@ implements
AsyncFilterManager(ErrorReporter reporter,
- org.bukkit.scheduler.BukkitScheduler scheduler,
+ BukkitScheduler scheduler,
ProtocolManager manager)
Initialize a asynchronous filter manager.
@@ -200,7 +200,7 @@ implements
-org.bukkit.scheduler.BukkitScheduler
+BukkitScheduler
getScheduler()
Retrieve the current task scheduler.
@@ -258,7 +258,7 @@ implements
void
-removePlayer(org.bukkit.entity.Player player)
+removePlayer(Player player)
Clean up after a given player has logged out.
@@ -289,7 +289,7 @@ implements
void
-unregisterAsyncHandlers(org.bukkit.plugin.Plugin plugin)
+unregisterAsyncHandlers(Plugin plugin)
Unregisters every asynchronous handler associated with this plugin.
@@ -328,7 +328,7 @@ implements
AsyncFilterManager
public AsyncFilterManager(ErrorReporter reporter,
- org.bukkit.scheduler.BukkitScheduler scheduler,
+ BukkitScheduler scheduler,
ProtocolManager manager)
Initialize a asynchronous filter manager.
@@ -450,7 +450,7 @@ implements
-
unregisterAsyncHandlers
-public void unregisterAsyncHandlers(org.bukkit.plugin.Plugin plugin)
+public void unregisterAsyncHandlers(Plugin plugin)
Description copied from interface: AsynchronousManager
Unregisters every asynchronous handler associated with this plugin.
@@ -509,7 +509,7 @@ implements
-
getScheduler
-public org.bukkit.scheduler.BukkitScheduler getScheduler()
+public BukkitScheduler getScheduler()
Retrieve the current task scheduler.
- Returns:
- Current task scheduler.
@@ -682,7 +682,7 @@ implements
-
removePlayer
-public void removePlayer(org.bukkit.entity.Player player)
+public void removePlayer(Player player)
Clean up after a given player has logged out.
- Parameters:
player
- - the player that has just logged out.
diff --git a/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html b/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html
index e3d3a7c6..d27f4706 100644
--- a/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html
+++ b/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html
@@ -2,9 +2,9 @@
-
+
AsyncListenerHandler
-
+
@@ -152,7 +152,7 @@ extends java.lang.Object
-org.bukkit.plugin.Plugin
+Plugin
getPlugin()
Retrieve the plugin associated with this async listener.
@@ -274,7 +274,7 @@ extends java.lang.Object
-
getPlugin
-public org.bukkit.plugin.Plugin getPlugin()
+public Plugin getPlugin()
Retrieve the plugin associated with this async listener.
- Returns:
- The plugin.
diff --git a/Javadoc/com/comphenix/protocol/async/AsyncMarker.html b/Javadoc/com/comphenix/protocol/async/AsyncMarker.html
index 1e5c3f65..f603adbf 100644
--- a/Javadoc/com/comphenix/protocol/async/AsyncMarker.html
+++ b/Javadoc/com/comphenix/protocol/async/AsyncMarker.html
@@ -2,9 +2,9 @@
-
+
AsyncMarker
-
+
diff --git a/Javadoc/com/comphenix/protocol/async/AsyncRunnable.html b/Javadoc/com/comphenix/protocol/async/AsyncRunnable.html
index 0f76a1bf..2fded0a0 100644
--- a/Javadoc/com/comphenix/protocol/async/AsyncRunnable.html
+++ b/Javadoc/com/comphenix/protocol/async/AsyncRunnable.html
@@ -2,9 +2,9 @@
-
+
AsyncRunnable
-
+
diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html
index 1190085b..de592f08 100644
--- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html
+++ b/Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.async.AsyncFilterManager
-
+
diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html
index df1b2052..2f9c3d40 100644
--- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html
+++ b/Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.async.AsyncListenerHandler
-
+
@@ -77,7 +77,9 @@
com.comphenix.protocol
-
+
+Contains classes for retrieving the main ProtocolMananger
object.
+
com.comphenix.protocol.async
diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html
index e1a96987..4a3ddab0 100644
--- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html
+++ b/Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.async.AsyncMarker
-
+
diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html
index fb4b03ca..d6c2e97f 100644
--- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html
+++ b/Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html
@@ -2,9 +2,9 @@
-
+
Uses of Interface com.comphenix.protocol.async.AsyncRunnable
-
+
diff --git a/Javadoc/com/comphenix/protocol/async/package-frame.html b/Javadoc/com/comphenix/protocol/async/package-frame.html
index 70ae0637..80826c29 100644
--- a/Javadoc/com/comphenix/protocol/async/package-frame.html
+++ b/Javadoc/com/comphenix/protocol/async/package-frame.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.async
-
+
diff --git a/Javadoc/com/comphenix/protocol/async/package-summary.html b/Javadoc/com/comphenix/protocol/async/package-summary.html
index c8ee26fd..533973ab 100644
--- a/Javadoc/com/comphenix/protocol/async/package-summary.html
+++ b/Javadoc/com/comphenix/protocol/async/package-summary.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.async
-
+
diff --git a/Javadoc/com/comphenix/protocol/async/package-tree.html b/Javadoc/com/comphenix/protocol/async/package-tree.html
index 8b3af551..93e39330 100644
--- a/Javadoc/com/comphenix/protocol/async/package-tree.html
+++ b/Javadoc/com/comphenix/protocol/async/package-tree.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.async Class Hierarchy
-
+
diff --git a/Javadoc/com/comphenix/protocol/async/package-use.html b/Javadoc/com/comphenix/protocol/async/package-use.html
index f81721de..9cf29057 100644
--- a/Javadoc/com/comphenix/protocol/async/package-use.html
+++ b/Javadoc/com/comphenix/protocol/async/package-use.html
@@ -2,9 +2,9 @@
-
+
Uses of Package com.comphenix.protocol.async
-
+
@@ -77,7 +77,9 @@
com.comphenix.protocol
-
+
+Contains classes for retrieving the main ProtocolMananger
object.
+
com.comphenix.protocol.async
diff --git a/Javadoc/com/comphenix/protocol/class-use/Application.html b/Javadoc/com/comphenix/protocol/class-use/Application.html
index 588a925c..9fc76f05 100644
--- a/Javadoc/com/comphenix/protocol/class-use/Application.html
+++ b/Javadoc/com/comphenix/protocol/class-use/Application.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.Application
-
+
diff --git a/Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html b/Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html
index 07557b6b..eabf677a 100644
--- a/Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html
+++ b/Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html
@@ -2,9 +2,9 @@
-
+
Uses of Interface com.comphenix.protocol.AsynchronousManager
-
+
@@ -77,7 +77,9 @@
com.comphenix.protocol
-
+
+Contains classes for retrieving the main ProtocolMananger
object.
+
com.comphenix.protocol.async
diff --git a/Javadoc/com/comphenix/protocol/class-use/PacketStream.html b/Javadoc/com/comphenix/protocol/class-use/PacketStream.html
index f6dc1cc4..60ab6c51 100644
--- a/Javadoc/com/comphenix/protocol/class-use/PacketStream.html
+++ b/Javadoc/com/comphenix/protocol/class-use/PacketStream.html
@@ -2,9 +2,9 @@
-
+
Uses of Interface com.comphenix.protocol.PacketStream
-
+
@@ -77,7 +77,9 @@
com.comphenix.protocol
-
+
+Contains classes for retrieving the main ProtocolMananger
object.
+
com.comphenix.protocol.async
diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html b/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html
index 0fcbc306..478b6ad4 100644
--- a/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html
+++ b/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.Packets.Client
-
+
@@ -77,7 +77,9 @@
com.comphenix.protocol
-
+
+Contains classes for retrieving the main ProtocolMananger
object.
+
diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html b/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html
index e021efae..608aa298 100644
--- a/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html
+++ b/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.Packets.Server
-
+
@@ -77,7 +77,9 @@
com.comphenix.protocol
-
+
+Contains classes for retrieving the main ProtocolMananger
object.
+
diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.html b/Javadoc/com/comphenix/protocol/class-use/Packets.html
index 0fcd9c12..4c605a15 100644
--- a/Javadoc/com/comphenix/protocol/class-use/Packets.html
+++ b/Javadoc/com/comphenix/protocol/class-use/Packets.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.Packets
-
+
diff --git a/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html b/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html
index a2156ce5..a478c783 100644
--- a/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html
+++ b/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.ProtocolLibrary
-
+
diff --git a/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html b/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html
index 958ebb5b..0caa5ae8 100644
--- a/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html
+++ b/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html
@@ -2,9 +2,9 @@
-
+
Uses of Interface com.comphenix.protocol.ProtocolManager
-
+
@@ -77,7 +77,9 @@
com.comphenix.protocol
-
+
+Contains classes for retrieving the main ProtocolMananger
object.
+
com.comphenix.protocol.async
@@ -128,7 +130,7 @@
AsyncFilterManager(ErrorReporter reporter,
- org.bukkit.scheduler.BukkitScheduler scheduler,
+ BukkitScheduler scheduler,
ProtocolManager manager)
Initialize a asynchronous filter manager.
diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html
index 1110a954..fe43ffd0 100644
--- a/Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html
+++ b/Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html
@@ -2,9 +2,9 @@
-
+
AbstractConcurrentListenerMultimap
-
+
diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.EndPoint.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.EndPoint.html
index f632b7bd..df77dafd 100644
--- a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.EndPoint.html
+++ b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.EndPoint.html
@@ -2,9 +2,9 @@
-
+
AbstractIntervalTree.EndPoint
-
+
diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.Entry.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.Entry.html
index 4985e763..c3b3da10 100644
--- a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.Entry.html
+++ b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.Entry.html
@@ -2,9 +2,9 @@
-
+
AbstractIntervalTree.Entry
-
+
diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.State.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.State.html
index 977e65a2..859b270f 100644
--- a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.State.html
+++ b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.State.html
@@ -2,9 +2,9 @@
-
+
AbstractIntervalTree.State
-
+
diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.html
index 5dd526b5..41131246 100644
--- a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.html
+++ b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.html
@@ -2,9 +2,9 @@
-
+
AbstractIntervalTree
-
+
diff --git a/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMap.html b/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMap.html
index 89bed790..ef2b1f47 100644
--- a/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMap.html
+++ b/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMap.html
@@ -2,9 +2,9 @@
-
+
BlockingHashMap
-
+
@@ -37,7 +37,7 @@
+IntegerSet
+
+Represents a very quick integer set that uses a lookup table to store membership.
+
+
+
SortedCopyOnWriteArray<T extends java.lang.Comparable<T>>
An implicitly sorted array list that preserves insertion order and maintains duplicates.
diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-tree.html b/Javadoc/com/comphenix/protocol/concurrency/package-tree.html
index c2a27c28..82597640 100644
--- a/Javadoc/com/comphenix/protocol/concurrency/package-tree.html
+++ b/Javadoc/com/comphenix/protocol/concurrency/package-tree.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.concurrency Class Hierarchy
-
+
@@ -79,6 +79,7 @@
- com.comphenix.protocol.concurrency.AbstractIntervalTree.EndPoint
- com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry (implements java.util.Map.Entry<K,V>)
- com.comphenix.protocol.concurrency.BlockingHashMap<TKey,TValue>
+- com.comphenix.protocol.concurrency.IntegerSet
- com.comphenix.protocol.concurrency.SortedCopyOnWriteArray<T> (implements java.util.Collection<E>, java.lang.Iterable<T>)
diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-use.html b/Javadoc/com/comphenix/protocol/concurrency/package-use.html
index b540f2dc..3de7f327 100644
--- a/Javadoc/com/comphenix/protocol/concurrency/package-use.html
+++ b/Javadoc/com/comphenix/protocol/concurrency/package-use.html
@@ -2,9 +2,9 @@
-
+
Uses of Package com.comphenix.protocol.concurrency
-
+
@@ -83,6 +83,10 @@
com.comphenix.protocol.injector
+
+com.comphenix.protocol.injector.player
+
+
@@ -138,6 +142,23 @@
+-
+
+
+
+Classes in com.comphenix.protocol.concurrency used by com.comphenix.protocol.injector.player
+
+Class and Description
+
+
+
+IntegerSet
+Represents a very quick integer set that uses a lookup table to store membership.
+
+
+
+
+
diff --git a/Javadoc/com/comphenix/protocol/error/DetailedErrorReporter.html b/Javadoc/com/comphenix/protocol/error/DetailedErrorReporter.html
index ab3fdf4e..088f11e8 100644
--- a/Javadoc/com/comphenix/protocol/error/DetailedErrorReporter.html
+++ b/Javadoc/com/comphenix/protocol/error/DetailedErrorReporter.html
@@ -2,9 +2,9 @@
-
+
DetailedErrorReporter
-
+
@@ -165,7 +165,7 @@ implements PLUGIN_NAME
-protected java.lang.ref.WeakReference<org.bukkit.plugin.Plugin>
+protected java.lang.ref.WeakReference<Plugin>
pluginReference
@@ -195,19 +195,19 @@ implements Constructor and Description
-DetailedErrorReporter(org.bukkit.plugin.Plugin plugin)
+DetailedErrorReporter(Plugin plugin)
Create a default error reporting system.
-DetailedErrorReporter(org.bukkit.plugin.Plugin plugin,
+DetailedErrorReporter(Plugin plugin,
java.lang.String prefix,
java.lang.String supportURL)
Create a central error reporting system.
-DetailedErrorReporter(org.bukkit.plugin.Plugin plugin,
+DetailedErrorReporter(Plugin plugin,
java.lang.String prefix,
java.lang.String supportURL,
int maxErrorCount,
@@ -297,7 +297,7 @@ implements
void
-reportMinimal(org.bukkit.plugin.Plugin sender,
+reportMinimal(Plugin sender,
java.lang.String methodName,
java.lang.Throwable error)
Prints a small minimal error report about an exception from another plugin.
@@ -305,7 +305,7 @@ implements
void
-reportMinimal(org.bukkit.plugin.Plugin sender,
+reportMinimal(Plugin sender,
java.lang.String methodName,
java.lang.Throwable error,
java.lang.Object... parameters)
@@ -314,7 +314,7 @@ implements
boolean
-reportMinimalNoSpam(org.bukkit.plugin.Plugin sender,
+reportMinimalNoSpam(Plugin sender,
java.lang.String methodName,
java.lang.Throwable error)
@@ -486,7 +486,7 @@ implements
-
pluginReference
-protected java.lang.ref.WeakReference<org.bukkit.plugin.Plugin> pluginReference
+protected java.lang.ref.WeakReference<Plugin> pluginReference
@@ -521,7 +521,7 @@ implements
-
DetailedErrorReporter
-public DetailedErrorReporter(org.bukkit.plugin.Plugin plugin)
+public DetailedErrorReporter(Plugin plugin)
Create a default error reporting system.
@@ -531,7 +531,7 @@ implements
-
DetailedErrorReporter
-public DetailedErrorReporter(org.bukkit.plugin.Plugin plugin,
+public DetailedErrorReporter(Plugin plugin,
java.lang.String prefix,
java.lang.String supportURL)
Create a central error reporting system.
@@ -544,7 +544,7 @@ implements
-
DetailedErrorReporter
-public DetailedErrorReporter(org.bukkit.plugin.Plugin plugin,
+public DetailedErrorReporter(Plugin plugin,
java.lang.String prefix,
java.lang.String supportURL,
int maxErrorCount,
@@ -567,7 +567,7 @@ implements
-
reportMinimal
-public void reportMinimal(org.bukkit.plugin.Plugin sender,
+public void reportMinimal(Plugin sender,
java.lang.String methodName,
java.lang.Throwable error,
java.lang.Object... parameters)
@@ -585,7 +585,7 @@ implements
-
reportMinimal
-public void reportMinimal(org.bukkit.plugin.Plugin sender,
+public void reportMinimal(Plugin sender,
java.lang.String methodName,
java.lang.Throwable error)
Description copied from interface: ErrorReporter
@@ -602,7 +602,7 @@ implements
-
reportMinimalNoSpam
-public boolean reportMinimalNoSpam(org.bukkit.plugin.Plugin sender,
+public boolean reportMinimalNoSpam(Plugin sender,
java.lang.String methodName,
java.lang.Throwable error)
diff --git a/Javadoc/com/comphenix/protocol/error/ErrorReporter.html b/Javadoc/com/comphenix/protocol/error/ErrorReporter.html
index 56afcca5..ae9baa2d 100644
--- a/Javadoc/com/comphenix/protocol/error/ErrorReporter.html
+++ b/Javadoc/com/comphenix/protocol/error/ErrorReporter.html
@@ -2,9 +2,9 @@
-
+
ErrorReporter
-
+
@@ -122,7 +122,7 @@
void
-reportMinimal(org.bukkit.plugin.Plugin sender,
+reportMinimal(Plugin sender,
java.lang.String methodName,
java.lang.Throwable error)
Prints a small minimal error report about an exception from another plugin.
@@ -130,7 +130,7 @@
void
-reportMinimal(org.bukkit.plugin.Plugin sender,
+reportMinimal(Plugin sender,
java.lang.String methodName,
java.lang.Throwable error,
java.lang.Object... parameters)
@@ -173,7 +173,7 @@
-
reportMinimal
-void reportMinimal(org.bukkit.plugin.Plugin sender,
+void reportMinimal(Plugin sender,
java.lang.String methodName,
java.lang.Throwable error)
Prints a small minimal error report about an exception from another plugin.
@@ -186,7 +186,7 @@
-
reportMinimal
-void reportMinimal(org.bukkit.plugin.Plugin sender,
+void reportMinimal(Plugin sender,
java.lang.String methodName,
java.lang.Throwable error,
java.lang.Object... parameters)
diff --git a/Javadoc/com/comphenix/protocol/error/class-use/DetailedErrorReporter.html b/Javadoc/com/comphenix/protocol/error/class-use/DetailedErrorReporter.html
index e1802c30..16fc1b18 100644
--- a/Javadoc/com/comphenix/protocol/error/class-use/DetailedErrorReporter.html
+++ b/Javadoc/com/comphenix/protocol/error/class-use/DetailedErrorReporter.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.error.DetailedErrorReporter
-
+
diff --git a/Javadoc/com/comphenix/protocol/error/class-use/ErrorReporter.html b/Javadoc/com/comphenix/protocol/error/class-use/ErrorReporter.html
index 2475b52b..e8552739 100644
--- a/Javadoc/com/comphenix/protocol/error/class-use/ErrorReporter.html
+++ b/Javadoc/com/comphenix/protocol/error/class-use/ErrorReporter.html
@@ -2,9 +2,9 @@
-
+
Uses of Interface com.comphenix.protocol.error.ErrorReporter
-
+
@@ -77,7 +77,9 @@
com.comphenix.protocol
-
+
+Contains classes for retrieving the main ProtocolMananger
object.
+
com.comphenix.protocol.async
@@ -92,9 +94,17 @@
+com.comphenix.protocol.injector.packet
+
+
+
com.comphenix.protocol.injector.player
+
+com.comphenix.protocol.injector.spigot
+
+
com.comphenix.protocol.reflect.compiler
@@ -155,7 +165,7 @@
AsyncFilterManager(ErrorReporter reporter,
- org.bukkit.scheduler.BukkitScheduler scheduler,
+ BukkitScheduler scheduler,
ProtocolManager manager)
Initialize a asynchronous filter manager.
@@ -218,7 +228,7 @@
PacketFilterManager(java.lang.ClassLoader classLoader,
- org.bukkit.Server server,
+ Server server,
DelayedSingleTask unhookTask,
ErrorReporter reporter)
Only create instances of this class if protocol lib is disabled.
@@ -227,10 +237,71 @@
+-
+
+
+
Uses of ErrorReporter in com.comphenix.protocol.injector.packet
+
+Fields in com.comphenix.protocol.injector.packet declared as ErrorReporter
+
+Modifier and Type
+Field and Description
+
+
+
+protected ErrorReporter
+PacketInjectorBuilder.reporter
+
+
+
+
+Methods in com.comphenix.protocol.injector.packet with parameters of type ErrorReporter
+
+Modifier and Type
+Method and Description
+
+
+
+PacketInjectorBuilder
+PacketInjectorBuilder.reporter(ErrorReporter reporter)
+The error reporter used by the created injector.
+
+
+
+
+
-
Uses of ErrorReporter in com.comphenix.protocol.injector.player
+
+Fields in com.comphenix.protocol.injector.player declared as ErrorReporter
+
+Modifier and Type
+Field and Description
+
+
+
+protected ErrorReporter
+PlayerInjectorBuilder.reporter
+
+
+
+
+Methods in com.comphenix.protocol.injector.player with parameters of type ErrorReporter
+
+Modifier and Type
+Method and Description
+
+
+
+PlayerInjectorBuilder
+PlayerInjectorBuilder.reporter(ErrorReporter reporter)
+The error reporter used by the created injector.
+
+
+
+
Constructors in com.comphenix.protocol.injector.player with parameters of type ErrorReporter
@@ -238,20 +309,34 @@
-NetworkServerInjector(java.lang.ClassLoader classLoader,
+NetworkObjectInjector(java.lang.ClassLoader classLoader,
ErrorReporter reporter,
- org.bukkit.entity.Player player,
+ Player player,
ListenerInvoker invoker,
- com.comphenix.protocol.injector.player.IntegerSet sendingFilters,
- com.comphenix.protocol.injector.player.InjectedServerConnection serverInjection)
+ IntegerSet sendingFilters)
+Create a new network object injector.
+
-
-PlayerInjectionHandler(java.lang.ClassLoader classLoader,
- ErrorReporter reporter,
- com.google.common.base.Predicate<GamePhase> injectionFilter,
- ListenerInvoker invoker,
- java.util.Set<PacketListener> packetListeners,
- org.bukkit.Server server)
+
+
+
+-
+
+
+
Uses of ErrorReporter in com.comphenix.protocol.injector.spigot
+
+Constructors in com.comphenix.protocol.injector.spigot with parameters of type ErrorReporter
+
+Constructor and Description
+
+
+
+SpigotPacketInjector(java.lang.ClassLoader classLoader,
+ ErrorReporter reporter,
+ ListenerInvoker invoker,
+ Server server)
+Create a new spigot injector.
+
diff --git a/Javadoc/com/comphenix/protocol/error/package-frame.html b/Javadoc/com/comphenix/protocol/error/package-frame.html
index 7995ee5c..fc6a4ee7 100644
--- a/Javadoc/com/comphenix/protocol/error/package-frame.html
+++ b/Javadoc/com/comphenix/protocol/error/package-frame.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.error
-
+
diff --git a/Javadoc/com/comphenix/protocol/error/package-summary.html b/Javadoc/com/comphenix/protocol/error/package-summary.html
index f05ab1c2..ebf2ce4f 100644
--- a/Javadoc/com/comphenix/protocol/error/package-summary.html
+++ b/Javadoc/com/comphenix/protocol/error/package-summary.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.error
-
+
diff --git a/Javadoc/com/comphenix/protocol/error/package-tree.html b/Javadoc/com/comphenix/protocol/error/package-tree.html
index 9d515946..633a305e 100644
--- a/Javadoc/com/comphenix/protocol/error/package-tree.html
+++ b/Javadoc/com/comphenix/protocol/error/package-tree.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.error Class Hierarchy
-
+
diff --git a/Javadoc/com/comphenix/protocol/error/package-use.html b/Javadoc/com/comphenix/protocol/error/package-use.html
index e8545c9e..f47e1fe3 100644
--- a/Javadoc/com/comphenix/protocol/error/package-use.html
+++ b/Javadoc/com/comphenix/protocol/error/package-use.html
@@ -2,9 +2,9 @@
-
+
Uses of Package com.comphenix.protocol.error
-
+
@@ -77,7 +77,9 @@
com.comphenix.protocol
-
+
+Contains classes for retrieving the main ProtocolMananger
object.
+
com.comphenix.protocol.async
@@ -92,9 +94,17 @@
+com.comphenix.protocol.injector.packet
+
+
+
com.comphenix.protocol.injector.player
+
+com.comphenix.protocol.injector.spigot
+
+
com.comphenix.protocol.reflect.compiler
@@ -162,6 +172,21 @@
+-
+
+
+
+Classes in com.comphenix.protocol.error used by com.comphenix.protocol.injector.packet
+
+Class and Description
+
+
+
+ErrorReporter
+
+
+
+
-
@@ -177,6 +202,21 @@
+-
+
+
+
+Classes in com.comphenix.protocol.error used by com.comphenix.protocol.injector.spigot
+
+Class and Description
+
+
+
+ErrorReporter
+
+
+
+
-
diff --git a/Javadoc/com/comphenix/protocol/events/ConnectionSide.html b/Javadoc/com/comphenix/protocol/events/ConnectionSide.html
index 85327f1d..f65ca613 100644
--- a/Javadoc/com/comphenix/protocol/events/ConnectionSide.html
+++ b/Javadoc/com/comphenix/protocol/events/ConnectionSide.html
@@ -2,9 +2,9 @@
-
+
ConnectionSide
-
+
diff --git a/Javadoc/com/comphenix/protocol/events/ListenerPriority.html b/Javadoc/com/comphenix/protocol/events/ListenerPriority.html
index f121019a..481541b7 100644
--- a/Javadoc/com/comphenix/protocol/events/ListenerPriority.html
+++ b/Javadoc/com/comphenix/protocol/events/ListenerPriority.html
@@ -2,9 +2,9 @@
-
+
ListenerPriority
-
+
diff --git a/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html b/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html
index a4ac19f7..b1980fa7 100644
--- a/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html
+++ b/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html
@@ -2,9 +2,9 @@
-
+
ListeningWhitelist
-
+
diff --git a/Javadoc/com/comphenix/protocol/events/MonitorAdapter.html b/Javadoc/com/comphenix/protocol/events/MonitorAdapter.html
index 1e5e6b3d..809b3f05 100644
--- a/Javadoc/com/comphenix/protocol/events/MonitorAdapter.html
+++ b/Javadoc/com/comphenix/protocol/events/MonitorAdapter.html
@@ -2,9 +2,9 @@
-
+
MonitorAdapter
-
+
@@ -124,11 +124,11 @@ implements Constructor and Description
-MonitorAdapter(org.bukkit.plugin.Plugin plugin,
+MonitorAdapter(Plugin plugin,
ConnectionSide side)
-MonitorAdapter(org.bukkit.plugin.Plugin plugin,
+MonitorAdapter(Plugin plugin,
ConnectionSide side,
java.util.logging.Logger logger)
@@ -148,7 +148,7 @@ implements Method and Description
-org.bukkit.plugin.Plugin
+Plugin
getPlugin()
Retrieve the plugin that created list packet listener.
@@ -200,7 +200,7 @@ implements
-
MonitorAdapter
-public MonitorAdapter(org.bukkit.plugin.Plugin plugin,
+public MonitorAdapter(Plugin plugin,
ConnectionSide side)
@@ -210,7 +210,7 @@ implements
-
MonitorAdapter
-public MonitorAdapter(org.bukkit.plugin.Plugin plugin,
+public MonitorAdapter(Plugin plugin,
ConnectionSide side,
java.util.logging.Logger logger)
@@ -259,7 +259,7 @@ implements
-
getPlugin
-public org.bukkit.plugin.Plugin getPlugin()
+public Plugin getPlugin()
Description copied from interface: PacketListener
Retrieve the plugin that created list packet listener.
diff --git a/Javadoc/com/comphenix/protocol/events/PacketAdapter.html b/Javadoc/com/comphenix/protocol/events/PacketAdapter.html
index 2764850a..94de1b3a 100644
--- a/Javadoc/com/comphenix/protocol/events/PacketAdapter.html
+++ b/Javadoc/com/comphenix/protocol/events/PacketAdapter.html
@@ -2,9 +2,9 @@
-
+
PacketAdapter
-
+
@@ -131,7 +131,7 @@ implements connectionSide
-protected org.bukkit.plugin.Plugin
+protected Plugin
plugin
@@ -157,7 +157,7 @@ implements Constructor and Description
-PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
GamePhase gamePhase,
java.lang.Integer... packets)
@@ -165,7 +165,7 @@ implements
-PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
GamePhase gamePhase,
java.util.Set<java.lang.Integer> packets)
@@ -173,14 +173,14 @@ implements
-PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
java.lang.Integer... packets)
Initialize a packet listener with default priority.
-PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
@@ -189,7 +189,7 @@ implements
-PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
@@ -198,7 +198,7 @@ implements
-PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
java.lang.Integer... packets)
@@ -206,7 +206,7 @@ implements
-PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
java.util.Set<java.lang.Integer> packets)
@@ -229,7 +229,7 @@ implements Method and Description
-org.bukkit.plugin.Plugin
+Plugin
getPlugin()
Retrieve the plugin that created list packet listener.
@@ -242,7 +242,7 @@ implements
static java.lang.String
-getPluginName(org.bukkit.plugin.Plugin plugin)
+getPluginName(Plugin plugin)
Retrieves the name of the given plugin.
@@ -302,7 +302,7 @@ implements
-
plugin
-protected org.bukkit.plugin.Plugin plugin
+protected Plugin plugin
@@ -346,7 +346,7 @@ implements
-
PacketAdapter
-public PacketAdapter(org.bukkit.plugin.Plugin plugin,
+public PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
java.lang.Integer... packets)
Initialize a packet listener with default priority.
@@ -359,7 +359,7 @@ implements
-
PacketAdapter
-public PacketAdapter(org.bukkit.plugin.Plugin plugin,
+public PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
java.util.Set<java.lang.Integer> packets)
@@ -373,7 +373,7 @@ implements
-
PacketAdapter
-public PacketAdapter(org.bukkit.plugin.Plugin plugin,
+public PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
GamePhase gamePhase,
java.util.Set<java.lang.Integer> packets)
@@ -389,7 +389,7 @@ implements
-
PacketAdapter
-public PacketAdapter(org.bukkit.plugin.Plugin plugin,
+public PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
@@ -406,7 +406,7 @@ implements
-
PacketAdapter
-public PacketAdapter(org.bukkit.plugin.Plugin plugin,
+public PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
java.lang.Integer... packets)
@@ -420,7 +420,7 @@ implements
-
PacketAdapter
-public PacketAdapter(org.bukkit.plugin.Plugin plugin,
+public PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
GamePhase gamePhase,
java.lang.Integer... packets)
@@ -434,7 +434,7 @@ implements
-
PacketAdapter
-public PacketAdapter(org.bukkit.plugin.Plugin plugin,
+public PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
@@ -465,7 +465,7 @@ implements scheduleSyncDelayedTask
if you need to call the Bukkit API.
- Specified by:
@@ -528,7 +528,7 @@ implements
-
getPlugin
-public org.bukkit.plugin.Plugin getPlugin()
+public Plugin getPlugin()
Description copied from interface: PacketListener
Retrieve the plugin that created list packet listener.
@@ -555,7 +555,7 @@ implements
-
getPluginName
-public static java.lang.String getPluginName(org.bukkit.plugin.Plugin plugin)
+public static java.lang.String getPluginName(Plugin plugin)
Retrieves the name of the given plugin.
- Parameters:
plugin
- - the plugin.
- Returns:
- Name of the given plugin.
diff --git a/Javadoc/com/comphenix/protocol/events/PacketContainer.html b/Javadoc/com/comphenix/protocol/events/PacketContainer.html
index dafa8a43..8658eda5 100644
--- a/Javadoc/com/comphenix/protocol/events/PacketContainer.html
+++ b/Javadoc/com/comphenix/protocol/events/PacketContainer.html
@@ -2,9 +2,9 @@
-
+
PacketContainer
-
+
@@ -237,8 +237,8 @@ implements java.io.Serializable
-StructureModifier<org.bukkit.entity.Entity>
-getEntityModifier(org.bukkit.World world)
+StructureModifier<Entity>
+getEntityModifier(World world)
Retrieves a read/write structure for entity objects.
@@ -273,13 +273,13 @@ implements java.io.Serializable
StructureModifier<org.bukkit.inventory.ItemStack[]>
StructureModifier<ItemStack[]>
getItemArrayModifier()
StructureModifier<org.bukkit.inventory.ItemStack>
StructureModifier<ItemStack>
getItemModifier()
StructureModifier<org.bukkit.WorldType>
StructureModifier<WorldType>
getWorldTypeModifier()
public StructureModifier<org.bukkit.inventory.ItemStack> getItemModifier()+
public StructureModifier<ItemStack> getItemModifier()
This modifier will automatically marshall between the Bukkit ItemStack and the @@ -653,7 +653,7 @@ implements java.io.Serializable
public StructureModifier<org.bukkit.inventory.ItemStack[]> getItemArrayModifier()+
public StructureModifier<ItemStack[]> getItemArrayModifier()
This modifier will automatically marshall between the Bukkit ItemStack and the @@ -667,7 +667,7 @@ implements java.io.Serializable
public StructureModifier<org.bukkit.WorldType> getWorldTypeModifier()+
public StructureModifier<WorldType> getWorldTypeModifier()
This modifier will automatically marshall between the Bukkit world type and the @@ -692,7 +692,7 @@ implements java.io.Serializable
public StructureModifier<org.bukkit.entity.Entity> getEntityModifier(org.bukkit.World world)+
public StructureModifier<Entity> getEntityModifier(World world)
Note that entities are transmitted by integer ID, and the type may not be enough diff --git a/Javadoc/com/comphenix/protocol/events/PacketEvent.html b/Javadoc/com/comphenix/protocol/events/PacketEvent.html index 70651f38..26bb4d9a 100644 --- a/Javadoc/com/comphenix/protocol/events/PacketEvent.html +++ b/Javadoc/com/comphenix/protocol/events/PacketEvent.html @@ -2,9 +2,9 @@
- +public class PacketEvent
extends java.util.EventObject
-implements org.bukkit.event.Cancellable
+implements Cancellable
static PacketEvent
fromClient(java.lang.Object source,
PacketContainer packet,
- org.bukkit.entity.Player client)
+ Player client)
static PacketEvent
fromServer(java.lang.Object source,
PacketContainer packet,
- org.bukkit.entity.Player recipient)
+ Player recipient)
org.bukkit.entity.Player
Player
getPlayer()
public static PacketEvent fromClient(java.lang.Object source, PacketContainer packet, - org.bukkit.entity.Player client)+ Player client)
source
- - the event source.packet
- - the packet.client
- - the client that sent the packet.public static PacketEvent fromServer(java.lang.Object source, PacketContainer packet, - org.bukkit.entity.Player recipient)+ Player recipient)
source
- - the event source.packet
- - the packet.recipient
- - the client that will receieve the packet.isCancelled
in interface org.bukkit.event.Cancellable
isCancelled
in interface Cancellable
setCancelled
in interface org.bukkit.event.Cancellable
setCancelled
in interface Cancellable
cancel
- - TRUE if it should be cancelled, FALSE otherwise.public org.bukkit.entity.Player getPlayer()+
public Player getPlayer()
org.bukkit.plugin.Plugin
Plugin
getPlugin()
WARNING:
This method will be called asynchronously! You should synchronize with the main
- thread using scheduleSyncDelayedTask
+ thread using scheduleSyncDelayedTask
if you need to call the Bukkit API.
event
- - the packet that has been recieved.org.bukkit.plugin.Plugin getPlugin()+
Plugin getPlugin()
MonitorAdapter(org.bukkit.plugin.Plugin plugin,
+MonitorAdapter(Plugin plugin,
ConnectionSide side)
MonitorAdapter(org.bukkit.plugin.Plugin plugin,
+MonitorAdapter(Plugin plugin,
ConnectionSide side,
java.util.logging.Logger logger)
PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
GamePhase gamePhase,
java.lang.Integer... packets)
@@ -147,7 +147,7 @@ the order they are declared.
PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
GamePhase gamePhase,
java.util.Set<java.lang.Integer> packets)
@@ -155,14 +155,14 @@ the order they are declared.
PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
java.lang.Integer... packets)
Initialize a packet listener with default priority.
PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
@@ -171,7 +171,7 @@ the order they are declared.
PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
@@ -180,7 +180,7 @@ the order they are declared.
PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
java.lang.Integer... packets)
@@ -188,7 +188,7 @@ the order they are declared.
PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
java.util.Set<java.lang.Integer> packets)
diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html b/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html
index 45a02fcf..4a59ad58 100644
--- a/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html
+++ b/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.events.ListenerPriority
-
+
@@ -153,7 +153,7 @@ the order they are declared.
PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
@@ -162,7 +162,7 @@ the order they are declared.
PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
@@ -171,7 +171,7 @@ the order they are declared.
PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
java.lang.Integer... packets)
@@ -179,7 +179,7 @@ the order they are declared.
PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
java.util.Set<java.lang.Integer> packets)
diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html b/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html
index d54a881a..bf2dc361 100644
--- a/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html
+++ b/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.events.ListeningWhitelist
-
+
diff --git a/Javadoc/com/comphenix/protocol/events/class-use/MonitorAdapter.html b/Javadoc/com/comphenix/protocol/events/class-use/MonitorAdapter.html
index 230b0286..94ad4043 100644
--- a/Javadoc/com/comphenix/protocol/events/class-use/MonitorAdapter.html
+++ b/Javadoc/com/comphenix/protocol/events/class-use/MonitorAdapter.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.events.MonitorAdapter
-
+
diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html
index 349e2dda..67e0b6d5 100644
--- a/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html
+++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.events.PacketAdapter
-
+
diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html
index 687b0e5d..e0e45049 100644
--- a/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html
+++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.events.PacketContainer
-
+
@@ -77,7 +77,9 @@
com.comphenix.protocol
-
+
+Contains classes for retrieving the main ProtocolMananger
object.
+
com.comphenix.protocol.events
@@ -88,6 +90,10 @@
+com.comphenix.protocol.injector.packet
+
+
+
com.comphenix.protocol.injector.player
@@ -131,14 +137,14 @@
void
-PacketStream.recieveClientPacket(org.bukkit.entity.Player sender,
+PacketStream.recieveClientPacket(Player sender,
PacketContainer packet)
Simulate recieving a certain packet from a given player.
void
-ProtocolManager.recieveClientPacket(org.bukkit.entity.Player sender,
+ProtocolManager.recieveClientPacket(Player sender,
PacketContainer packet,
boolean filters)
Simulate recieving a certain packet from a given player.
@@ -146,7 +152,7 @@
void
-PacketStream.recieveClientPacket(org.bukkit.entity.Player sender,
+PacketStream.recieveClientPacket(Player sender,
PacketContainer packet,
boolean filters)
Simulate recieving a certain packet from a given player.
@@ -154,14 +160,14 @@
void
-PacketStream.sendServerPacket(org.bukkit.entity.Player reciever,
+PacketStream.sendServerPacket(Player reciever,
PacketContainer packet)
Send a packet to the given player.
void
-ProtocolManager.sendServerPacket(org.bukkit.entity.Player reciever,
+ProtocolManager.sendServerPacket(Player reciever,
PacketContainer packet,
boolean filters)
Send a packet to the given player.
@@ -169,7 +175,7 @@
void
-PacketStream.sendServerPacket(org.bukkit.entity.Player reciever,
+PacketStream.sendServerPacket(Player reciever,
PacketContainer packet,
boolean filters)
Send a packet to the given player.
@@ -220,7 +226,7 @@
static PacketEvent
PacketEvent.fromClient(java.lang.Object source,
PacketContainer packet,
- org.bukkit.entity.Player client)
+ Player client)
Creates an event representing a client packet transmission.
@@ -228,7 +234,7 @@
static PacketEvent
PacketEvent.fromServer(java.lang.Object source,
PacketContainer packet,
- org.bukkit.entity.Player recipient)
+ Player recipient)
Creates an event representing a server packet transmission.
@@ -278,29 +284,50 @@
void
-PacketFilterManager.recieveClientPacket(org.bukkit.entity.Player sender,
+PacketFilterManager.recieveClientPacket(Player sender,
PacketContainer packet)
void
-PacketFilterManager.recieveClientPacket(org.bukkit.entity.Player sender,
+PacketFilterManager.recieveClientPacket(Player sender,
PacketContainer packet,
boolean filters)
void
-PacketFilterManager.sendServerPacket(org.bukkit.entity.Player reciever,
+PacketFilterManager.sendServerPacket(Player reciever,
PacketContainer packet)
void
-PacketFilterManager.sendServerPacket(org.bukkit.entity.Player reciever,
+PacketFilterManager.sendServerPacket(Player reciever,
PacketContainer packet,
boolean filters)
+-
+
+
+
Uses of PacketContainer in com.comphenix.protocol.injector.packet
+
+Methods in com.comphenix.protocol.injector.packet with parameters of type PacketContainer
+
+Modifier and Type
+Method and Description
+
+
+
+PacketEvent
+PacketInjector.packetRecieved(PacketContainer packet,
+ Player client)
+Let the packet listeners process the given packet.
+
+
+
+
+
-
@@ -314,7 +341,7 @@
void
-PlayerInjectionHandler.sendServerPacket(org.bukkit.entity.Player reciever,
+PlayerInjectionHandler.sendServerPacket(Player reciever,
PacketContainer packet,
boolean filters)
Send the given packet to the given reciever.
diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html
index f9b7169f..60ad3d5d 100644
--- a/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html
+++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.events.PacketEvent
-
+
@@ -77,7 +77,9 @@
com.comphenix.protocol
-
+
+Contains classes for retrieving the main ProtocolMananger
object.
+
com.comphenix.protocol.async
@@ -91,6 +93,10 @@
com.comphenix.protocol.injector
+
+com.comphenix.protocol.injector.packet
+
+
@@ -203,7 +209,7 @@
static PacketEvent
PacketEvent.fromClient(java.lang.Object source,
PacketContainer packet,
- org.bukkit.entity.Player client)
+ Player client)
Creates an event representing a client packet transmission.
@@ -211,7 +217,7 @@
static PacketEvent
PacketEvent.fromServer(java.lang.Object source,
PacketContainer packet,
- org.bukkit.entity.Player recipient)
+ Player recipient)
Creates an event representing a server packet transmission.
@@ -309,6 +315,27 @@
+-
+
+
+
Uses of PacketEvent in com.comphenix.protocol.injector.packet
+
+Methods in com.comphenix.protocol.injector.packet that return PacketEvent
+
+Modifier and Type
+Method and Description
+
+
+
+PacketEvent
+PacketInjector.packetRecieved(PacketContainer packet,
+ Player client)
+Let the packet listeners process the given packet.
+
+
+
+
+
diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html
index 0e0e41fa..e29e69a6 100644
--- a/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html
+++ b/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html
@@ -2,9 +2,9 @@
-
+
Uses of Interface com.comphenix.protocol.events.PacketListener
-
+
@@ -77,7 +77,9 @@
com.comphenix.protocol
-
+
+Contains classes for retrieving the main ProtocolMananger
object.
+
com.comphenix.protocol.async
@@ -313,6 +315,19 @@
Uses of PacketListener in com.comphenix.protocol.injector.player
+
+Fields in com.comphenix.protocol.injector.player with type parameters of type PacketListener
+
+Modifier and Type
+Field and Description
+
+
+
+protected java.util.Set<PacketListener>
+PlayerInjectorBuilder.packetListeners
+
+
+
Methods in com.comphenix.protocol.injector.player with parameters of type PacketListener
@@ -328,7 +343,7 @@
com.comphenix.protocol.injector.player.UnsupportedListener
-NetworkServerInjector.checkListener(PacketListener listener)
+NetworkObjectInjector.checkListener(PacketListener listener)
@@ -345,21 +360,11 @@
Determine if the given listeners are valid.
-
-
-
-Constructor parameters in com.comphenix.protocol.injector.player with type arguments of type PacketListener
-
-Constructor and Description
-
-
-
-PlayerInjectionHandler(java.lang.ClassLoader classLoader,
- ErrorReporter reporter,
- com.google.common.base.Predicate<GamePhase> injectionFilter,
- ListenerInvoker invoker,
- java.util.Set<PacketListener> packetListeners,
- org.bukkit.Server server)
+
+PlayerInjectorBuilder
+PlayerInjectorBuilder.packetListeners(java.util.Set<PacketListener> packetListeners)
+Set the set of packet listeners.
+
diff --git a/Javadoc/com/comphenix/protocol/events/package-frame.html b/Javadoc/com/comphenix/protocol/events/package-frame.html
index ba4c9d96..5b8ed31f 100644
--- a/Javadoc/com/comphenix/protocol/events/package-frame.html
+++ b/Javadoc/com/comphenix/protocol/events/package-frame.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.events
-
+
diff --git a/Javadoc/com/comphenix/protocol/events/package-summary.html b/Javadoc/com/comphenix/protocol/events/package-summary.html
index 6dcaa69e..53dd9506 100644
--- a/Javadoc/com/comphenix/protocol/events/package-summary.html
+++ b/Javadoc/com/comphenix/protocol/events/package-summary.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.events
-
+
diff --git a/Javadoc/com/comphenix/protocol/events/package-tree.html b/Javadoc/com/comphenix/protocol/events/package-tree.html
index 3ad7d738..ae5a4f60 100644
--- a/Javadoc/com/comphenix/protocol/events/package-tree.html
+++ b/Javadoc/com/comphenix/protocol/events/package-tree.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.events Class Hierarchy
-
+
@@ -76,7 +76,7 @@
- java.util.EventObject (implements java.io.Serializable)
-- com.comphenix.protocol.events.PacketEvent (implements org.bukkit.event.Cancellable)
+- com.comphenix.protocol.events.PacketEvent (implements org.bukkit.event.Cancellable)
- com.comphenix.protocol.events.ListeningWhitelist
diff --git a/Javadoc/com/comphenix/protocol/events/package-use.html b/Javadoc/com/comphenix/protocol/events/package-use.html
index b02ea67b..cfe201f2 100644
--- a/Javadoc/com/comphenix/protocol/events/package-use.html
+++ b/Javadoc/com/comphenix/protocol/events/package-use.html
@@ -2,9 +2,9 @@
-
+
Uses of Package com.comphenix.protocol.events
-
+
@@ -77,7 +77,9 @@
com.comphenix.protocol
-
+
+Contains classes for retrieving the main ProtocolMananger
object.
+
com.comphenix.protocol.async
@@ -96,6 +98,10 @@
+com.comphenix.protocol.injector.packet
+
+
+
com.comphenix.protocol.injector.player
@@ -239,6 +245,26 @@
+-
+
+
+
+Classes in com.comphenix.protocol.events used by com.comphenix.protocol.injector.packet
+
+Class and Description
+
+
+
+PacketContainer
+Represents a Minecraft packet indirectly.
+
+
+
+PacketEvent
+
+
+
+
-
diff --git a/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html
index 45da9794..702c0482 100644
--- a/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html
+++ b/Javadoc/com/comphenix/protocol/injector/BukkitUnwrapper.html
@@ -2,9 +2,9 @@
-
+
BukkitUnwrapper
-
+
diff --git a/Javadoc/com/comphenix/protocol/injector/DelayedSingleTask.html b/Javadoc/com/comphenix/protocol/injector/DelayedSingleTask.html
index 6cc63574..ecc92e89 100644
--- a/Javadoc/com/comphenix/protocol/injector/DelayedSingleTask.html
+++ b/Javadoc/com/comphenix/protocol/injector/DelayedSingleTask.html
@@ -2,9 +2,9 @@
-
+
DelayedSingleTask
-
+
@@ -124,11 +124,11 @@ extends java.lang.Object
closed
protected org.bukkit.plugin.Plugin
protected Plugin
plugin
protected org.bukkit.scheduler.BukkitScheduler
protected BukkitScheduler
scheduler
DelayedSingleTask(org.bukkit.plugin.Plugin plugin)
+DelayedSingleTask(Plugin plugin)
DelayedSingleTask(org.bukkit.plugin.Plugin plugin,
- org.bukkit.scheduler.BukkitScheduler scheduler)
+DelayedSingleTask(Plugin plugin,
+ BukkitScheduler scheduler)
finalize()
org.bukkit.plugin.Plugin
Plugin
getPlugin()
protected org.bukkit.plugin.Plugin plugin+
protected Plugin plugin
protected org.bukkit.scheduler.BukkitScheduler scheduler+
protected BukkitScheduler scheduler
public DelayedSingleTask(org.bukkit.plugin.Plugin plugin)+
public DelayedSingleTask(Plugin plugin)
plugin
- - owner plugin.public DelayedSingleTask(org.bukkit.plugin.Plugin plugin, - org.bukkit.scheduler.BukkitScheduler scheduler)+
public DelayedSingleTask(Plugin plugin, + BukkitScheduler scheduler)
plugin
- - owner plugin.scheduler
- - specialized scheduler.public org.bukkit.plugin.Plugin getPlugin()+
public Plugin getPlugin()
PacketFilterManager(java.lang.ClassLoader classLoader,
- org.bukkit.Server server,
+ Server server,
DelayedSingleTask unhookTask,
ErrorReporter reporter)
org.bukkit.entity.Entity
getEntityFromID(org.bukkit.World container,
+Entity
+getEntityFromID(World container,
int id)
Retrieve the associated entity.
java.util.List<org.bukkit.entity.Player>
getEntityTrackers(org.bukkit.entity.Entity entity)
+java.util.List<Player>
getEntityTrackers(Entity entity)
void
initializePlayers(org.bukkit.entity.Player[] players)
+initializePlayers(Player[] players)
void
recieveClientPacket(org.bukkit.entity.Player sender,
+recieveClientPacket(Player sender,
PacketContainer packet)
Simulate recieving a certain packet from a given player.
void
recieveClientPacket(org.bukkit.entity.Player sender,
+recieveClientPacket(Player sender,
PacketContainer packet,
boolean filters)
Simulate recieving a certain packet from a given player.
@@ -315,8 +315,8 @@ implements
void
-registerEvents(org.bukkit.plugin.PluginManager manager,
- org.bukkit.plugin.Plugin plugin)
+registerEvents(PluginManager manager,
+ Plugin plugin)
Register this protocol manager on Bukkit.
@@ -335,20 +335,20 @@ implements
void
-removePacketListeners(org.bukkit.plugin.Plugin plugin)
+removePacketListeners(Plugin plugin)
Removes every listener associated with the given plugin.
void
-sendServerPacket(org.bukkit.entity.Player reciever,
+sendServerPacket(Player reciever,
PacketContainer packet)
Send a packet to the given player.
void
-sendServerPacket(org.bukkit.entity.Player reciever,
+sendServerPacket(Player reciever,
PacketContainer packet,
boolean filters)
Send a packet to the given player.
@@ -362,7 +362,7 @@ implements
void
-uninitializePlayers(org.bukkit.entity.Player[] players)
+uninitializePlayers(Player[] players)
Uninitialize the packet injection of every player.
@@ -374,8 +374,8 @@ implements
void
-updateEntity(org.bukkit.entity.Entity entity,
- java.util.List<org.bukkit.entity.Player> observers)
+updateEntity(Entity entity,
+ java.util.List<Player> observers)
Completely resend an entity to a list of clients.
@@ -415,7 +415,7 @@ implements
PacketFilterManager
public PacketFilterManager(java.lang.ClassLoader classLoader,
- org.bukkit.Server server,
+ Server server,
DelayedSingleTask unhookTask,
ErrorReporter reporter)
Only create instances of this class if protocol lib is disabled.
@@ -538,7 +538,7 @@ implements
-
removePacketListeners
-public void removePacketListeners(org.bukkit.plugin.Plugin plugin)
+public void removePacketListeners(Plugin plugin)
Description copied from interface: ProtocolManager
Removes every listener associated with the given plugin.
@@ -583,7 +583,7 @@ implements
-
sendServerPacket
-public void sendServerPacket(org.bukkit.entity.Player reciever,
+public void sendServerPacket(Player reciever,
PacketContainer packet)
throws java.lang.reflect.InvocationTargetException
Description copied from interface: PacketStream
@@ -602,7 +602,7 @@ implements
-
sendServerPacket
-public void sendServerPacket(org.bukkit.entity.Player reciever,
+public void sendServerPacket(Player reciever,
PacketContainer packet,
boolean filters)
throws java.lang.reflect.InvocationTargetException
@@ -627,7 +627,7 @@ implements
-
recieveClientPacket
-public void recieveClientPacket(org.bukkit.entity.Player sender,
+public void recieveClientPacket(Player sender,
PacketContainer packet)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
@@ -648,7 +648,7 @@ implements
-
recieveClientPacket
-public void recieveClientPacket(org.bukkit.entity.Player sender,
+public void recieveClientPacket(Player sender,
PacketContainer packet,
boolean filters)
throws java.lang.IllegalAccessException,
@@ -760,8 +760,8 @@ implements
-
updateEntity
-public void updateEntity(org.bukkit.entity.Entity entity,
- java.util.List<org.bukkit.entity.Player> observers)
+public void updateEntity(Entity entity,
+ java.util.List<Player> observers)
throws FieldAccessException
Description copied from interface: ProtocolManager
Completely resend an entity to a list of clients.
@@ -782,9 +782,9 @@ implements
-
getEntityFromID
-public org.bukkit.entity.Entity getEntityFromID(org.bukkit.World container,
- int id)
- throws FieldAccessException
+public Entity getEntityFromID(World container,
+ int id)
+ throws FieldAccessException
Description copied from interface: ProtocolManager
Retrieve the associated entity.
@@ -802,8 +802,8 @@ implements
-
getEntityTrackers
-public java.util.List<org.bukkit.entity.Player> getEntityTrackers(org.bukkit.entity.Entity entity)
- throws FieldAccessException
+public java.util.List<Player> getEntityTrackers(Entity entity)
+ throws FieldAccessException
Description copied from interface: ProtocolManager
Retrieve every client that is receiving information about a given entity.
@@ -821,7 +821,7 @@ implements
-
initializePlayers
-public void initializePlayers(org.bukkit.entity.Player[] players)
+public void initializePlayers(Player[] players)
Initialize the packet injection for every player.
- Parameters:
players
- - list of players to inject.
@@ -832,7 +832,7 @@ implements
-
uninitializePlayers
-public void uninitializePlayers(org.bukkit.entity.Player[] players)
+public void uninitializePlayers(Player[] players)
Uninitialize the packet injection of every player.
- Parameters:
players
- - list of players to uninject.
@@ -843,8 +843,8 @@ implements
-
registerEvents
-public void registerEvents(org.bukkit.plugin.PluginManager manager,
- org.bukkit.plugin.Plugin plugin)
+public void registerEvents(PluginManager manager,
+ Plugin plugin)
Register this protocol manager on Bukkit.
- Parameters:
manager
- - Bukkit plugin manager that provides player join/leave events.plugin
- - the parent plugin.
diff --git a/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html b/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html
index c005a119..c251390d 100644
--- a/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html
+++ b/Javadoc/com/comphenix/protocol/injector/PlayerLoggedOutException.html
@@ -2,9 +2,9 @@
-
+
PlayerLoggedOutException
-
+
diff --git a/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html b/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html
index 4a1c21fe..d42c0aed 100644
--- a/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html
+++ b/Javadoc/com/comphenix/protocol/injector/PrioritizedListener.html
@@ -2,9 +2,9 @@
-
+
PrioritizedListener
-
+
diff --git a/Javadoc/com/comphenix/protocol/injector/SortedPacketListenerList.html b/Javadoc/com/comphenix/protocol/injector/SortedPacketListenerList.html
index 1fe59324..7e7abc02 100644
--- a/Javadoc/com/comphenix/protocol/injector/SortedPacketListenerList.html
+++ b/Javadoc/com/comphenix/protocol/injector/SortedPacketListenerList.html
@@ -2,9 +2,9 @@
-
+
SortedPacketListenerList
-
+
diff --git a/Javadoc/com/comphenix/protocol/injector/StructureCache.html b/Javadoc/com/comphenix/protocol/injector/StructureCache.html
index 1cb67878..25e05a4e 100644
--- a/Javadoc/com/comphenix/protocol/injector/StructureCache.html
+++ b/Javadoc/com/comphenix/protocol/injector/StructureCache.html
@@ -2,9 +2,9 @@
-
+
StructureCache
-
+
diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html
index 8319627b..8192668b 100644
--- a/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html
+++ b/Javadoc/com/comphenix/protocol/injector/class-use/BukkitUnwrapper.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.injector.BukkitUnwrapper
-
+
diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/DelayedSingleTask.html b/Javadoc/com/comphenix/protocol/injector/class-use/DelayedSingleTask.html
index e2950afc..bd58f4d9 100644
--- a/Javadoc/com/comphenix/protocol/injector/class-use/DelayedSingleTask.html
+++ b/Javadoc/com/comphenix/protocol/injector/class-use/DelayedSingleTask.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.injector.DelayedSingleTask
-
+
@@ -96,7 +96,7 @@
PacketFilterManager(java.lang.ClassLoader classLoader,
- org.bukkit.Server server,
+ Server server,
DelayedSingleTask unhookTask,
ErrorReporter reporter)
Only create instances of this class if protocol lib is disabled.
diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/GamePhase.html b/Javadoc/com/comphenix/protocol/injector/class-use/GamePhase.html
index b4aec291..49e77e3a 100644
--- a/Javadoc/com/comphenix/protocol/injector/class-use/GamePhase.html
+++ b/Javadoc/com/comphenix/protocol/injector/class-use/GamePhase.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.injector.GamePhase
-
+
@@ -132,7 +132,7 @@
-PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
GamePhase gamePhase,
java.lang.Integer... packets)
@@ -140,7 +140,7 @@
-PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
GamePhase gamePhase,
java.util.Set<java.lang.Integer> packets)
@@ -148,7 +148,7 @@
-PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
@@ -157,7 +157,7 @@
-PacketAdapter(org.bukkit.plugin.Plugin plugin,
+PacketAdapter(Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
@@ -199,6 +199,19 @@ the order they are declared.
Uses of GamePhase in com.comphenix.protocol.injector.player
+
+Fields in com.comphenix.protocol.injector.player with type parameters of type GamePhase
+
+Modifier and Type
+Field and Description
+
+
+
+protected com.google.common.base.Predicate<GamePhase>
+PlayerInjectorBuilder.injectionFilter
+
+
+
Methods in com.comphenix.protocol.injector.player with parameters of type GamePhase
@@ -208,7 +221,7 @@ the order they are declared.
boolean
-NetworkServerInjector.canInject(GamePhase phase)
+NetworkObjectInjector.canInject(GamePhase phase)
PacketFilterManager.PlayerInjectHooks
@@ -217,12 +230,6 @@ the order they are declared.
-boolean
-PlayerInjectionHandler.isInjectionNecessary(GamePhase phase)
-Determine if it's truly necessary to perform the given player injection.
-
-
-
void
PlayerInjectionHandler.setPlayerHook(GamePhase phase,
PacketFilterManager.PlayerInjectHooks playerHook)
@@ -231,19 +238,19 @@ the order they are declared.
-
-Constructor parameters in com.comphenix.protocol.injector.player with type arguments of type GamePhase
+
+Method parameters in com.comphenix.protocol.injector.player with type arguments of type GamePhase
-Constructor and Description
+Modifier and Type
+Method and Description
-PlayerInjectionHandler(java.lang.ClassLoader classLoader,
- ErrorReporter reporter,
- com.google.common.base.Predicate<GamePhase> injectionFilter,
- ListenerInvoker invoker,
- java.util.Set<PacketListener> packetListeners,
- org.bukkit.Server server)
+PlayerInjectorBuilder
+PlayerInjectorBuilder.injectionFilter(com.google.common.base.Predicate<GamePhase> injectionFilter)
+The injection filter that is used to determine if it is necessary to perform
+ injection during a certain phase.
+
diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html b/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html
index d66a144c..493361b6 100644
--- a/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html
+++ b/Javadoc/com/comphenix/protocol/injector/class-use/ListenerInvoker.html
@@ -2,9 +2,9 @@
-
+
Uses of Interface com.comphenix.protocol.injector.ListenerInvoker
-
+
@@ -80,9 +80,17 @@
+com.comphenix.protocol.injector.packet
+
+
+
com.comphenix.protocol.injector.player
+
+com.comphenix.protocol.injector.spigot
+
+
@@ -106,10 +114,71 @@
+-
+
+
+
Uses of ListenerInvoker in com.comphenix.protocol.injector.packet
+
+Fields in com.comphenix.protocol.injector.packet declared as ListenerInvoker
+
+Modifier and Type
+Field and Description
+
+
+
+protected ListenerInvoker
+PacketInjectorBuilder.invoker
+
+
+
+
+Methods in com.comphenix.protocol.injector.packet with parameters of type ListenerInvoker
+
+Modifier and Type
+Method and Description
+
+
+
+PacketInjectorBuilder
+PacketInjectorBuilder.invoker(ListenerInvoker invoker)
+The packet stream invoker.
+
+
+
+
+
-
Uses of ListenerInvoker in com.comphenix.protocol.injector.player
+
+Fields in com.comphenix.protocol.injector.player declared as ListenerInvoker
+
+Modifier and Type
+Field and Description
+
+
+
+protected ListenerInvoker
+PlayerInjectorBuilder.invoker
+
+
+
+
+Methods in com.comphenix.protocol.injector.player with parameters of type ListenerInvoker
+
+Modifier and Type
+Method and Description
+
+
+
+PlayerInjectorBuilder
+PlayerInjectorBuilder.invoker(ListenerInvoker invoker)
+The packet stream invoker.
+
+
+
+
Constructors in com.comphenix.protocol.injector.player with parameters of type ListenerInvoker
@@ -117,20 +186,34 @@
-NetworkServerInjector(java.lang.ClassLoader classLoader,
+NetworkObjectInjector(java.lang.ClassLoader classLoader,
ErrorReporter reporter,
- org.bukkit.entity.Player player,
+ Player player,
ListenerInvoker invoker,
- com.comphenix.protocol.injector.player.IntegerSet sendingFilters,
- com.comphenix.protocol.injector.player.InjectedServerConnection serverInjection)
+ IntegerSet sendingFilters)
+Create a new network object injector.
+
-
-PlayerInjectionHandler(java.lang.ClassLoader classLoader,
- ErrorReporter reporter,
- com.google.common.base.Predicate<GamePhase> injectionFilter,
- ListenerInvoker invoker,
- java.util.Set<PacketListener> packetListeners,
- org.bukkit.Server server)
+
+
+
+-
+
+
+
Uses of ListenerInvoker in com.comphenix.protocol.injector.spigot
+
+Constructors in com.comphenix.protocol.injector.spigot with parameters of type ListenerInvoker
+
+Constructor and Description
+
+
+
+SpigotPacketInjector(java.lang.ClassLoader classLoader,
+ ErrorReporter reporter,
+ ListenerInvoker invoker,
+ Server server)
+Create a new spigot injector.
+
diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html
index f48c821f..24d31fac 100644
--- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html
+++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.Unwrapper.html
@@ -2,9 +2,9 @@
-
+
Uses of Interface com.comphenix.protocol.injector.PacketConstructor.Unwrapper
-
+
diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html
index eab6fe1b..8880b011 100644
--- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html
+++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketConstructor.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.injector.PacketConstructor
-
+
@@ -77,7 +77,9 @@
com.comphenix.protocol
-
+
+Contains classes for retrieving the main ProtocolMananger
object.
+
com.comphenix.protocol.injector
diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html
index 786b6423..9dd1fdcc 100644
--- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html
+++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.PlayerInjectHooks.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks
-
+
@@ -149,7 +149,7 @@ the order they are declared.
PacketFilterManager.PlayerInjectHooks
-NetworkServerInjector.getHookType()
+NetworkObjectInjector.getHookType()
PacketFilterManager.PlayerInjectHooks
diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html
index a2bdb2b0..fb6d8184 100644
--- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html
+++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.injector.PacketFilterManager
-
+
diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html
index 34c0f396..290b55ac 100644
--- a/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html
+++ b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.injector.PlayerLoggedOutException
-
+
diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html
index 27b7cb37..5e8131d8 100644
--- a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html
+++ b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.injector.PrioritizedListener
-
+
diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/SortedPacketListenerList.html b/Javadoc/com/comphenix/protocol/injector/class-use/SortedPacketListenerList.html
index 41263df7..6bc1a7c2 100644
--- a/Javadoc/com/comphenix/protocol/injector/class-use/SortedPacketListenerList.html
+++ b/Javadoc/com/comphenix/protocol/injector/class-use/SortedPacketListenerList.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.injector.SortedPacketListenerList
-
+
diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html
index 1f0ac0e8..016b3cbc 100644
--- a/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html
+++ b/Javadoc/com/comphenix/protocol/injector/class-use/StructureCache.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.injector.StructureCache
-
+
diff --git a/Javadoc/com/comphenix/protocol/injector/package-frame.html b/Javadoc/com/comphenix/protocol/injector/package-frame.html
index 7ff484d3..01df1cbd 100644
--- a/Javadoc/com/comphenix/protocol/injector/package-frame.html
+++ b/Javadoc/com/comphenix/protocol/injector/package-frame.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.injector
-
+
diff --git a/Javadoc/com/comphenix/protocol/injector/package-summary.html b/Javadoc/com/comphenix/protocol/injector/package-summary.html
index 08d91fd6..a71e8f87 100644
--- a/Javadoc/com/comphenix/protocol/injector/package-summary.html
+++ b/Javadoc/com/comphenix/protocol/injector/package-summary.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.injector
-
+
@@ -37,7 +37,7 @@
+-
+
+
+
+Classes in com.comphenix.protocol.injector used by com.comphenix.protocol.injector.packet
+
+Class and Description
+
+
+
+ListenerInvoker
+Represents an object that initiate the packet listeners.
+
+
+
+
+
-
@@ -228,6 +255,23 @@
Class and Description | +
---|
ListenerInvoker
+ Represents an object that initiate the packet listeners.
+ |
+
public interface PacketInjector
+Modifier and Type | +Method and Description | +
---|---|
boolean |
+addPacketHandler(int packetID)
+Start intercepting packets with the given packet ID.
+ |
+
void |
+cleanupAll()
+Perform any necessary cleanup before unloading ProtocolLib.
+ |
+
java.util.Set<java.lang.Integer> |
+getPacketHandlers()
+Retrieve every intercepted packet ID.
+ |
+
boolean |
+hasPacketHandler(int packetID)
+Determine if packets with the given packet ID is being intercepted.
+ |
+
PacketEvent |
+packetRecieved(PacketContainer packet,
+ Player client)
+Let the packet listeners process the given packet.
+ |
+
boolean |
+removePacketHandler(int packetID)
+Stop intercepting packets with the given packet ID.
+ |
+
void |
+undoCancel(java.lang.Integer id,
+ java.lang.Object packet)
+Undo a packet cancel.
+ |
+
void undoCancel(java.lang.Integer id, + java.lang.Object packet)+
id
- - the id of the packet.packet
- - packet to uncancel.boolean addPacketHandler(int packetID)+
packetID
- - the ID of the packets to start intercepting.boolean removePacketHandler(int packetID)+
packetID
- - the ID of the packets to stop intercepting.boolean hasPacketHandler(int packetID)+
packetID
- - the packet ID to lookup.java.util.Set<java.lang.Integer> getPacketHandlers()+
PacketEvent packetRecieved(PacketContainer packet, + Player client)+
packet
- - a packet to process.client
- - the client that sent the packet.void cleanupAll()+
public class PacketInjectorBuilder
+extends java.lang.Object
+Modifier and Type | +Field and Description | +
---|---|
protected java.lang.ClassLoader |
+classLoader |
+
protected ListenerInvoker |
+invoker |
+
protected PlayerInjectionHandler |
+playerInjection |
+
protected ErrorReporter |
+reporter |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+PacketInjectorBuilder() |
+
Modifier and Type | +Method and Description | +
---|---|
PacketInjector |
+buildInjector()
+Create a packet injector using the provided fields or the default values.
+ |
+
PacketInjectorBuilder |
+classLoader(java.lang.ClassLoader classLoader)
+Set the class loader to use during class generation.
+ |
+
PacketInjectorBuilder |
+invoker(ListenerInvoker invoker)
+The packet stream invoker.
+ |
+
static PacketInjectorBuilder |
+newBuilder()
+Retrieve a new packet injector builder.
+ |
+
PacketInjectorBuilder |
+playerInjection(PlayerInjectionHandler playerInjection)
+The packet stream invoker.
+ |
+
PacketInjectorBuilder |
+reporter(ErrorReporter reporter)
+The error reporter used by the created injector.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected java.lang.ClassLoader classLoader+
protected ListenerInvoker invoker+
protected ErrorReporter reporter+
protected PlayerInjectionHandler playerInjection+
protected PacketInjectorBuilder()+
public static PacketInjectorBuilder newBuilder()+
public PacketInjectorBuilder classLoader(@Nonnull + java.lang.ClassLoader classLoader)+
classLoader
- - new class loader.public PacketInjectorBuilder reporter(@Nonnull + ErrorReporter reporter)+
reporter
- - new error reporter.public PacketInjectorBuilder invoker(@Nonnull + ListenerInvoker invoker)+
invoker
- - the invoker.@Nonnull +public PacketInjectorBuilder playerInjection(@Nonnull + PlayerInjectionHandler playerInjection)+
invoker
- - the invoker.public PacketInjector buildInjector() + throws java.lang.IllegalAccessException+
+ Note that any non-null builder parameters must be set.
java.lang.IllegalAccessException
- If anything goes wrong in terms of reflection.public class PacketRegistry
+extends java.lang.Object
+Constructor and Description | +
---|
PacketRegistry() |
+
Modifier and Type | +Method and Description | +
---|---|
static java.util.Set<java.lang.Integer> |
+getClientPackets()
+Retrieve every known and supported client packet.
+ |
+
static java.util.Map<java.lang.Integer,java.lang.Class> |
+getOverwrittenPackets()
+Retrieve the injected proxy classes handlig each packet ID.
+ |
+
static java.lang.Class |
+getPacketClassFromID(int packetID)
+Retrieves the correct packet class from a given packet ID.
+ |
+
static java.lang.Class |
+getPacketClassFromID(int packetID,
+ boolean forceVanilla)
+Retrieves the correct packet class from a given packet ID.
+ |
+
static int |
+getPacketID(java.lang.Class<?> packet)
+Retrieve the packet ID of a given packet.
+ |
+
static java.util.Map<java.lang.Class,java.lang.Integer> |
+getPacketToID() |
+
static java.util.Map<java.lang.Integer,java.lang.Class> |
+getPreviousPackets()
+Retrieve the vanilla classes handling each packet ID.
+ |
+
static java.util.Set<java.lang.Integer> |
+getServerPackets()
+Retrieve every known and supported server packet.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static java.util.Map<java.lang.Class,java.lang.Integer> getPacketToID()+
public static java.util.Map<java.lang.Integer,java.lang.Class> getOverwrittenPackets()+
public static java.util.Map<java.lang.Integer,java.lang.Class> getPreviousPackets()+
public static java.util.Set<java.lang.Integer> getServerPackets() + throws FieldAccessException+
FieldAccessException
- If we're unable to retrieve the server packet data from Minecraft.public static java.util.Set<java.lang.Integer> getClientPackets() + throws FieldAccessException+
FieldAccessException
- If we're unable to retrieve the client packet data from Minecraft.public static java.lang.Class getPacketClassFromID(int packetID)+
packetID
- - the packet ID.public static java.lang.Class getPacketClassFromID(int packetID, + boolean forceVanilla)+
packetID
- - the packet ID.forceVanilla
- - whether or not to look for vanilla classes, not injected classes.public static int getPacketID(java.lang.Class<?> packet)+
packet
- - the type of packet to check.java.lang.IllegalArgumentException
- If this is not a valid packet.Package | +Description | +
---|---|
com.comphenix.protocol.injector.packet | ++ |
com.comphenix.protocol.injector.spigot | ++ |
Modifier and Type | +Method and Description | +
---|---|
PacketInjector |
+PacketInjectorBuilder.buildInjector()
+Create a packet injector using the provided fields or the default values.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
PacketInjector |
+SpigotPacketInjector.getPacketInjector()
+Retrieve the dummy packet injection handler.
+ |
+
Package | +Description | +
---|---|
com.comphenix.protocol.injector.packet | ++ |
Modifier and Type | +Method and Description | +
---|---|
PacketInjectorBuilder |
+PacketInjectorBuilder.classLoader(java.lang.ClassLoader classLoader)
+Set the class loader to use during class generation.
+ |
+
PacketInjectorBuilder |
+PacketInjectorBuilder.invoker(ListenerInvoker invoker)
+The packet stream invoker.
+ |
+
static PacketInjectorBuilder |
+PacketInjectorBuilder.newBuilder()
+Retrieve a new packet injector builder.
+ |
+
PacketInjectorBuilder |
+PacketInjectorBuilder.playerInjection(PlayerInjectionHandler playerInjection)
+The packet stream invoker.
+ |
+
PacketInjectorBuilder |
+PacketInjectorBuilder.reporter(ErrorReporter reporter)
+The error reporter used by the created injector.
+ |
+
Interface | +Description | +
---|---|
PacketInjector | +
+ Represents a incoming packet injector.
+ |
+
Class | +Description | +
---|---|
PacketInjectorBuilder | +
+ A builder responsible for creating incoming packet injectors.
+ |
+
PacketRegistry | +
+ Static packet registry in Minecraft.
+ |
+
Package | +Description | +
---|---|
com.comphenix.protocol.injector.packet | ++ |
com.comphenix.protocol.injector.spigot | ++ |
Class and Description | +
---|
PacketInjector
+ Represents a incoming packet injector.
+ |
+
PacketInjectorBuilder
+ A builder responsible for creating incoming packet injectors.
+ |
+
Class and Description | +
---|
PacketInjector
+ Represents a incoming packet injector.
+ |
+
public class NetworkObjectInjector
+extends java.lang.Object
+Modifier and Type | +Field and Description | +
---|---|
protected java.io.DataInputStream |
+cachedInput |
+
protected boolean |
+hasInitialized |
+
protected ListenerInvoker |
+invoker |
+
protected java.lang.Object |
+loginHandler |
+
protected java.lang.Object |
+netHandler |
+
protected static java.lang.reflect.Field |
+netHandlerField |
+
protected java.lang.Object |
+networkManager |
+
protected static java.lang.reflect.Field |
+networkManagerField |
+
protected VolatileField |
+networkManagerRef |
+
protected static StructureModifier<java.lang.Object> |
+networkModifier |
+
protected Player |
+player |
+
protected static java.lang.reflect.Method |
+processMethod |
+
protected static java.lang.reflect.Field |
+proxyServerField |
+
protected static java.lang.reflect.Method |
+queueMethod |
+
protected ErrorReporter |
+reporter |
+
protected java.lang.Runnable |
+scheduledAction |
+
protected java.lang.Object |
+serverHandler |
+
protected static java.lang.reflect.Field |
+serverHandlerField |
+
protected VolatileField |
+serverHandlerRef |
+
protected java.net.Socket |
+socket |
+
protected static java.lang.reflect.Field |
+socketField |
+
Constructor and Description | +
---|
NetworkObjectInjector(java.lang.ClassLoader classLoader,
+ ErrorReporter reporter,
+ Player player,
+ ListenerInvoker invoker,
+ IntegerSet sendingFilters)
+Create a new network object injector.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+canInject(GamePhase phase)
+Determine if this inject method can even be attempted.
+ |
+
com.comphenix.protocol.injector.player.UnsupportedListener |
+checkListener(PacketListener listener)
+Invoked before a new listener is registered.
+ |
+
protected void |
+cleanHook()
+Override to add custom cleanup behavior.
+ |
+
void |
+cleanupAll()
+Remove all hooks and modifications.
+ |
+
Player |
+createTemporaryPlayer(Server server)
+Create a temporary player for use during login.
+ |
+
void |
+disconnect(java.lang.String message)
+Attempt to disconnect the current client.
+ |
+
java.net.SocketAddress |
+getAddress()
+Retrieve the associated address of this player.
+ |
+
protected java.lang.Object |
+getEntityPlayer(Player player)
+Retrieve the notch (NMS) entity player object.
+ |
+
PacketFilterManager.PlayerInjectHooks |
+getHookType()
+Retrieve the hook type this class represents.
+ |
+
java.io.DataInputStream |
+getInputStream(boolean cache)
+Retrieve the current player's input stream.
+ |
+
ListenerInvoker |
+getInvoker()
+Object that can invoke the packet events.
+ |
+
protected java.lang.Object |
+getNetHandler()
+Retrieves the current net handler for this player.
+ |
+
java.lang.Object |
+getNetworkManager()
+Retrieve the current network manager.
+ |
+
Player |
+getPlayer()
+Retrieve the hooked player.
+ |
+
java.net.Socket |
+getSocket()
+Retrieve the associated socket of this player.
+ |
+
Player |
+getUpdatedPlayer()
+Retrieve the hooked player object OR the more up-to-date player instance.
+ |
+
void |
+handleDisconnect()
+Clean up after the player has disconnected.
+ |
+
java.lang.Object |
+handlePacketSending(java.lang.Object packet)
+Allows a packet to be sent by the listeners.
+ |
+
protected boolean |
+hasListener(int packetID)
+Determine if the given injector is listening for this packet ID.
+ |
+
protected boolean |
+hasProxyServerHandler()
+Retrieve whether or not the server handler is a proxy object.
+ |
+
void |
+initialize(java.lang.Object injectionSource)
+Initialize all fields for this player injector, if it hasn't already.
+ |
+
void |
+initializeLogin(java.lang.Object netLoginHandler)
+Initialize the player injector from a NetLoginHandler.
+ |
+
void |
+initializePlayer(Player player)
+Initialize the player injector using an actual player instance.
+ |
+
void |
+injectManager()
+Inject a hook to catch packets sent to the current player.
+ |
+
boolean |
+isClean()
+Determine whether or not this hook has already been cleaned.
+ |
+
void |
+processPacket(java.lang.Object packet)
+Processes the given packet as if it was transmitted by the current player.
+ |
+
void |
+scheduleAction(java.lang.Runnable action)
+Schedule an action to occur on the next sent packet.
+ |
+
void |
+sendServerPacket(java.lang.Object packet,
+ boolean filtered)
+Send a packet to the client.
+ |
+
void |
+setNetworkManager(java.lang.Object value,
+ boolean force)
+Set the current network manager.
+ |
+
void |
+setPlayer(Player player)
+Set the hooked player.
+ |
+
void |
+setUpdatedPlayer(Player updatedPlayer)
+Set the real Bukkit player that we will use.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected static java.lang.reflect.Field serverHandlerField+
protected static java.lang.reflect.Field proxyServerField+
protected static java.lang.reflect.Field networkManagerField+
protected static java.lang.reflect.Field netHandlerField+
protected static java.lang.reflect.Field socketField+
protected static StructureModifier<java.lang.Object> networkModifier+
protected static java.lang.reflect.Method queueMethod+
protected static java.lang.reflect.Method processMethod+
protected Player player+
protected boolean hasInitialized+
protected VolatileField networkManagerRef+
protected VolatileField serverHandlerRef+
protected java.lang.Object networkManager+
protected java.lang.Object loginHandler+
protected java.lang.Object serverHandler+
protected java.lang.Object netHandler+
protected java.net.Socket socket+
protected ListenerInvoker invoker+
protected java.io.DataInputStream cachedInput+
protected ErrorReporter reporter+
protected java.lang.Runnable scheduledAction+
public NetworkObjectInjector(java.lang.ClassLoader classLoader, + ErrorReporter reporter, + Player player, + ListenerInvoker invoker, + IntegerSet sendingFilters) + throws java.lang.IllegalAccessException+
+ Note: This class is intended to be internal. Do not use.
classLoader
- - the class loader.reporter
- - the error reporter.player
- - the player Bukkit entity.invoker
- - the packet invoker.sendingFilters
- - list of permitted packet IDs.java.lang.IllegalAccessException
- If reflection failed.protected boolean hasListener(int packetID)+
packetID
- - packet ID to check.public Player createTemporaryPlayer(Server server)+
server
- - Bukkit server.public void sendServerPacket(java.lang.Object packet, + boolean filtered) + throws java.lang.reflect.InvocationTargetException+
packet
- - server packet to send.filtered
- - whether or not the packet will be filtered by our listeners.java.lang.reflect.InvocationTargetException
public com.comphenix.protocol.injector.player.UnsupportedListener checkListener(PacketListener listener)+
+ The player injector should only return a non-null value if some or all of the packet IDs are unsupported.
listener
- - the listener that is about to be registered.public void injectManager()+
protected void cleanHook()+
public void handleDisconnect()+
public boolean canInject(GamePhase phase)+
public PacketFilterManager.PlayerInjectHooks getHookType()+
protected java.lang.Object getEntityPlayer(Player player)+
player
- - the player to retrieve.public void initialize(java.lang.Object injectionSource) + throws java.lang.IllegalAccessException+
java.lang.IllegalAccessException
- An error has occured.public void initializePlayer(Player player)+
player
- - the player to hook.public void initializeLogin(java.lang.Object netLoginHandler)+
netLoginHandler
- - the net login handler to inject.protected boolean hasProxyServerHandler()+
public java.lang.Object getNetworkManager()+
public void setNetworkManager(java.lang.Object value, + boolean force)+
value
- - new network manager.force
- - whether or not to save this value.public java.net.Socket getSocket() + throws java.lang.IllegalAccessException+
java.lang.IllegalAccessException
- If we're unable to read the socket field.public java.net.SocketAddress getAddress() + throws java.lang.IllegalAccessException+
java.lang.IllegalAccessException
- If we're unable to read the socket field.public void disconnect(java.lang.String message) + throws java.lang.reflect.InvocationTargetException+
message
- - the message to display.java.lang.reflect.InvocationTargetException
- If disconnection failed.protected java.lang.Object getNetHandler() + throws java.lang.IllegalAccessException+
java.lang.IllegalAccessException
- Unable to find or retrieve net handler.public void processPacket(java.lang.Object packet) + throws java.lang.IllegalAccessException, + java.lang.reflect.InvocationTargetException+
packet
- - packet to process.java.lang.IllegalAccessException
- If the reflection machinery failed.java.lang.reflect.InvocationTargetException
- If the underlying method caused an error.public final void cleanupAll()+
public boolean isClean()+
public java.lang.Object handlePacketSending(java.lang.Object packet)+
packet
- - packet to sent.public java.io.DataInputStream getInputStream(boolean cache)+
cache
- - whether or not to cache the result of this method.public void scheduleAction(java.lang.Runnable action)+
action
- - action to execute.public Player getPlayer()+
public void setPlayer(Player player)+
+ Should only be called during the creation of the injector.
player
- - the new hooked player.public ListenerInvoker getInvoker()+
public Player getUpdatedPlayer()+
public void setUpdatedPlayer(Player updatedPlayer)+
updatedPlayer
- - the real Bukkit player.public class PlayerInjectionHandler
-extends java.lang.Object
-public interface PlayerInjectionHandler
Constructor and Description | -
---|
PlayerInjectionHandler(java.lang.ClassLoader classLoader,
- ErrorReporter reporter,
- com.google.common.base.Predicate<GamePhase> injectionFilter,
- ListenerInvoker invoker,
- java.util.Set<PacketListener> packetListeners,
- org.bukkit.Server server) |
-
void
close()
close()
+org.bukkit.entity.Player
Player
getPlayerByConnection(java.io.DataInputStream inputStream)
org.bukkit.entity.Player
Player
getPlayerByConnection(java.io.DataInputStream inputStream,
long playerTimeout,
java.util.concurrent.TimeUnit unit)
@@ -197,89 +165,69 @@ extends java.lang.Object
void
handleDisconnect(org.bukkit.entity.Player player)
+handleDisconnect(Player player)
void
injectPlayer(org.bukkit.entity.Player player)
+injectPlayer(Player player)
boolean
isInjectionNecessary(GamePhase phase)
-void
processPacket(org.bukkit.entity.Player player,
+processPacket(Player player,
java.lang.Object mcPacket)
Process a packet as if it were sent by the given player.
void
removePacketHandler(int packetID)
void
scheduleDataInputRefresh(org.bukkit.entity.Player player)
+scheduleDataInputRefresh(Player player)
void
sendServerPacket(org.bukkit.entity.Player reciever,
+sendServerPacket(Player reciever,
PacketContainer packet,
boolean filters)
Send the given packet to the given reciever.
void
setPlayerHook(GamePhase phase,
PacketFilterManager.PlayerInjectHooks playerHook)
void
setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
boolean
uninjectPlayer(java.net.InetSocketAddress address)
boolean
uninjectPlayer(org.bukkit.entity.Player player)
-boolean
uninjectPlayer(org.bukkit.entity.Player player,
- boolean removeAuxiliary)
+uninjectPlayer(Player player)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public PlayerInjectionHandler(java.lang.ClassLoader classLoader, - ErrorReporter reporter, - com.google.common.base.Predicate<GamePhase> injectionFilter, - ListenerInvoker invoker, - java.util.Set<PacketListener> packetListeners, - org.bukkit.Server server)-
public PacketFilterManager.PlayerInjectHooks getPlayerHook()+
PacketFilterManager.PlayerInjectHooks getPlayerHook()
public PacketFilterManager.PlayerInjectHooks getPlayerHook(GamePhase phase)+
PacketFilterManager.PlayerInjectHooks getPlayerHook(GamePhase phase)
phase
- - the current game phase.public void setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)+
void setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
playerHook
- - the new injection method for reading server packets.public void setPlayerHook(GamePhase phase, +void setPlayerHook(GamePhase phase, PacketFilterManager.PlayerInjectHooks playerHook)Sets how the server packets are read.
phase
- - the current game phase.playerHook
- - the new injection method for reading server packets.public void addPacketHandler(int packetID)+
void addPacketHandler(int packetID)
packetID
- - packet ID to register.public void removePacketHandler(int packetID)+
void removePacketHandler(int packetID)
packetID
- - packet ID to unregister.public org.bukkit.entity.Player getPlayerByConnection(java.io.DataInputStream inputStream) - throws java.lang.InterruptedException+
Player getPlayerByConnection(java.io.DataInputStream inputStream) + throws java.lang.InterruptedException
inputStream
- - the associated DataInput connection.public org.bukkit.entity.Player getPlayerByConnection(java.io.DataInputStream inputStream, - long playerTimeout, - java.util.concurrent.TimeUnit unit) - throws java.lang.InterruptedException+
Player getPlayerByConnection(java.io.DataInputStream inputStream, + long playerTimeout, + java.util.concurrent.TimeUnit unit) + throws java.lang.InterruptedException
inputStream
- - the associated DataInput connection.playerTimeout
- - the amount of time to wait for a result.unit
- - unit of playerTimeout.public void injectPlayer(org.bukkit.entity.Player player)+
void injectPlayer(Player player)
This call will be ignored if there's no listener that can receive the given events.
player
- - player to hook.public boolean isInjectionNecessary(GamePhase phase)-
phase
- - current game phase.public void handleDisconnect(org.bukkit.entity.Player player)+
void handleDisconnect(Player player)
player
- - player to process.public boolean uninjectPlayer(org.bukkit.entity.Player player)+
boolean uninjectPlayer(Player player)
player
- - player to unregister.public boolean uninjectPlayer(org.bukkit.entity.Player player, - boolean removeAuxiliary)-
player
- - player to unregister.removeAuxiliary
- - TRUE to remove auxiliary information, such as input stream and address.public boolean uninjectPlayer(java.net.InetSocketAddress address)+
boolean uninjectPlayer(java.net.InetSocketAddress address)
If the server handler has been created before we've gotten a chance to unject the player, @@ -498,7 +399,7 @@ extends java.lang.Object
public void sendServerPacket(org.bukkit.entity.Player reciever, +void sendServerPacket(Player reciever, PacketContainer packet, boolean filters) throws java.lang.reflect.InvocationTargetException@@ -514,7 +415,7 @@ extends java.lang.Object
public void processPacket(org.bukkit.entity.Player player, +void processPacket(Player player, java.lang.Object mcPacket) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException@@ -531,7 +432,7 @@ extends java.lang.Object
public void checkListener(java.util.Set<PacketListener> listeners)+
void checkListener(java.util.Set<PacketListener> listeners)
listeners
- - listeners to check.public void checkListener(PacketListener listener)+
void checkListener(PacketListener listener)
If not, a warning will be printed to the console.
public java.util.Set<java.lang.Integer> getSendingFilters()+
java.util.Set<java.lang.Integer> getSendingFilters()
public void close()+
void close()+
public void scheduleDataInputRefresh(org.bukkit.entity.Player player)+
void scheduleDataInputRefresh(Player player)
player
- - the player to update.public class PlayerInjectorBuilder
+extends java.lang.Object
+Modifier and Type | +Field and Description | +
---|---|
protected java.lang.ClassLoader |
+classLoader |
+
protected com.google.common.base.Predicate<GamePhase> |
+injectionFilter |
+
protected ListenerInvoker |
+invoker |
+
protected java.util.Set<PacketListener> |
+packetListeners |
+
protected ErrorReporter |
+reporter |
+
protected Server |
+server |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+PlayerInjectorBuilder() |
+
Modifier and Type | +Method and Description | +
---|---|
PlayerInjectionHandler |
+buildHandler()
+Construct the injection handler.
+ |
+
PlayerInjectorBuilder |
+classLoader(java.lang.ClassLoader classLoader)
+Set the class loader to use during class generation.
+ |
+
PlayerInjectorBuilder |
+injectionFilter(com.google.common.base.Predicate<GamePhase> injectionFilter)
+The injection filter that is used to determine if it is necessary to perform
+ injection during a certain phase.
+ |
+
PlayerInjectorBuilder |
+invoker(ListenerInvoker invoker)
+The packet stream invoker.
+ |
+
static PlayerInjectorBuilder |
+newBuilder() |
+
PlayerInjectorBuilder |
+packetListeners(java.util.Set<PacketListener> packetListeners)
+Set the set of packet listeners.
+ |
+
PlayerInjectorBuilder |
+reporter(ErrorReporter reporter)
+The error reporter used by the created injector.
+ |
+
PlayerInjectorBuilder |
+server(Server server)
+Set the Bukkit server used for scheduling.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected java.lang.ClassLoader classLoader+
protected ErrorReporter reporter+
protected com.google.common.base.Predicate<GamePhase> injectionFilter+
protected ListenerInvoker invoker+
protected java.util.Set<PacketListener> packetListeners+
protected Server server+
protected PlayerInjectorBuilder()+
public static PlayerInjectorBuilder newBuilder()+
public PlayerInjectorBuilder classLoader(@Nonnull + java.lang.ClassLoader classLoader)+
classLoader
- - new class loader.public PlayerInjectorBuilder reporter(@Nonnull + ErrorReporter reporter)+
reporter
- - new error reporter.@Nonnull +public PlayerInjectorBuilder injectionFilter(@Nonnull + com.google.common.base.Predicate<GamePhase> injectionFilter)+
injectionFilter
- - filter predicate.public PlayerInjectorBuilder invoker(@Nonnull + ListenerInvoker invoker)+
invoker
- - the invoker.@Nonnull +public PlayerInjectorBuilder packetListeners(@Nonnull + java.util.Set<PacketListener> packetListeners)+
packetListeners
- - packet listeners.public PlayerInjectorBuilder server(@Nonnull + Server server)+
server
- - the Bukkit server.public PlayerInjectionHandler buildHandler()+
+ Any builder parameter marked as NON-NULL is essential and must be initialized.
Package | +Description | +
---|---|
com.comphenix.protocol.injector.packet | ++ |
com.comphenix.protocol.injector.player | ++ |
com.comphenix.protocol.injector.spigot | ++ |
Modifier and Type | +Field and Description | +
---|---|
protected PlayerInjectionHandler |
+PacketInjectorBuilder.playerInjection |
+
Modifier and Type | +Method and Description | +
---|---|
PacketInjectorBuilder |
+PacketInjectorBuilder.playerInjection(PlayerInjectionHandler playerInjection)
+The packet stream invoker.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
PlayerInjectionHandler |
+PlayerInjectorBuilder.buildHandler()
+Construct the injection handler.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
PlayerInjectionHandler |
+SpigotPacketInjector.getPlayerHandler()
+Retrieve the dummy player injection handler.
+ |
+
output
- - the target output stream.stack
- - the item stack that will be written, or NULL to represent air/nothing.java.io.IOException
- If the operation fails due to reflection problems.public java.lang.String serializeItemStack(org.bukkit.inventory.ItemStack stack) +public java.lang.String serializeItemStack(ItemStack stack) throws java.io.IOException-Serialize an item stack as a base-64 encoded string.-
stack
- - the item stack to serialize.+ Note: An ItemStack can be written to the serialized text even if it's NULL.
stack
- - the item stack to serialize, or NULL to represent air/nothing.java.io.IOException
- If the operation fails due to reflection problems.static WrappedScheduler.TaskWrapper
runAsynchronouslyOnce(org.bukkit.plugin.Plugin plugin,
+runAsynchronouslyOnce(Plugin plugin,
java.lang.Runnable runnable,
long firstDelay)
Schedule a given task for a single asynchronous execution.
@@ -167,8 +167,8 @@ extends java.lang.Object
static WrappedScheduler.TaskWrapper
runAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin,
- org.bukkit.scheduler.BukkitScheduler scheduler,
+runAsynchronouslyRepeat(Plugin plugin,
+ BukkitScheduler scheduler,
java.lang.Runnable runnable,
long firstDelay,
long repeatDelay)
@@ -177,7 +177,7 @@ extends java.lang.Object
static WrappedScheduler.TaskWrapper
runAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin,
+runAsynchronouslyRepeat(Plugin plugin,
java.lang.Runnable runnable,
long firstDelay,
long repeatDelay)
@@ -229,7 +229,7 @@ extends java.lang.Object
-
runAsynchronouslyOnce
-public static WrappedScheduler.TaskWrapper runAsynchronouslyOnce(org.bukkit.plugin.Plugin plugin,
+public static WrappedScheduler.TaskWrapper runAsynchronouslyOnce(Plugin plugin,
java.lang.Runnable runnable,
long firstDelay)
Schedule a given task for a single asynchronous execution.
@@ -243,7 +243,7 @@ extends java.lang.Object
-
runAsynchronouslyRepeat
-public static WrappedScheduler.TaskWrapper runAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin,
+public static WrappedScheduler.TaskWrapper runAsynchronouslyRepeat(Plugin plugin,
java.lang.Runnable runnable,
long firstDelay,
long repeatDelay)
@@ -258,8 +258,8 @@ extends java.lang.Object
-
runAsynchronouslyRepeat
-public static WrappedScheduler.TaskWrapper runAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin,
- org.bukkit.scheduler.BukkitScheduler scheduler,
+public static WrappedScheduler.TaskWrapper runAsynchronouslyRepeat(Plugin plugin,
+ BukkitScheduler scheduler,
java.lang.Runnable runnable,
long firstDelay,
long repeatDelay)
diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html b/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html
index 307dc869..188eb561 100644
--- a/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html
+++ b/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.utility.ChatExtensions
-
+
diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftReflection.html b/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftReflection.html
index 8c59bfe5..f3d45611 100644
--- a/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftReflection.html
+++ b/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftReflection.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.utility.MinecraftReflection
-
+
diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/StreamSerializer.html b/Javadoc/com/comphenix/protocol/utility/class-use/StreamSerializer.html
index db693c7f..45f8ba7a 100644
--- a/Javadoc/com/comphenix/protocol/utility/class-use/StreamSerializer.html
+++ b/Javadoc/com/comphenix/protocol/utility/class-use/StreamSerializer.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.utility.StreamSerializer
-
+
diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.TaskWrapper.html b/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.TaskWrapper.html
index 0b3436bc..95f05996 100644
--- a/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.TaskWrapper.html
+++ b/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.TaskWrapper.html
@@ -2,9 +2,9 @@
-
+
Uses of Interface com.comphenix.protocol.utility.WrappedScheduler.TaskWrapper
-
+
@@ -97,7 +97,7 @@
static WrappedScheduler.TaskWrapper
-WrappedScheduler.runAsynchronouslyOnce(org.bukkit.plugin.Plugin plugin,
+WrappedScheduler.runAsynchronouslyOnce(Plugin plugin,
java.lang.Runnable runnable,
long firstDelay)
Schedule a given task for a single asynchronous execution.
@@ -105,8 +105,8 @@
static WrappedScheduler.TaskWrapper
-WrappedScheduler.runAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin,
- org.bukkit.scheduler.BukkitScheduler scheduler,
+WrappedScheduler.runAsynchronouslyRepeat(Plugin plugin,
+ BukkitScheduler scheduler,
java.lang.Runnable runnable,
long firstDelay,
long repeatDelay)
@@ -115,7 +115,7 @@
static WrappedScheduler.TaskWrapper
-WrappedScheduler.runAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin,
+WrappedScheduler.runAsynchronouslyRepeat(Plugin plugin,
java.lang.Runnable runnable,
long firstDelay,
long repeatDelay)
diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.html b/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.html
index 357e194c..4c6fa756 100644
--- a/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.html
+++ b/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.utility.WrappedScheduler
-
+
diff --git a/Javadoc/com/comphenix/protocol/utility/package-frame.html b/Javadoc/com/comphenix/protocol/utility/package-frame.html
index 789f642c..0d58fa81 100644
--- a/Javadoc/com/comphenix/protocol/utility/package-frame.html
+++ b/Javadoc/com/comphenix/protocol/utility/package-frame.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.utility
-
+
diff --git a/Javadoc/com/comphenix/protocol/utility/package-summary.html b/Javadoc/com/comphenix/protocol/utility/package-summary.html
index 795b49e6..38fdf188 100644
--- a/Javadoc/com/comphenix/protocol/utility/package-summary.html
+++ b/Javadoc/com/comphenix/protocol/utility/package-summary.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.utility
-
+
diff --git a/Javadoc/com/comphenix/protocol/utility/package-tree.html b/Javadoc/com/comphenix/protocol/utility/package-tree.html
index 4af119eb..5717bed5 100644
--- a/Javadoc/com/comphenix/protocol/utility/package-tree.html
+++ b/Javadoc/com/comphenix/protocol/utility/package-tree.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.utility Class Hierarchy
-
+
diff --git a/Javadoc/com/comphenix/protocol/utility/package-use.html b/Javadoc/com/comphenix/protocol/utility/package-use.html
index 15914092..19624f93 100644
--- a/Javadoc/com/comphenix/protocol/utility/package-use.html
+++ b/Javadoc/com/comphenix/protocol/utility/package-use.html
@@ -2,9 +2,9 @@
-
+
Uses of Package com.comphenix.protocol.utility
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html b/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html
index ba5f79d8..f77af7fd 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html
@@ -2,9 +2,9 @@
-
+
BukkitConverters
-
+
@@ -143,8 +143,8 @@ extends java.lang.Object
-static EquivalentConverter<org.bukkit.entity.Entity>
-getEntityConverter(org.bukkit.World world)
+static EquivalentConverter<Entity>
+getEntityConverter(World world)
Retrieve a converter for NMS entities and Bukkit entities.
@@ -155,7 +155,7 @@ extends java.lang.Object
-static EquivalentConverter<org.bukkit.inventory.ItemStack>
+static EquivalentConverter<ItemStack>
getItemStackConverter()
Retrieve the converter used to convert NMS ItemStacks to Bukkit's ItemStack.
@@ -178,7 +178,7 @@ extends java.lang.Object
-static EquivalentConverter<org.bukkit.WorldType>
+static EquivalentConverter<WorldType>
getWorldTypeConverter()
Retrieve a converter for Bukkit's world type enum and the NMS equivalent.
@@ -260,7 +260,7 @@ extends java.lang.Object
-
getWorldTypeConverter
-public static EquivalentConverter<org.bukkit.WorldType> getWorldTypeConverter()
+public static EquivalentConverter<WorldType> getWorldTypeConverter()
Retrieve a converter for Bukkit's world type enum and the NMS equivalent.
- Returns:
- A world type enum converter.
@@ -282,7 +282,7 @@ extends java.lang.Object
-
getEntityConverter
-public static EquivalentConverter<org.bukkit.entity.Entity> getEntityConverter(org.bukkit.World world)
+public static EquivalentConverter<Entity> getEntityConverter(World world)
Retrieve a converter for NMS entities and Bukkit entities.
- Parameters:
world
- - the current world.
- Returns:
- A converter between the underlying NMS entity and Bukkit's wrapper.
@@ -294,7 +294,7 @@ extends java.lang.Object
-
getItemStackConverter
-public static EquivalentConverter<org.bukkit.inventory.ItemStack> getItemStackConverter()
+public static EquivalentConverter<ItemStack> getItemStackConverter()
Retrieve the converter used to convert NMS ItemStacks to Bukkit's ItemStack.
- Returns:
- Item stack converter.
diff --git a/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html b/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html
index e1d675cb..d2b73a88 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html
@@ -2,9 +2,9 @@
-
+
ChunkPosition
-
+
@@ -159,7 +159,7 @@ extends java.lang.Object
-ChunkPosition(org.bukkit.util.Vector vector)
+ChunkPosition(Vector vector)
Construct an immutable integer 3D vector from a mutable Bukkit vector.
@@ -235,7 +235,7 @@ extends java.lang.Object
-org.bukkit.util.Vector
+Vector
toVector()
Convert this instance to an equivalent real 3D vector.
@@ -325,7 +325,7 @@ extends java.lang.Object
-
ChunkPosition
-public ChunkPosition(org.bukkit.util.Vector vector)
+public ChunkPosition(Vector vector)
Construct an immutable integer 3D vector from a mutable Bukkit vector.
- Parameters:
vector
- - the mutable real Bukkit vector to copy.
@@ -344,7 +344,7 @@ extends java.lang.Object
-
toVector
-public org.bukkit.util.Vector toVector()
+public Vector toVector()
Convert this instance to an equivalent real 3D vector.
- Returns:
- Real 3D vector.
diff --git a/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html b/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html
index cdb5b058..7a4d1db0 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html
@@ -2,9 +2,9 @@
-
+
WrappedChunkCoordinate
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html b/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html
index 5c3c0cfd..f2e5bf36 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html
@@ -2,9 +2,9 @@
-
+
WrappedDataWatcher
-
+
@@ -196,7 +196,7 @@ implements java.lang.Iterable<
static WrappedDataWatcher
-getEntityWatcher(org.bukkit.entity.Entity entity)
+getEntityWatcher(Entity entity)
Retrieve the data watcher associated with an entity.
@@ -219,7 +219,7 @@ implements java.lang.Iterable<
-org.bukkit.inventory.ItemStack
+ItemStack
getItemStack(int index)
Get a watched string.
@@ -524,8 +524,8 @@ implements java.lang.Iterable<
-
getItemStack
-public org.bukkit.inventory.ItemStack getItemStack(int index)
- throws FieldAccessException
+public ItemStack getItemStack(int index)
+ throws FieldAccessException
Get a watched string.
- Parameters:
index
- - index of the watched string.
- Returns:
- The watched string, or NULL if this value doesn't exist.
@@ -719,7 +719,7 @@ implements java.lang.Iterable<
-
getEntityWatcher
-public static WrappedDataWatcher getEntityWatcher(org.bukkit.entity.Entity entity)
+public static WrappedDataWatcher getEntityWatcher(Entity entity)
throws FieldAccessException
Retrieve the data watcher associated with an entity.
- Parameters:
entity
- - the entity to read from.
diff --git a/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html b/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html
index d0ba864c..2b6c46ee 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html
@@ -2,9 +2,9 @@
-
+
WrappedWatchableObject
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html
index 220ac796..3ec1eb4a 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.wrappers.BukkitConverters
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html
index 03576e7f..98d7235c 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.wrappers.ChunkPosition
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html
index ddc6d094..bb6341cf 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html
index 014d6ea4..0065c31d 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
+
@@ -127,7 +127,7 @@
static WrappedDataWatcher
-WrappedDataWatcher.getEntityWatcher(org.bukkit.entity.Entity entity)
+ WrappedDataWatcher.getEntityWatcher(Entity entity)
Retrieve the data watcher associated with an entity.
diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html
index a3aa09d9..bb70364f 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtBase.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtBase.html
index 6c1647f6..3086b7b3 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtBase.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtBase.html
@@ -2,9 +2,9 @@
-
+
NbtBase
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompound.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompound.html
index df556c0c..dfdbf01e 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompound.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompound.html
@@ -2,9 +2,9 @@
-
+
NbtCompound
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html
index cd6099d7..e7924cc7 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html
@@ -2,9 +2,9 @@
-
+
NbtFactory
-
+
@@ -156,7 +156,7 @@ extends java.lang.Object
static NbtWrapper<?>
-fromItemTag(org.bukkit.inventory.ItemStack stack)
+fromItemTag(ItemStack stack)
Construct a wrapper for an NBT tag stored (in memory) in an item stack.
@@ -366,7 +366,7 @@ extends java.lang.Object
-
fromItemTag
-public static NbtWrapper<?> fromItemTag(org.bukkit.inventory.ItemStack stack)
+public static NbtWrapper<?> fromItemTag(ItemStack stack)
Construct a wrapper for an NBT tag stored (in memory) in an item stack. This is where
auxillary data such as enchanting, name and lore is stored. It doesn't include the items
material, damage value or count.
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html
index 480c9856..53c894a8 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html
@@ -2,9 +2,9 @@
-
+
NbtList
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html
index 40b5b991..5279c5f5 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html
@@ -2,9 +2,9 @@
-
+
NbtType
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html
index f77b5f36..7ad1f52a 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html
@@ -2,9 +2,9 @@
-
+
NbtVisitor
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html
index 4f3b6072..194fe539 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html
@@ -2,9 +2,9 @@
-
+
NbtWrapper
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html
index acd12f47..40d149a6 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html
@@ -2,9 +2,9 @@
-
+
Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtBase
-
+
@@ -375,7 +375,7 @@
<TType> void
NbtConfigurationSerializer.serialize(NbtBase<TType> value,
- org.bukkit.configuration.ConfigurationSection destination)
+ ConfigurationSection destination)
Write the content of a NBT tag to a configuration section.
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html
index f3a2ae86..88176df1 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html
@@ -2,9 +2,9 @@
-
+
Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
+
@@ -280,7 +280,7 @@
NbtCompound
-NbtConfigurationSerializer.deserializeCompound(org.bukkit.configuration.file.YamlConfiguration root,
+NbtConfigurationSerializer.deserializeCompound(YamlConfiguration root,
java.lang.String nodeName)
Read a NBT compound from a root configuration.
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html
index e6edb355..7f62293c 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html
index 8cec5e72..d451e37b 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html
@@ -2,9 +2,9 @@
-
+
Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtList
-
+
@@ -186,7 +186,7 @@
<T> NbtList<T>
-NbtConfigurationSerializer.deserializeList(org.bukkit.configuration.file.YamlConfiguration root,
+NbtConfigurationSerializer.deserializeList(YamlConfiguration root,
java.lang.String nodeName)
Read a NBT compound from a root configuration.
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html
index 8ab595c2..908522e0 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.wrappers.nbt.NbtType
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html
index 73920643..3aef5ac0 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html
@@ -2,9 +2,9 @@
-
+
Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtVisitor
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html
index 9e490fcc..6ffbce20 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html
@@ -2,9 +2,9 @@
-
+
Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtWrapper
-
+
@@ -107,7 +107,7 @@
static NbtWrapper<?>
-NbtFactory.fromItemTag(org.bukkit.inventory.ItemStack stack)
+ NbtFactory.fromItemTag(ItemStack stack)
Construct a wrapper for an NBT tag stored (in memory) in an item stack.
@@ -156,7 +156,7 @@
<TType> NbtWrapper<TType>
-NbtConfigurationSerializer.deserialize(org.bukkit.configuration.ConfigurationSection root,
+NbtConfigurationSerializer.deserialize(ConfigurationSection root,
java.lang.String nodeName)
Read a NBT tag from a root configuration.
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html
index 782c8e03..c3c30a41 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html
@@ -2,9 +2,9 @@
-
+
NbtBinarySerializer
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html
index ade3c16e..4f8f349c 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html
@@ -2,9 +2,9 @@
-
+
NbtConfigurationSerializer
-
+
@@ -175,21 +175,21 @@ extends java.lang.Object
<TType> NbtWrapper<TType>
-deserialize(org.bukkit.configuration.ConfigurationSection root,
+deserialize(ConfigurationSection root,
java.lang.String nodeName)
Read a NBT tag from a root configuration.
NbtCompound
-deserializeCompound(org.bukkit.configuration.file.YamlConfiguration root,
+deserializeCompound(YamlConfiguration root,
java.lang.String nodeName)
Read a NBT compound from a root configuration.
<T> NbtList<T>
-deserializeList(org.bukkit.configuration.file.YamlConfiguration root,
+deserializeList(YamlConfiguration root,
java.lang.String nodeName)
Read a NBT compound from a root configuration.
@@ -203,7 +203,7 @@ extends java.lang.Object
<TType> void
serialize(NbtBase<TType> value,
- org.bukkit.configuration.ConfigurationSection destination)
+ ConfigurationSection destination)
Write the content of a NBT tag to a configuration section.
@@ -310,7 +310,7 @@ extends java.lang.Object
-
serialize
public <TType> void serialize(NbtBase<TType> value,
- org.bukkit.configuration.ConfigurationSection destination)
+ ConfigurationSection destination)
Write the content of a NBT tag to a configuration section.
- Parameters:
value
- - the NBT tag to write.destination
- - the destination section.
@@ -321,7 +321,7 @@ extends java.lang.Object
-
deserialize
-public <TType> NbtWrapper<TType> deserialize(org.bukkit.configuration.ConfigurationSection root,
+public <TType> NbtWrapper<TType> deserialize(ConfigurationSection root,
java.lang.String nodeName)
Read a NBT tag from a root configuration.
- Parameters:
root
- - configuration that contains the NBT tag.nodeName
- - name of the NBT tag.
@@ -334,7 +334,7 @@ extends java.lang.Object
-
deserializeCompound
-public NbtCompound deserializeCompound(org.bukkit.configuration.file.YamlConfiguration root,
+public NbtCompound deserializeCompound(YamlConfiguration root,
java.lang.String nodeName)
Read a NBT compound from a root configuration.
- Parameters:
root
- - configuration that contains the NBT compound.nodeName
- - name of the NBT compound.
@@ -347,7 +347,7 @@ extends java.lang.Object
-
deserializeList
-public <T> NbtList<T> deserializeList(org.bukkit.configuration.file.YamlConfiguration root,
+public <T> NbtList<T> deserializeList(YamlConfiguration root,
java.lang.String nodeName)
Read a NBT compound from a root configuration.
- Parameters:
root
- - configuration that contains the NBT compound.nodeName
- - name of the NBT compound.
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html
index ee0991b6..7bafea0e 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html
@@ -2,9 +2,9 @@
-
+
NbtTextSerializer
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html
index 34673652..46eef061 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.wrappers.nbt.io.NbtBinarySerializer
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html
index 78a25f12..4790df3f 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html
index 6cac885b..547ad2fc 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html
@@ -2,9 +2,9 @@
-
+
Uses of Class com.comphenix.protocol.wrappers.nbt.io.NbtTextSerializer
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html
index 83aba6c8..2c4f541b 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.wrappers.nbt.io
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html
index 5c863963..bb984948 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.wrappers.nbt.io
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html
index dcd9de97..a4eea5c0 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.wrappers.nbt.io Class Hierarchy
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html
index 0630a1f2..f3106bbb 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html
@@ -2,9 +2,9 @@
-
+
Uses of Package com.comphenix.protocol.wrappers.nbt.io
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html
index 171513ef..84ac8e16 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.wrappers.nbt
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html
index 17466fe3..fccf0272 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.wrappers.nbt
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html
index b75f9af5..4fb23ac5 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.wrappers.nbt Class Hierarchy
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html
index 5d298af0..e86edb70 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html
@@ -2,9 +2,9 @@
-
+
Uses of Package com.comphenix.protocol.wrappers.nbt
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-frame.html b/Javadoc/com/comphenix/protocol/wrappers/package-frame.html
index 21577707..25c758b3 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/package-frame.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/package-frame.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.wrappers
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-summary.html b/Javadoc/com/comphenix/protocol/wrappers/package-summary.html
index d1369611..af12d0d7 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/package-summary.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/package-summary.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.wrappers
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-tree.html b/Javadoc/com/comphenix/protocol/wrappers/package-tree.html
index 5ed30fd3..708a9ec6 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/package-tree.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/package-tree.html
@@ -2,9 +2,9 @@
-
+
com.comphenix.protocol.wrappers Class Hierarchy
-
+
diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-use.html b/Javadoc/com/comphenix/protocol/wrappers/package-use.html
index 712f2647..3feeb902 100644
--- a/Javadoc/com/comphenix/protocol/wrappers/package-use.html
+++ b/Javadoc/com/comphenix/protocol/wrappers/package-use.html
@@ -2,9 +2,9 @@
-
+
Uses of Package com.comphenix.protocol.wrappers
-
+
diff --git a/Javadoc/constant-values.html b/Javadoc/constant-values.html
index 15b9ccda..d594e7ce 100644
--- a/Javadoc/constant-values.html
+++ b/Javadoc/constant-values.html
@@ -2,9 +2,9 @@
-
+
Constant Field Values
-
+
@@ -76,6 +76,25 @@
-
+com.comphenix.protocol.Packets
+
+Modifier and Type
+Constant Field
+Value
+
+
+
+
+
+public static final int
+MAXIMUM_PACKET_ID
+255
+
+
+
+
+-
+
com.comphenix.protocol.Packets.Client
Modifier and Type
diff --git a/Javadoc/deprecated-list.html b/Javadoc/deprecated-list.html
index f5a0583c..e0babc43 100644
--- a/Javadoc/deprecated-list.html
+++ b/Javadoc/deprecated-list.html
@@ -2,9 +2,9 @@
-
+
Deprecated List
-
+
@@ -81,9 +81,12 @@
-com.comphenix.protocol.Packets.Server.PICKUP_SPAWN
+com.comphenix.protocol.utility.MinecraftReflection.MINECRAFT_OBJECT
+com.comphenix.protocol.Packets.Server.PICKUP_SPAWN
+
+
com.comphenix.protocol.Packets.Client.RESPAWN
diff --git a/Javadoc/help-doc.html b/Javadoc/help-doc.html
index c2538f2c..7806ec41 100644
--- a/Javadoc/help-doc.html
+++ b/Javadoc/help-doc.html
@@ -2,9 +2,9 @@
-
+
API Help
-
+
diff --git a/Javadoc/index-files/index-1.html b/Javadoc/index-files/index-1.html
index f474c797..8b849c75 100644
--- a/Javadoc/index-files/index-1.html
+++ b/Javadoc/index-files/index-1.html
@@ -2,9 +2,9 @@
-
+
A-Index
-
+
@@ -77,6 +77,26 @@
- AbstractConcurrentListenerMultimap() - Constructor for class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
-
+- AbstractFuzzyMatcher<T> - Class in com.comphenix.protocol.reflect.fuzzy
+-
+Represents a matcher for fields, methods, constructors and classes.
+
+- AbstractFuzzyMatcher() - Constructor for class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
+-
+- AbstractFuzzyMember<T extends java.lang.reflect.Member> - Class in com.comphenix.protocol.reflect.fuzzy
+-
+Represents a matcher that matches members.
+
+- AbstractFuzzyMember() - Constructor for class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
+-
+- AbstractFuzzyMember(AbstractFuzzyMember<T>) - Constructor for class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
+-
+- AbstractFuzzyMember.Builder<T extends AbstractFuzzyMember<?>> - Class in com.comphenix.protocol.reflect.fuzzy
+-
+Represents a builder of a fuzzy member contract.
+
+- AbstractFuzzyMember.Builder() - Constructor for class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
+-
- AbstractIntervalTree<TKey extends java.lang.Comparable<TKey>,TValue> - Class in com.comphenix.protocol.concurrency
-
Represents a generic store of intervals and associated values.
@@ -99,6 +119,10 @@
-
Accepts a NBT visitor.
+ - add(int) - Method in class com.comphenix.protocol.concurrency.IntegerSet
+-
+Add the given element to the set, or do nothing if it already exists.
+
- add(T) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
Inserts the given element in the proper location.
@@ -151,25 +175,21 @@
-
Add a value to a typed list by attempting to convert it to the nearest value.
- - addCustomData(Metrics.Plotter) - Method in class com.comphenix.protocol.metrics.Metrics
--
-Adds a custom data plotter to the default graph
-
- addEndPoint(TKey, TValue, AbstractIntervalTree.State) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
- addGlobalParameter(String, Object) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
Adds the given global parameter.
-- addGraph(Metrics.Graph) - Method in class com.comphenix.protocol.metrics.Metrics
--
-Add a Graph object to BukkitMetrics that represents data for the plugin that should be sent to the backend
-
- addListener(TListener, ListeningWhitelist) - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
-
Adds a listener to its requested list of packet recievers.
-- addPacketHandler(int) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- addPacketHandler(int) - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
+-
+Start intercepting packets with the given packet ID.
+
+- addPacketHandler(int) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Add an underlying packet handler of the given ID.
@@ -179,10 +199,6 @@
-
Adds a packet listener.
-- addPlotter(Metrics.Plotter) - Method in class com.comphenix.protocol.metrics.Metrics.Graph
--
-Add a plotter to the graph, which will be used to plot entries
-
- addPrefix(String, String) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
Adds the given prefix to every line in the text.
@@ -203,6 +219,10 @@
-
Supplies the cloner factories with necessary parameters.
+ - and(AbstractFuzzyMatcher<T>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
+-
+Require that this and the given matcher be TRUE.
+
- andThen(Class<? extends Cloner>) - Method in class com.comphenix.protocol.reflect.cloning.AggregateCloner.Builder
-
Add the next cloner that will be considered in turn.
diff --git a/Javadoc/index-files/index-10.html b/Javadoc/index-files/index-10.html
index 2b0164ac..54a880cf 100644
--- a/Javadoc/index-files/index-10.html
+++ b/Javadoc/index-files/index-10.html
@@ -2,9 +2,9 @@
-
+
K-Index
-
+
diff --git a/Javadoc/index-files/index-11.html b/Javadoc/index-files/index-11.html
index f9b8144b..b8604166 100644
--- a/Javadoc/index-files/index-11.html
+++ b/Javadoc/index-files/index-11.html
@@ -2,9 +2,9 @@
-
+
L-Index
-
+
diff --git a/Javadoc/index-files/index-12.html b/Javadoc/index-files/index-12.html
index 4e4bd02d..49c96e31 100644
--- a/Javadoc/index-files/index-12.html
+++ b/Javadoc/index-files/index-12.html
@@ -2,9 +2,9 @@
-
+
M-Index
-
+
@@ -73,54 +73,86 @@
-
- MAP_CHUNK_BULK - Static variable in class com.comphenix.protocol.Packets.Server
-
+- matchAnyOf(Class<?>...) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
+-
+Construct a class matcher that matches any of the given classes exactly.
+
+- matchAnyOf(Set<Class<?>>) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
+-
+Construct a class matcher that matches any of the given classes exactly.
+
+- matchDerived(Class<?>) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
+-
+Construct a class matcher that matches derived types of the given class.
+
+- matchExact(Class<?>) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
+-
+Construct a class matcher that matches types exactly.
+
+- matchParent() - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
+-
+Match the parent class of a method, field or constructor.
+
+- matchRegex(Pattern, int) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
+-
+Construct a class matcher based on the canonical names of classes.
+
+- matchRegex(String, int) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
+-
+Construct a class matcher based on the canonical names of classes.
+
+- matchSuper(Class<?>) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
+-
+Construct a class matcher that matches super types of the given class.
+
- maxErrorCount - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
+- MAXIMUM_PACKET_ID - Static variable in class com.comphenix.protocol.Packets
+-
+The highest possible packet ID.
+
+- member - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
+-
- members - Variable in class com.comphenix.protocol.reflect.IntEnum
-
+- method(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
+-
+Add a new method contract.
+
+- method(FuzzyMethodContract.Builder) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
+-
+Add a new method contract via a builder.
+
+- MethodInfo - Class in com.comphenix.protocol.reflect
+-
+Represents a method or a constructor.
+
+- MethodInfo() - Constructor for class com.comphenix.protocol.reflect.MethodInfo
+-
- MethodUtils - Class in com.comphenix.protocol.reflect
-
Utility reflection methods focussed on methods in general rather than properties in particular.
- MethodUtils() - Constructor for class com.comphenix.protocol.reflect.MethodUtils
-
-- Metrics - Class in com.comphenix.protocol.metrics
--
- The metrics class obtains data about a plugin and submits statistics about it to the metrics backend.
-
-- Metrics(Plugin) - Constructor for class com.comphenix.protocol.metrics.Metrics
--
-- Metrics.Graph - Class in com.comphenix.protocol.metrics
--
-Represents a custom graph on the website
-
-- Metrics.Plotter - Class in com.comphenix.protocol.metrics
--
-Interface used to collect custom data for a plugin
-
-- Metrics.Plotter() - Constructor for class com.comphenix.protocol.metrics.Metrics.Plotter
--
-Construct a plotter with the default plot name
-
-- Metrics.Plotter(String) - Constructor for class com.comphenix.protocol.metrics.Metrics.Plotter
--
-Construct a plotter with a specific plot name
-
- MINECRAFT_OBJECT - Static variable in class com.comphenix.protocol.utility.MinecraftReflection
-
-Regular expression that matches a Minecraft object.
+Deprecated.
- MinecraftReflection - Class in com.comphenix.protocol.utility
-
Methods and constants specifically used in conjuction with reflecting Minecraft object.
-- MinecraftReflection() - Constructor for class com.comphenix.protocol.utility.MinecraftReflection
--
- MOB_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
-
- MOB_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
-
- modifier - Variable in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
+- modifiersBanned - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
+-
+- modifiersRequired - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
+-
- modify(int, Function<TField, TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
Correctly modifies the value of a field.
diff --git a/Javadoc/index-files/index-13.html b/Javadoc/index-files/index-13.html
index 6f0fa351..343c96e7 100644
--- a/Javadoc/index-files/index-13.html
+++ b/Javadoc/index-files/index-13.html
@@ -2,9 +2,9 @@
-
+
N-Index
-
+
@@ -71,6 +71,32 @@
-
- NAMED_SOUND_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
-
+- nameExact(String) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
+-
+Set the exact name of the member we are matching.
+
+- nameExact(String) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
+-
+- nameExact(String) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+- nameRegex(String) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
+-
+Set the regular expresson that matches a members name.
+
+- nameRegex(Pattern) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
+-
+Set the regular expression pattern that matches a members name.
+
+- nameRegex - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
+-
+- nameRegex(String) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
+-
+- nameRegex(Pattern) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
+-
+- nameRegex(String) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+- nameRegex(Pattern) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
- NbtBase<TType> - Interface in com.comphenix.protocol.wrappers.nbt
-
Represents a generic container for an NBT element.
@@ -127,20 +153,61 @@
-
Indicates that this NBT wraps an underlying net.minecraft.server instance.
- - NetworkServerInjector - Class in com.comphenix.protocol.injector.player
+- NetworkObjectInjector - Class in com.comphenix.protocol.injector.player
-
-Represents a player hook into the NetServerHandler class.
+Injection method that overrides the NetworkHandler itself, and its queue-method.
-- NetworkServerInjector(ClassLoader, ErrorReporter, Player, ListenerInvoker, IntegerSet, InjectedServerConnection) - Constructor for class com.comphenix.protocol.injector.player.NetworkServerInjector
+- NetworkObjectInjector(ClassLoader, ErrorReporter, Player, ListenerInvoker, IntegerSet) - Constructor for class com.comphenix.protocol.injector.player.NetworkObjectInjector
+-
+Create a new network object injector.
+
+- newBuilder() - Static method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
+-
+Retrieve a new packet injector builder.
+
+- newBuilder() - Static method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
-
- newBuilder() - Static method in class com.comphenix.protocol.reflect.cloning.AggregateCloner
-
Begins constructing a new aggregate cloner.
+- newBuilder() - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
+-
+Construct a new fuzzy class contract builder.
+
+- newBuilder() - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
+-
+Return a new fuzzy field contract builder.
+
+- newBuilder() - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
+-
+Return a method contract builder.
+
- newPacket(int) - Static method in class com.comphenix.protocol.injector.StructureCache
-
Creates an empty Minecraft packet of the given ID.
+- NotConstructableException - Exception in com.comphenix.protocol.reflect.instances
+-
+Invoked when a instance provider indicates that a given type cannot or should not be
+ constructed under any circumstances.
+
+- NotConstructableException() - Constructor for exception com.comphenix.protocol.reflect.instances.NotConstructableException
+-
+Construct a new not constructable exception.
+
+- NotConstructableException(String) - Constructor for exception com.comphenix.protocol.reflect.instances.NotConstructableException
+-
+Construct a new not constructable exception with a custom message.
+
+- NotConstructableException(String, Throwable) - Constructor for exception com.comphenix.protocol.reflect.instances.NotConstructableException
+-
+Construct a new not constructable exception with a custom message and cause.
+
+- NotConstructableException(Throwable) - Constructor for exception com.comphenix.protocol.reflect.instances.NotConstructableException
+-
+Construct a new not constructable exception with a custom cause.
+
- NullableCloner - Class in com.comphenix.protocol.reflect.cloning
-
Creates a cloner wrapper that accepts and clones NULL values.
diff --git a/Javadoc/index-files/index-14.html b/Javadoc/index-files/index-14.html
index 7beb889b..adf3a626 100644
--- a/Javadoc/index-files/index-14.html
+++ b/Javadoc/index-files/index-14.html
@@ -2,9 +2,9 @@
-
+
O-Index
-
+
@@ -155,10 +155,6 @@
- onLoad() - Method in class com.comphenix.protocol.ProtocolLibrary
-
-- onOptOut() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
--
-Called when the server owner decides to opt-out of BukkitMetrics while the server is running.
-
- onPacketReceiving(PacketEvent) - Method in class com.comphenix.protocol.events.PacketAdapter
-
- onPacketReceiving(PacketEvent) - Method in interface com.comphenix.protocol.events.PacketListener
@@ -173,6 +169,10 @@
- OPEN_WINDOW - Static variable in class com.comphenix.protocol.Packets.Server
-
+- or(AbstractFuzzyMatcher<T>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
+-
+Require that either this or the other given matcher be TRUE.
+
- ORIGIN - Static variable in class com.comphenix.protocol.wrappers.ChunkPosition
-
Represents the null (0, 0, 0) origin.
diff --git a/Javadoc/index-files/index-15.html b/Javadoc/index-files/index-15.html
index 342de28d..3db9bd06 100644
--- a/Javadoc/index-files/index-15.html
+++ b/Javadoc/index-files/index-15.html
@@ -2,9 +2,9 @@
-
+
P-Index
-
+
@@ -143,10 +143,40 @@
-
Sets the inject hook type.
+ - PacketInjector - Interface in com.comphenix.protocol.injector.packet
+-
+Represents a incoming packet injector.
+
+- PacketInjectorBuilder - Class in com.comphenix.protocol.injector.packet
+-
+A builder responsible for creating incoming packet injectors.
+
+- PacketInjectorBuilder() - Constructor for class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
+-
- PacketListener - Interface in com.comphenix.protocol.events
-
Represents a listener that recieves notifications when packets are sent or recieved.
+- packetListeners - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
+-
+- packetListeners(Set<PacketListener>) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
+-
+Set the set of packet listeners.
+
+- packetQueued(Object, Object, Object) - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
+-
+- packetReceived(Object, Object, Object) - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
+-
+- packetRecieved(PacketContainer, Player) - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
+-
+Let the packet listeners process the given packet.
+
+- PacketRegistry - Class in com.comphenix.protocol.injector.packet
+-
+Static packet registry in Minecraft.
+
+- PacketRegistry() - Constructor for class com.comphenix.protocol.injector.packet.PacketRegistry
+-
- Packets - Class in com.comphenix.protocol
-
List of known packet IDs since 1.3.2.
@@ -165,6 +195,34 @@
-
Represents a object capable of sending or receiving packets.
+ - parameterCount(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+Set the expected number of parameters in the 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.
+
- PICKUP_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
-
Deprecated.
@@ -187,11 +245,19 @@
-
- PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
-
-- PlayerInjectionHandler - Class in com.comphenix.protocol.injector.player
+- playerInjection - Variable in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
+-
+- playerInjection(PlayerInjectionHandler) - Method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
-
-Responsible for injecting into a player's sendPacket method.
+The packet stream invoker.
-- PlayerInjectionHandler(ClassLoader, ErrorReporter, Predicate<GamePhase>, ListenerInvoker, Set<PacketListener>, Server) - Constructor for class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- PlayerInjectionHandler - Interface in com.comphenix.protocol.injector.player
+-
+- PlayerInjectorBuilder - Class in com.comphenix.protocol.injector.player
+-
+Constructor for different player injectors.
+
+- PlayerInjectorBuilder() - Constructor for class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
-
- PlayerLoggedOutException - Exception in com.comphenix.protocol.injector
-
@@ -211,14 +277,16 @@
-
- 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
-
+- 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.
@@ -249,7 +317,7 @@
- PrioritizedListener(TListener, ListenerPriority) - Constructor for class com.comphenix.protocol.injector.PrioritizedListener
-
-- processPacket(Player, Object) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- processPacket(Player, Object) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Process a packet as if it were sent by the given player.
diff --git a/Javadoc/index-files/index-16.html b/Javadoc/index-files/index-16.html
index bca497d2..2214c199 100644
--- a/Javadoc/index-files/index-16.html
+++ b/Javadoc/index-files/index-16.html
@@ -2,9 +2,9 @@
-
+
R-Index
-
+
@@ -137,6 +137,10 @@
-
How far we will recurse.
+- register(Plugin) - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
+-
+Register the Spigot packet injector.
+
- registerAll() - Method in class com.comphenix.protocol.reflect.IntEnum
-
Registers every public int field as a member.
@@ -185,6 +189,10 @@
-
Removes every interval that intersects with the given range.
+ - remove(int) - Method in class com.comphenix.protocol.concurrency.IntegerSet
+-
+Remove the given element from the set, or do nothing if it's already removed.
+
- remove(Object) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
Removes from the list by making a new list with every element except the one given.
@@ -209,7 +217,11 @@
-
Remove a given object from the underlying DataWatcher.
- - removePacketHandler(int) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- removePacketHandler(int) - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
+-
+Stop intercepting packets with the given packet ID.
+
+- removePacketHandler(int) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Remove an underlying packet handler of ths ID.
@@ -229,16 +241,24 @@
-
Clean up after a given player has logged out.
-- removePlotter(Metrics.Plotter) - Method in class com.comphenix.protocol.metrics.Metrics.Graph
--
-Remove a plotter from the graph
-
- reportDetailed(Object, String, Throwable, Object...) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
- reportDetailed(Object, String, Throwable, Object...) - Method in interface com.comphenix.protocol.error.ErrorReporter
-
Prints a detailed error report about an unhandled exception.
+- reporter - Variable in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
+-
+- reporter(ErrorReporter) - Method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
+-
+The error reporter used by the created injector.
+
+- reporter - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
+-
+- reporter(ErrorReporter) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
+-
+The error reporter used by the created injector.
+
- reportMinimal(Plugin, String, Throwable, Object...) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
- reportMinimal(Plugin, String, Throwable) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
@@ -265,10 +285,14 @@
-
Prints a warning message from the current plugin.
-- reset() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
+- requireModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
-
-Called after the website graphs have been updated
+Add a given bit-field of required modifiers for every matching member.
+- requireModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
+-
+- requireModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
- RESPAWN - Static variable in class com.comphenix.protocol.Packets.Client
-
Deprecated.
@@ -277,6 +301,22 @@
-
- retainAll(Collection<?>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
+- returnDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+Set the expected super class of the return type for every matching method.
+
+- returnTypeExact(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+Set the return type of a matching method exactly.
+
+- returnTypeMatches(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+Set a matcher that must match the return type of a matching method.
+
+- returnTypeVoid() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+Require a void method.
+
- revertValue() - Method in class com.comphenix.protocol.reflect.VolatileField
-
Revert to the previously set value.
diff --git a/Javadoc/index-files/index-17.html b/Javadoc/index-files/index-17.html
index 5fddfdc4..7542b059 100644
--- a/Javadoc/index-files/index-17.html
+++ b/Javadoc/index-files/index-17.html
@@ -2,9 +2,9 @@
-
+
S-Index
-
+
@@ -83,12 +83,16 @@
-
Ensure that the given structure modifier is eventually compiled.
- - scheduleDataInputRefresh(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- scheduleDataInputRefresh(Player) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Inform the current PlayerInjector that it should update the DataInputStream next.
- scheduler - Variable in class com.comphenix.protocol.injector.DelayedSingleTask
-
+- sealed - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
+-
+Whether or not this contract can be modified.
+
- SECOND_LEVEL_PREFIX - Static variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
- sendingWhitelist - Variable in class com.comphenix.protocol.events.PacketAdapter
@@ -105,9 +109,9 @@
-
- sendServerPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
-- sendServerPacket(Object, boolean) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
+- sendServerPacket(Object, boolean) - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
-
-- sendServerPacket(Player, PacketContainer, boolean) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- sendServerPacket(Player, PacketContainer, boolean) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Send the given packet to the given reciever.
@@ -143,6 +147,12 @@
-
Serialize an item stack as a base-64 encoded string.
+- server - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
+-
+- server(Server) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
+-
+Set the Bukkit server used for scheduling.
+
- SET_CREATIVE_SLOT - Static variable in class com.comphenix.protocol.Packets.Client
-
- SET_CREATIVE_SLOT - Static variable in class com.comphenix.protocol.Packets.Server
@@ -250,11 +260,11 @@
-
Sets how the server packets are read.
-- setPlayerHook(PacketFilterManager.PlayerInjectHooks) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- setPlayerHook(PacketFilterManager.PlayerInjectHooks) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Sets how the server packets are read.
-- setPlayerHook(GamePhase, PacketFilterManager.PlayerInjectHooks) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- setPlayerHook(GamePhase, PacketFilterManager.PlayerInjectHooks) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Sets how the server packets are read.
@@ -378,6 +388,14 @@
-
- SPAWN_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
-
+- SpigotPacketInjector - Class in com.comphenix.protocol.injector.spigot
+-
+Offload all the work to Spigot, if possible.
+
+- SpigotPacketInjector(ClassLoader, ErrorReporter, ListenerInvoker, Server) - Constructor for class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
+-
+Create a new spigot injector.
+
- start() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
Start a singler worker thread handling the asynchronous listener.
@@ -390,18 +408,10 @@
-
Start multiple worker threads for this listener.
- - start() - Method in class com.comphenix.protocol.metrics.Metrics
--
-Start measuring statistics.
-
- state - Variable in class com.comphenix.protocol.concurrency.AbstractIntervalTree.EndPoint
-
- STATISTIC - Static variable in class com.comphenix.protocol.Packets.Server
-
-- Statistics - Class in com.comphenix.protocol.metrics
--
-- Statistics(Plugin) - Constructor for class com.comphenix.protocol.metrics.Statistics
--
- stop() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
Stop a worker thread.
diff --git a/Javadoc/index-files/index-18.html b/Javadoc/index-files/index-18.html
index 97bc6f99..f9b40dcc 100644
--- a/Javadoc/index-files/index-18.html
+++ b/Javadoc/index-files/index-18.html
@@ -2,9 +2,9 @@
-
+
T-Index
-
+
@@ -87,6 +87,10 @@
-
- toArray(T[]) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
+- toGenericString() - Method in class com.comphenix.protocol.reflect.MethodInfo
+-
+Returns a string describing this method or constructor, including type parameters.
+
- toNodeValue(Object, NbtType) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
-
- toNonPrimitiveClass(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
@@ -97,14 +101,24 @@
-
Create an immutable chunk position from this coordinate.
+- toSet() - Method in class com.comphenix.protocol.concurrency.IntegerSet
+-
+Convert the current IntegerSet to an equivalent HashSet.
+
- toString() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry
-
- toString() - Method in class com.comphenix.protocol.events.ListeningWhitelist
-
- toString() - Method in class com.comphenix.protocol.events.PacketAdapter
-
-- toString() - Method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
+- toString() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
+- toString() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
+-
+- toString() - Method in class com.comphenix.protocol.reflect.MethodInfo
+-
+Returns a string describing this method or constructor
+
- toString() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
- toVector() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
@@ -123,6 +137,14 @@
-
The default delimiter that is used to store the data type in YAML.
+- typeDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
+-
+- typeExact(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
+-
+- typeMatches(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
+-
+- typeSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
+-
A B C D E F G H I K L M N O P R S T U V W X Y Z
diff --git a/Javadoc/index-files/index-19.html b/Javadoc/index-files/index-19.html
index b04bc0b2..bcd8f5a1 100644
--- a/Javadoc/index-files/index-19.html
+++ b/Javadoc/index-files/index-19.html
@@ -2,9 +2,9 @@
-
+
U-Index
-
+
@@ -67,19 +67,19 @@
U
+- undoCancel(Integer, Object) - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
+-
+Undo a packet cancel.
+
- uninitializePlayers(Player[]) - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
Uninitialize the packet injection of every player.
-- uninjectPlayer(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- uninjectPlayer(Player) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Unregisters the given player.
-- uninjectPlayer(Player, boolean) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
--
-Unregisters the given player.
-
-- uninjectPlayer(InetSocketAddress) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- uninjectPlayer(InetSocketAddress) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Unregisters a player by the given address.
@@ -113,10 +113,6 @@
-
Convert the given wrapped object to the equivalent net.minecraft.server object.
-- update(Updater.UpdateType, boolean) - Method in class com.comphenix.protocol.metrics.Updater
--
-Update the plugin.
-
- UPDATE_HEALTH - Static variable in class com.comphenix.protocol.Packets.Server
-
- UPDATE_SIGN - Static variable in class com.comphenix.protocol.Packets.Client
@@ -131,22 +127,6 @@
-
Completely resend an entity to a list of clients.
-- Updater - Class in com.comphenix.protocol.metrics
--
-Check dev.bukkit.org to find updates for a given plugin, and download the updates if needed.
-
-- Updater(Plugin, Logger, String, File, String) - Constructor for class com.comphenix.protocol.metrics.Updater
--
-Initialize the updater
-
-- Updater.UpdateResult - Enum in com.comphenix.protocol.metrics
--
-Gives the dev the result of the update process.
-
-- Updater.UpdateType - Enum in com.comphenix.protocol.metrics
--
-Allows the dev to specify the type of update that will be run.
-
- USE_ENTITY - Static variable in class com.comphenix.protocol.Packets.Client
-
- useStructureCompiler - Variable in class com.comphenix.protocol.reflect.StructureModifier
diff --git a/Javadoc/index-files/index-2.html b/Javadoc/index-files/index-2.html
index 391c1126..26688330 100644
--- a/Javadoc/index-files/index-2.html
+++ b/Javadoc/index-files/index-2.html
@@ -2,9 +2,9 @@
-
+
B-Index
-
+
@@ -79,6 +79,24 @@
-
Initialize a background compiler utilizing the given thread pool.
+- banModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
+-
+Add a given bit-field of modifers that will skip or ignore members.
+
+- banModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
+-
+- banModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+- BannedGenerator - Class in com.comphenix.protocol.reflect.instances
+-
+Generator that ensures certain types will never be created.
+
+- BannedGenerator(AbstractFuzzyMatcher<Class<?>>) - Constructor for class com.comphenix.protocol.reflect.instances.BannedGenerator
+-
+Construct a generator that ensures any class that matches the given matcher is never constructed.
+
+- BannedGenerator(Class<?>...) - Constructor for class com.comphenix.protocol.reflect.instances.BannedGenerator
+-
- BED - Static variable in class com.comphenix.protocol.Packets.Server
-
- BLOCK_BREAK_ANIMATION - Static variable in class com.comphenix.protocol.Packets.Server
@@ -111,6 +129,24 @@
-
Build a new aggregate cloner using the supplied values.
+- build() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
+-
+Build a new instance of this type.
+
+- build() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
+-
+- build() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
+-
+- build() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+- buildHandler() - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
+-
+Construct the injection handler.
+
+- buildInjector() - Method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
+-
+Create a packet injector using the provided fields or the default values.
+
- BukkitCloner - Class in com.comphenix.protocol.reflect.cloning
-
Represents an object that can clone a specific list of Bukkit- and Minecraft-related objects.
diff --git a/Javadoc/index-files/index-20.html b/Javadoc/index-files/index-20.html
index 5e7a9f01..174fe803 100644
--- a/Javadoc/index-files/index-20.html
+++ b/Javadoc/index-files/index-20.html
@@ -2,9 +2,9 @@
-
+
V-Index
-
+
@@ -89,14 +89,6 @@
-
Returns the enum constant of this type with the specified name.
- - valueOf(String) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
--
-Returns the enum constant of this type with the specified name.
-
-- valueOf(String) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateType
--
-Returns the enum constant of this type with the specified name.
-
- valueOf(String) - Static method in class com.comphenix.protocol.Packets
-
Find a packet by name.
@@ -140,16 +132,6 @@ the order they are declared.
Returns an array containing the constants of this enum type, in
the order they are declared.
-- values() - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
--
-Returns an array containing the constants of this enum type, in
-the order they are declared.
-
-- values() - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateType
--
-Returns an array containing the constants of this enum type, in
-the order they are declared.
-
- values() - Method in class com.comphenix.protocol.reflect.IntEnum
-
Retrieve the ID of every registered member.
diff --git a/Javadoc/index-files/index-21.html b/Javadoc/index-files/index-21.html
index 275888cb..d5198885 100644
--- a/Javadoc/index-files/index-21.html
+++ b/Javadoc/index-files/index-21.html
@@ -2,9 +2,9 @@
-
+
W-Index
-
+
diff --git a/Javadoc/index-files/index-22.html b/Javadoc/index-files/index-22.html
index e782ab92..9eab66b0 100644
--- a/Javadoc/index-files/index-22.html
+++ b/Javadoc/index-files/index-22.html
@@ -2,9 +2,9 @@
-
+
X-Index
-
+
diff --git a/Javadoc/index-files/index-23.html b/Javadoc/index-files/index-23.html
index f6ae3614..4f5075d7 100644
--- a/Javadoc/index-files/index-23.html
+++ b/Javadoc/index-files/index-23.html
@@ -2,9 +2,9 @@
-
+
Y-Index
-
+
diff --git a/Javadoc/index-files/index-24.html b/Javadoc/index-files/index-24.html
index b653c54b..738df8bd 100644
--- a/Javadoc/index-files/index-24.html
+++ b/Javadoc/index-files/index-24.html
@@ -2,9 +2,9 @@
-
+
Z-Index
-
+
diff --git a/Javadoc/index-files/index-3.html b/Javadoc/index-files/index-3.html
index 7b26d292..c88249c9 100644
--- a/Javadoc/index-files/index-3.html
+++ b/Javadoc/index-files/index-3.html
@@ -2,9 +2,9 @@
-
+
C-Index
-
+
@@ -67,6 +67,18 @@
C
+- calculateRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
+-
+Calculate the round number indicating when this matcher should be applied.
+
+- calculateRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
+-
+- calculateRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
+-
+- calculateRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
+-
+- calculateRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
+-
- cancel() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
Cancel the handler.
@@ -95,8 +107,12 @@
-
- canClone(Object) - Method in class com.comphenix.protocol.reflect.cloning.NullableCloner
-
-- canInject(GamePhase) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
+- canInject(GamePhase) - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
-
+- canUseSpigotListener() - Static method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
+-
+Determine if there is a Spigot packet listener.
+
- CHAT - Static variable in class com.comphenix.protocol.Packets.Client
-
- CHAT - Static variable in class com.comphenix.protocol.Packets.Server
@@ -107,13 +123,13 @@
- ChatExtensions(ProtocolManager) - Constructor for class com.comphenix.protocol.utility.ChatExtensions
-
-- checkListener(PacketListener) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
+- checkListener(PacketListener) - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
-
-- checkListener(Set<PacketListener>) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- checkListener(Set<PacketListener>) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Determine if the given listeners are valid.
-- checkListener(PacketListener) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- checkListener(PacketListener) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Determine if a listener is valid or not.
@@ -129,7 +145,19 @@
-
Construct an immutable integer 3D vector from a mutable Bukkit vector.
-- cleanHook() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
+- classLoader - Variable in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
+-
+- classLoader(ClassLoader) - Method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
+-
+Set the class loader to use during class generation.
+
+- classLoader - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
+-
+- classLoader(ClassLoader) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
+-
+Set the class loader to use during class generation.
+
+- cleanHook() - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
-
- cleanupAll() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
@@ -137,10 +165,18 @@
-
Remove listeners, close threads and transmit every delayed packet.
+- cleanupAll() - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
+-
+Perform any necessary cleanup before unloading ProtocolLib.
+
- clear() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
Remove every interval.
+- clear() - Method in class com.comphenix.protocol.concurrency.IntegerSet
+-
+Remove every element from the set.
+
- clear() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
- clearCache() - Static method in class com.comphenix.protocol.reflect.MethodUtils
@@ -183,8 +219,10 @@
-
Called when ProtocolLib is closing.
-- close() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
--
+- close() - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
+-
+Close any lingering proxy injections.
+
- CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Client
-
- CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Server
@@ -211,9 +249,11 @@
-
- com.comphenix.protocol.error - package com.comphenix.protocol.error
-
+- com.comphenix.protocol.injector.packet - package com.comphenix.protocol.injector.packet
+-
- com.comphenix.protocol.injector.player - package com.comphenix.protocol.injector.player
-
-- com.comphenix.protocol.metrics - package com.comphenix.protocol.metrics
+- com.comphenix.protocol.injector.spigot - package com.comphenix.protocol.injector.spigot
-
- com.comphenix.protocol.reflect - package com.comphenix.protocol.reflect
-
@@ -221,14 +261,22 @@
-
- com.comphenix.protocol.reflect.compiler - package com.comphenix.protocol.reflect.compiler
-
+- com.comphenix.protocol.reflect.fuzzy - package com.comphenix.protocol.reflect.fuzzy
+-
- com.comphenix.protocol.reflect.instances - package com.comphenix.protocol.reflect.instances
-
- com.comphenix.protocol.utility - package com.comphenix.protocol.utility
-
+- combineRounds(int, int) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
+-
+Combine two round numbers by taking the highest non-zero number, or return zero.
+
- compareTo(AsyncMarker) - Method in class com.comphenix.protocol.async.AsyncMarker
-
- compareTo(PrioritizedListener<TListener>) - Method in class com.comphenix.protocol.injector.PrioritizedListener
-
+- compareTo(AbstractFuzzyMatcher<T>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
+-
- compareTo(WrappedChunkCoordinate) - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
- compile(StructureModifier<TField>) - Method in class com.comphenix.protocol.reflect.compiler.StructureCompiler
@@ -253,6 +301,18 @@
- connectionSide - Variable in class com.comphenix.protocol.events.PacketAdapter
-
+- constructor(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
+-
+Add a new constructor contract.
+
+- constructor(FuzzyMethodContract.Builder) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
+-
+Add a new constructor contract via a builder.
+
+- contains(int) - Method in class com.comphenix.protocol.concurrency.IntegerSet
+-
+Determine whether or not the given element exists in the set.
+
- contains(Object) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
- contains(T[], T) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
@@ -283,6 +343,8 @@
-
Initialize a new map.
+- create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.BannedGenerator
+-
- create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.CollectionGenerator
-
- create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
@@ -303,11 +365,6 @@
-
Construct an async marker with the given sending priority delta and timeout delta.
-- createGraph(String) - Method in class com.comphenix.protocol.metrics.Metrics
--
-Construct and create a Graph that can be used to separate specific plotters to their own graphs on the metrics
- website.
-
- createInstance(Class<T>, Constructor<T>, Class<?>[], Object[]) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
Used by the default instance provider to create a class from a given constructor.
@@ -334,6 +391,10 @@
-
Construct a packet using the special builtin Minecraft constructors.
+ - createTemporaryPlayer(Server) - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
+-
+Create a temporary player for use during login.
+
- CUSTOM_PAYLOAD - Static variable in class com.comphenix.protocol.Packets.Client
-
- CUSTOM_PAYLOAD - Static variable in class com.comphenix.protocol.Packets.Server
diff --git a/Javadoc/index-files/index-4.html b/Javadoc/index-files/index-4.html
index 8300803a..921da140 100644
--- a/Javadoc/index-files/index-4.html
+++ b/Javadoc/index-files/index-4.html
@@ -2,9 +2,9 @@
-
+
D-Index
-
+
@@ -69,6 +69,40 @@
- data - Variable in class com.comphenix.protocol.reflect.StructureModifier
-
+- declaringClassDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
+-
+Require that a member is defined by this exact class, or any super class.
+
+- declaringClassDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
+-
+- declaringClassDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+- declaringClassExactType(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
+-
+Require that a member is defined by this exact class.
+
+- declaringClassExactType(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
+-
+- declaringClassExactType(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+- declaringClassMatching(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
+-
+Require that a member is defined by a class that matches the given matcher.
+
+- declaringClassMatching(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
+-
+- declaringClassMatching(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+- declaringClassSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
+-
+Require that a member is defined by this exact class, or any super class.
+
+- declaringClassSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
+-
+- declaringClassSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+- declaringMatcher - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
+-
- decrementKey(TKey) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
Decrement the given key by one unit.
@@ -225,10 +259,6 @@
-
Create a central error reporting system.
- - disable() - Method in class com.comphenix.protocol.metrics.Metrics
--
-Disables metrics for the server by setting "opt-out" to true in the config file and canceling the metrics task.
-
- divide(int) - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
Divide each dimension in the current position by the given divisor.
diff --git a/Javadoc/index-files/index-5.html b/Javadoc/index-files/index-5.html
index c7b9572c..201bf1b0 100644
--- a/Javadoc/index-files/index-5.html
+++ b/Javadoc/index-files/index-5.html
@@ -2,9 +2,9 @@
-
+
E-Index
-
+
@@ -75,10 +75,6 @@
-
A whitelist with no packets - indicates that the listener shouldn't observe any packets.
- - enable() - Method in class com.comphenix.protocol.metrics.Metrics
--
-Enables metrics for the server by setting "opt-out" to false in the config file and starting the metrics task.
-
- enqueuePacket(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
Queue a packet for processing.
@@ -121,9 +117,11 @@
-
- equals(Object) - Method in class com.comphenix.protocol.injector.PrioritizedListener
-
-- equals(Object) - Method in class com.comphenix.protocol.metrics.Metrics.Graph
+- equals(Object) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
-- equals(Object) - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
+- equals(Object) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
+-
+- equals(Object) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
-
- equals(Object) - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
@@ -141,6 +139,30 @@
-
- ErrorReporter - Interface in com.comphenix.protocol.error
-
+- exceptionExactType(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+Add a throwable exception that must match the given type exactly.
+
+- exceptionExactType(Class<?>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+Add a throwable exception that must match the given type exactly and index.
+
+- exceptionMatches(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+Add a throwable exception that must match the given matcher,
+
+- exceptionMatches(AbstractFuzzyMatcher<Class<?>>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+Add a throwable exception that must match the given matcher and index.
+
+- exceptionSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+Add a throwable exception that must match the given type or be derived.
+
+- exceptionSuperOf(Class<?>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+Add a throwable exception that must match the given type or be derived and index.
+
- ExistingGenerator - Class in com.comphenix.protocol.reflect.instances
-
Provides instance constructors using a list of existing values.
diff --git a/Javadoc/index-files/index-6.html b/Javadoc/index-files/index-6.html
index ba972351..9214a63b 100644
--- a/Javadoc/index-files/index-6.html
+++ b/Javadoc/index-files/index-6.html
@@ -2,9 +2,9 @@
-
+
F-Index
-
+
@@ -67,6 +67,14 @@
F
+- field(AbstractFuzzyMatcher<Field>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
+-
+Add a new field contract.
+
+- field(FuzzyFieldContract.Builder) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
+-
+Add a new field contract via a builder.
+
- FieldAccessException - Exception in com.comphenix.protocol.reflect
-
Invoked when a field is inaccessible due to security limitations, or when it simply doesn't exist.
@@ -131,6 +139,22 @@
-
Creates an event representing a client packet transmission.
+ - fromCollection(Collection<InstanceProvider>) - Static method in class com.comphenix.protocol.reflect.instances.DefaultInstances
+-
+Construct a default instance generator using the given instance providers.
+
+- fromConstructor(Constructor<?>) - Static method in class com.comphenix.protocol.reflect.MethodInfo
+-
+Wraps a constructor as a method information object.
+
+- fromConstructors(Constructor<?>[]) - Static method in class com.comphenix.protocol.reflect.MethodInfo
+-
+Construct a list of method infos from a given array of constructors.
+
+- fromConstructors(Collection<Constructor<?>>) - Static method in class com.comphenix.protocol.reflect.MethodInfo
+-
+Construct a list of method infos from a given collection of constructors.
+
- fromFormat(String, Object...) - Static method in exception com.comphenix.protocol.injector.PlayerLoggedOutException
-
Construct an exception from a formatted message.
@@ -141,6 +165,18 @@
-
Construct a wrapper for an NBT tag stored (in memory) in an item stack.
+ - fromMethod(Method) - Static method in class com.comphenix.protocol.reflect.MethodInfo
+-
+Wraps a method as a MethodInfo object.
+
+- fromMethods(Method[]) - Static method in class com.comphenix.protocol.reflect.MethodInfo
+-
+Construct a list of method infos from a given array of methods.
+
+- fromMethods(Collection<Method>) - Static method in class com.comphenix.protocol.reflect.MethodInfo
+-
+Construct a list of method infos from a given collection of methods.
+
- fromNMS(Object) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
Initialize a NBT wrapper.
@@ -173,6 +209,40 @@
-
Create an asynchronous packet event from a synchronous event and a async marker.
+ - FuzzyClassContract - Class in com.comphenix.protocol.reflect.fuzzy
+-
+Determine if a given class implements a given fuzzy (duck typed) contract.
+
+- FuzzyClassContract.Builder - Class in com.comphenix.protocol.reflect.fuzzy
+-
+Represents a class contract builder.
+
+- FuzzyClassContract.Builder() - Constructor for class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
+-
+- FuzzyFieldContract - Class in com.comphenix.protocol.reflect.fuzzy
+-
+Represents a field matcher.
+
+- FuzzyFieldContract.Builder - Class in com.comphenix.protocol.reflect.fuzzy
+-
+Represents a builder for a field matcher.
+
+- FuzzyFieldContract.Builder() - Constructor for class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
+-
+- FuzzyMatchers - Class in com.comphenix.protocol.reflect.fuzzy
+-
+Contains factory methods for matching classes.
+
+- FuzzyMethodContract - Class in com.comphenix.protocol.reflect.fuzzy
+-
+Represents a contract for matching methods or constructors.
+
+- FuzzyMethodContract.Builder - Class in com.comphenix.protocol.reflect.fuzzy
+-
+Represents a builder for a fuzzy method contract.
+
+- FuzzyMethodContract.Builder() - Constructor for class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
- FuzzyReflection - Class in com.comphenix.protocol.reflect
-
Retrieves fields and methods by signature, not just name.
diff --git a/Javadoc/index-files/index-7.html b/Javadoc/index-files/index-7.html
index 5d95efc5..bb018bc6 100644
--- a/Javadoc/index-files/index-7.html
+++ b/Javadoc/index-files/index-7.html
@@ -2,9 +2,9 @@
-
+
G-Index
-
+
@@ -130,6 +130,10 @@
-
Retrieve the binary serializer that is used.
+ - getBlockClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
+-
+Retrieve the Block (NMS) class.
+
- getBooleans() - Method in class com.comphenix.protocol.events.PacketContainer
-
Retrieves a read/write structure for every boolean field.
@@ -190,6 +194,10 @@
-
Retrieves the current plugin class loader.
+ - getClientPackets() - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
+-
+Retrieve every known and supported client packet.
+
- getClientPackets() - Static method in class com.comphenix.protocol.injector.PacketFilterManager
-
Retrieve every known and supported client packet.
@@ -202,10 +210,6 @@
-
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.
@@ -218,9 +222,21 @@
-
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
+- getConstructor(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-Gets the File object of the config file that should be used to store data such as the GUID and opt-out status
+Retrieve the first constructor that matches.
+
+- getConstructorContracts() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
+-
+Retrieve an immutable list of every constructor contract.
+
+- getConstructorList(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+-
+Retrieve a list of every constructor that matches the given matcher.
+
+- getConstructors() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+-
+Retrieves all private and public constructors in declared order (after JDK 1.5).
- getContainer() - Method in class com.comphenix.protocol.reflect.VolatileField
-
@@ -242,6 +258,10 @@
-
Retrieve the CraftItemStack class.
+ - getCraftPlayerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
+-
+Retrieve the CraftPlayer class.
+
- getDataTypeDelimiter() - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
-
Retrieve the current data type delimiter.
@@ -266,6 +286,10 @@
-
Retrieve the name of the member with the given id.
+ - getDeclaringMatcher() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
+-
+Retrieve a class matcher for the declaring class of the member.
+
- getDefault(Class<T>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
Retrieves a default instance or value that is assignable to this type.
@@ -328,6 +352,10 @@
-
Retrieve the EntityPlayer (NMS) class.
+ - getEntityTrackerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
+-
+Retrieve the EntityTracker (NMS) class.
+
- getEntityTrackers(Entity) - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
- getEntityTrackers(Entity) - Method in interface com.comphenix.protocol.ProtocolManager
@@ -354,6 +382,15 @@
-
Retrieve the current error reporter.
+- getExceptionMatchers() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
+-
+Retrieve an immutable list of every exception matcher for this method.
+
+- getExceptionTypes() - Method in class com.comphenix.protocol.reflect.MethodInfo
+-
+Returns an array of Class objects that represent the types of the exceptions declared to be thrown by the
+ underlying method or constructor represented by this MethodInfo object.
+
- getField(Class, String) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
Gets an accessible
Field
by name respecting scope.
@@ -363,6 +400,10 @@
Gets an accessible Field
by name breaking scope if
requested.
+- getField(AbstractFuzzyMatcher<Field>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+-
+Retrieve the first field that matches.
+
- getField(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
Retrieve a field by index.
@@ -387,6 +428,14 @@
-
Retrieves a field by type.
+ - getFieldContracts() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
+-
+Retrieve an immutable list of every field contract.
+
+- getFieldList(AbstractFuzzyMatcher<Field>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+-
+Retrieve a list of every field that matches the given matcher.
+
- 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.
@@ -407,10 +456,6 @@
-
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.
@@ -459,7 +504,7 @@
-
Retrieves the underlying watchable object.
- - getHookType() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
+- getHookType() - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
-
- getID() - Method in interface com.comphenix.protocol.async.AsyncRunnable
-
@@ -547,10 +592,14 @@
-
Retrieve a Set view of the keys of each entry in this compound.
- - getLatestVersionString() - Method in class com.comphenix.protocol.metrics.Updater
+- getKeyValueView() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
-Get the version string latest file avaliable online.
+Generate a view of this matcher as a key-value map.
+- getKeyValueView() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
+-
+- getKeyValueView() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
+-
- getList(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
Retrieve the NBT list value of an entry identified by a given key.
@@ -601,6 +650,10 @@
-
Retrieve the the maximum height of the hierachy of creates types.
+ - getMethod(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+-
+Retrieve the first method that matches.
+
- getMethodByName(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
Retrieves a method by looking at its name.
@@ -617,6 +670,14 @@
-
Retrieves a method by looking at the parameter types and return type only.
+ - getMethodContracts() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
+-
+Retrieve an immutable list of every method contract.
+
+- getMethodList(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
+-
+Retrieve a list of every method that matches the given matcher.
+
- getMethodListByParameters(Class<?>, Class<?>[]) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
Retrieves every method that has the given parameter types and return type.
@@ -637,6 +698,14 @@
-
Retrieve the net.minecraft.server ItemStack from a Bukkit ItemStack.
+ - getMinecraftObjectMatcher() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
+-
+Retrieve a abstract fuzzy class matcher for Minecraft objects.
+
+- getMinecraftObjectRegex() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
+-
+Retrieve a regular expression that can match Minecraft package objects.
+
- getMinecraftPackage() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the name of the Minecraft server package.
@@ -653,14 +722,22 @@
-
Retrieves the generic structure modifier for this packet.
- - getName() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
+- getModifiersBanned() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
-Gets the graph's name
+Retrieve a bit field of every
Modifier
that must not be present for the member to match.
+
+- getModifiersRequired() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
+-
+Retrieve a bit field of every
Modifier
that is required for the member to match.
- getName() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtBase
-
Retrieve the name of this NBT tag.
+- getNameRegex() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
+-
+Retrieve the regular expression pattern that is used to match the name of a member.
+
- getNBTBaseClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the NBT base class.
@@ -675,11 +752,11 @@
- getNetHandlerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-Retrieve the NetHandler class.
+Retrieve the NetHandler class (or Connection)
- getNetLoginHandlerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-Retrieve the NetLoginHandler class.
+Retrieve the NetLoginHandler class (or PendingConnection)
- getNetLoginHandlerName() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
@@ -687,11 +764,15 @@
- getNetServerHandlerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-Retrieve the NetServerHandler class.
+Retrieve the NetServerHandler class (or PlayerConnection)
+
+- getNetworkListenThreadClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
+-
+Retrieve the NetworkListenThread class (NMS).
- getNetworkManagerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-Retrieve the NetworkManager class.
+Retrieve the NetworkManager class or its interface.
- getNetworkManagerName() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
@@ -717,6 +798,10 @@
-
Retrieve the order the packet was originally transmitted.
+ - getOverwrittenPackets() - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
+-
+Retrieve the injected proxy classes handlig each packet ID.
+
- getPacket() - Method in class com.comphenix.protocol.events.PacketEvent
-
Retrieves the packet that will be sent to the player.
@@ -729,8 +814,20 @@
-
Retrieves the correct packet class from a given packet ID.
+ - getPacketClassFromID(int) - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
+-
+Retrieves the correct packet class from a given packet ID.
+
+- getPacketClassFromID(int, boolean) - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
+-
+Retrieves the correct packet class from a given packet ID.
+
- getPacketClassFromID(int, boolean) - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
+- getPacketHandlers() - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
+-
+Retrieve every intercepted packet ID.
+
- getPacketID() - Method in class com.comphenix.protocol.events.PacketEvent
-
Retrieves the packet ID.
@@ -739,12 +836,20 @@
-
Retrieve the associated ID of a packet.
+ - getPacketID(Class<?>) - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
+-
+Retrieve the packet ID of a given 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
-
+- getPacketInjector() - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
+-
+Retrieve the dummy packet injection handler.
+
- getPacketListeners() - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
- getPacketListeners() - Method in interface com.comphenix.protocol.ProtocolManager
@@ -761,33 +866,52 @@
-
Retrieve the default packet stream.
+- getPacketToID() - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
+-
+- getParamCount() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
+-
+Retrieve the expected parameter count for this method.
+
+- getParameterTypes() - Method in class com.comphenix.protocol.reflect.MethodInfo
+-
+Returns an array of Class objects that represent the formal parameter types, in declaration order,
+ of the method or constructor represented by this MethodInfo object.
+
+- getParamMatchers() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
+-
+Retrieve an immutable list of every parameter matcher for this method.
+
- 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
+- getPlayerByConnection(DataInputStream) - Method in interface 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
+- getPlayerByConnection(DataInputStream, long, TimeUnit) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Retrieve a player by its DataInput connection.
+- getPlayerHandler() - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
+-
+Retrieve the dummy player injection handler.
+
- 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
+- getPlayerHook() - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Retrieves how the server packets are read.
-- getPlayerHook(GamePhase) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- getPlayerHook(GamePhase) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Retrieves how the server packets are read.
-- getPlotters() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
+- getPlayerListClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-Gets an unmodifiable set of the plotter objects in the graph
+Retrieve the player list class (or ServerConfigurationManager),
- getPlugin() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
@@ -827,6 +951,10 @@
-
Get the previous end point of a given key.
+ - getPreviousPackets() - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
+-
+Retrieve the vanilla classes handling each packet ID.
+
- 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.
@@ -904,14 +1032,19 @@
-
A registry that parses between names and packet IDs.
- - getResult() - Method in class com.comphenix.protocol.metrics.Updater
+- getReturnMatcher() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
-
-Get the result of the update process.
+Retrieve the class matcher for the return type.
+
+- getReturnType() - Method in class com.comphenix.protocol.reflect.MethodInfo
+-
+Returns a Class object that represents the formal return type of the method or constructor
+ represented by this MethodInfo object.
+
+- getRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
+-
+Retrieve the cached round number.
-- 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.
@@ -925,7 +1058,7 @@
- getSendingFilters() - Method in class com.comphenix.protocol.injector.PacketFilterManager
-
-- getSendingFilters() - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- getSendingFilters() - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Retrieve the current list of registered sending listeners.
@@ -949,6 +1082,14 @@
-
Retrieve which packets sent by the server this listener will observe.
+- getServerConnectionClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
+-
+Retrieve the ServerConnection abstract class.
+
+- getServerPackets() - Static method in class com.comphenix.protocol.injector.packet.PacketRegistry
+-
+Retrieve every known and supported server packet.
+
- getServerPackets() - Static method in class com.comphenix.protocol.injector.PacketFilterManager
-
Retrieve every known and supported server packet.
@@ -1099,18 +1240,14 @@
-
Retrieve the type ID of a watchable object.
+ - getTypeMatcher() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
+-
+Retrieve the class matcher that matches the type of a field.
+
- 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.
@@ -1175,6 +1312,10 @@
-
Retrieve the current number of registered workers.
+ - getWorldServerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
+-
+Retrieve the WorldServer (NMS) class.
+
- getWorldTypeClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Retrieve the WorldType class.
diff --git a/Javadoc/index-files/index-8.html b/Javadoc/index-files/index-8.html
index 033cfc69..03dd750b 100644
--- a/Javadoc/index-files/index-8.html
+++ b/Javadoc/index-files/index-8.html
@@ -2,9 +2,9 @@
-
+
H-Index
-
+
@@ -75,9 +75,9 @@
-
- handle - Variable in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-- handleDisconnect() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
+- handleDisconnect() - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
-
-- handleDisconnect(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- handleDisconnect(Player) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Invoke special routines for handling disconnect before a player is uninjected.
@@ -105,9 +105,11 @@
-
- hashCode() - Method in class com.comphenix.protocol.injector.PrioritizedListener
-
-- hashCode() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
+- hashCode() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
-- hashCode() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
+- hashCode() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
+-
+- hashCode() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
-
- hashCode() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
@@ -117,7 +119,7 @@
-
- hashCode() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-- hasListener(int) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
+- hasListener(int) - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
-
- hasLogin() - Method in enum com.comphenix.protocol.injector.GamePhase
-
@@ -127,10 +129,18 @@
-
Determines whether or not the given member exists.
+ - hasPacketHandler(int) - Method in interface com.comphenix.protocol.injector.packet.PacketInjector
+-
+Determine if packets with the given packet ID is being intercepted.
+
- hasPlaying() - Method in enum com.comphenix.protocol.injector.GamePhase
-
Determine if the current value represents the playing phase.
+- hasRegistered() - Method in class com.comphenix.protocol.injector.spigot.SpigotPacketInjector
+-
+Determine if the Spigot packet listener has been registered.
+
A B C D E F G H I K L M N O P R S T U V W X Y Z
diff --git a/Javadoc/index-files/index-9.html b/Javadoc/index-files/index-9.html
index bf5801e9..b99b3192 100644
--- a/Javadoc/index-files/index-9.html
+++ b/Javadoc/index-files/index-9.html
@@ -2,9 +2,9 @@
-
+
I-Index
-
+
@@ -87,8 +87,6 @@
-
Retrieve a copy of every index associated with a watched object.
- - initialize(Object) - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
--
- initialize(StructureModifier<TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
Initialize using the same field types.
@@ -105,9 +103,24 @@
-
Initialize the packet injection for every player.
- - injectManager() - Method in class com.comphenix.protocol.injector.player.NetworkServerInjector
+- initialMember() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
+-
+Construct a new instance of the current type.
+
+- initialMember() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
-- injectPlayer(Player) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
+- initialMember() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
+-
+- injectionFilter - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
+-
+- injectionFilter(Predicate<GamePhase>) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
+-
+The injection filter that is used to determine if it is necessary to perform
+ injection during a certain phase.
+
+- injectManager() - Method in class com.comphenix.protocol.injector.player.NetworkObjectInjector
+-
+- injectPlayer(Player) - Method in interface com.comphenix.protocol.injector.player.PlayerInjectionHandler
-
Initialize a player hook, allowing us to read server packets.
@@ -129,6 +142,14 @@
-
Represents a type generator for specific types.
+- IntegerSet - Class in com.comphenix.protocol.concurrency
+-
+Represents a very quick integer set that uses a lookup table to store membership.
+
+- IntegerSet(int) - Constructor for class com.comphenix.protocol.concurrency.IntegerSet
+-
+Initialize a lookup table with the given maximum number of elements.
+
- IntEnum - Class in com.comphenix.protocol.reflect
-
Represents a traditional int field enum.
@@ -139,6 +160,10 @@
- internalErrorCount - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
+- inverted() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
+-
+Create a fuzzy matcher that returns the opposite result of the current matcher.
+
- invokeExactMethod(Object, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
Invoke a method whose parameter type matches exactly the object
@@ -201,6 +226,18 @@
-
Invokes the given packet event for every registered listener.
+- invoker - Variable in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
+-
+- invoker(ListenerInvoker) - Method in class com.comphenix.protocol.injector.packet.PacketInjectorBuilder
+-
+The packet stream invoker.
+
+- invoker - Variable in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
+-
+- invoker(ListenerInvoker) - Method in class com.comphenix.protocol.injector.player.PlayerInjectorBuilder
+-
+The packet stream invoker.
+
- invokeStaticMethod(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
Invoke a named static method whose parameter type matches the object type.
@@ -251,10 +288,18 @@
-
Determine if the given NBT can store multiple children NBT tags.
+ - isConstructor() - Method in class com.comphenix.protocol.reflect.MethodInfo
+-
+Determine if this is a constructor or not.
+
- isCraftItemStack(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Determine if the given object is a CraftItemStack instancey.
+- isCraftPlayer(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
+-
+Determine if the given object is a CraftPlayer class.
+
- isCurrentSet() - Method in class com.comphenix.protocol.reflect.VolatileField
-
Determine whether or not we'll need to revert the value.
@@ -297,22 +342,34 @@
-
Determine if the given type is probably immutable.
- - isInjectionNecessary(GamePhase) - Method in class com.comphenix.protocol.injector.player.PlayerInjectionHandler
--
-Determine if it's truly necessary to perform the given player injection.
-
- isItemStack(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Determine if the given object is a NMS ItemStack.
- isLoginHandler(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-Determine if the given object is a NetLoginHandler.
+Determine if the given object is a NetLoginHandler (PendingConnection)
+- isMatch(T, Object) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
+-
+Determine if the given value is a match.
+
+- isMatch(T, Object) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
+-
+- isMatch(Class<?>, Object) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
+-
+- isMatch(Field, Object) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
+-
+- isMatch(MethodInfo, Object) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
+-
- isMinecraftAsync(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncMarker
-
Determine if Minecraft allows asynchronous processing of this packet.
+- isMinecraftClass(Class<?>) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
+-
+Determine if the given class is found within the package net.minecraft.server, or any equivalent package.
+
- isMinecraftEntity(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Determine if the given object is actually a Minecraft packet.
@@ -333,10 +390,6 @@
-
Retrieve whether or not the constructor's parameters must be non-null.
- - isOptOut() - Method in class com.comphenix.protocol.metrics.Metrics
--
-Has the server owner denied plugin metrics?
-
- isPacketClass(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
Determine if the given object is actually a Minecraft packet.
@@ -365,6 +418,10 @@
-
Whether or not a future task is scheduled to be executed.
+ - isServerHandler(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
+-
+Determine if the given object is assignable to a NetServerHandler (PlayerConnection)
+
- isServerPacket() - Method in class com.comphenix.protocol.events.PacketEvent
-
Whether or not this packet was created by the server.
diff --git a/Javadoc/index.html b/Javadoc/index.html
index bdb474c3..648aabf4 100644
--- a/Javadoc/index.html
+++ b/Javadoc/index.html
@@ -2,7 +2,7 @@
-
+
Generated Documentation (Untitled)