diff --git a/Javadoc/allclasses-frame.html b/Javadoc/allclasses-frame.html index d40401df..c33c8a21 100644 --- a/Javadoc/allclasses-frame.html +++ b/Javadoc/allclasses-frame.html @@ -2,9 +2,9 @@
- +getClassLoader, getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPluginLoader, getResource, getServer, initialize, installDDL, isEnabled, isInitialized, isNaggable, onCommand, 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
void
reportMinimal(org.bukkit.plugin.Plugin sender,
+ java.lang.String methodName,
+ java.lang.Throwable error,
+ java.lang.Object... parameters)
+void
reportWarning(java.lang.Object sender,
java.lang.String message)
void
reportWarning(java.lang.Object sender,
java.lang.String message,
@@ -318,23 +327,23 @@ implements Prints a warning message from the current plugin.
void
setErrorCount(int errorCount)
void
setLogger(java.util.logging.Logger logger)
void
setMaxErrorCount(int maxErrorCount)
void
setPrefix(java.lang.String prefix)
void
setSupportURL(java.lang.String supportURL)
public void reportMinimal(org.bukkit.plugin.Plugin sender, + java.lang.String methodName, + java.lang.Throwable error, + java.lang.Object... parameters)+
ErrorReporter
reportMinimal
in interface ErrorReporter
sender
- - the other plugin.methodName
- - name of the caller method.error
- - the exception itself.parameters
- - any relevant parameters to print.void
reportMinimal(org.bukkit.plugin.Plugin sender,
+ java.lang.String methodName,
+ java.lang.Throwable error,
+ java.lang.Object... parameters)
+void
reportWarning(java.lang.Object sender,
java.lang.String message)
void
reportWarning(java.lang.Object sender,
java.lang.String message,
@@ -171,6 +180,20 @@
- Parameters:
sender
- - the other plugin.methodName
- - name of the caller method.error
- - the exception itself.
+
+
+
+
+-
+
reportMinimal
+void reportMinimal(org.bukkit.plugin.Plugin sender,
+ java.lang.String methodName,
+ java.lang.Throwable error,
+ java.lang.Object... parameters)
+Prints a small minimal error report about an exception from another plugin.
+- Parameters:
sender
- - the other plugin.methodName
- - name of the caller method.error
- - the exception itself.parameters
- - any relevant parameters to print.
+
+
diff --git a/Javadoc/com/comphenix/protocol/error/class-use/DetailedErrorReporter.html b/Javadoc/com/comphenix/protocol/error/class-use/DetailedErrorReporter.html
index d242d5c7..f0d4024f 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 0da3d3d0..b7f864dd 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
-
+
diff --git a/Javadoc/com/comphenix/protocol/error/package-frame.html b/Javadoc/com/comphenix/protocol/error/package-frame.html
index 054e82a0..99af5982 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 77361191..e565ccae 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 bbf8e5ad..e28a7d65 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 23edabcf..6b7536f5 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
-
+
diff --git a/Javadoc/com/comphenix/protocol/events/ConnectionSide.html b/Javadoc/com/comphenix/protocol/events/ConnectionSide.html
index b1d0100f..d2d636e8 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 c85c960c..28ab9dee 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 d87db6e7..5ba957d1 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 4a12964b..8ec132e1 100644
--- a/Javadoc/com/comphenix/protocol/events/MonitorAdapter.html
+++ b/Javadoc/com/comphenix/protocol/events/MonitorAdapter.html
@@ -2,9 +2,9 @@
-
+
MonitorAdapter
-
+
diff --git a/Javadoc/com/comphenix/protocol/events/PacketAdapter.html b/Javadoc/com/comphenix/protocol/events/PacketAdapter.html
index e3c4de34..d6bbbc25 100644
--- a/Javadoc/com/comphenix/protocol/events/PacketAdapter.html
+++ b/Javadoc/com/comphenix/protocol/events/PacketAdapter.html
@@ -2,9 +2,9 @@
-
+
PacketAdapter
-
+
diff --git a/Javadoc/com/comphenix/protocol/events/PacketContainer.html b/Javadoc/com/comphenix/protocol/events/PacketContainer.html
index 99a8f548..2f628ef0 100644
--- a/Javadoc/com/comphenix/protocol/events/PacketContainer.html
+++ b/Javadoc/com/comphenix/protocol/events/PacketContainer.html
@@ -2,9 +2,9 @@
-
+
PacketContainer
-
+
@@ -126,7 +126,7 @@ implements java.io.Serializable
Field and Description
protected net.minecraft.server.Packet
protected java.lang.Object
handle
protected net.minecraft.server.ChunkCoordinates
protected java.lang.Comparable
handle
WrappedChunkCoordinate(net.minecraft.server.ChunkCoordinates handle)
-WrappedChunkCoordinate(ChunkPosition position)
+WrappedChunkCoordinate(ChunkPosition position)
-WrappedChunkCoordinate(java.lang.Comparable handle)
+equals(java.lang.Object other)
net.minecraft.server.ChunkCoordinates
java.lang.Object
getHandle()
protected net.minecraft.server.ChunkCoordinates handle+
protected java.lang.Comparable handle
public WrappedChunkCoordinate(net.minecraft.server.ChunkCoordinates handle)+
public WrappedChunkCoordinate(java.lang.Comparable handle)
handle
- - the NMS chunk coordinates.public net.minecraft.server.ChunkCoordinates getHandle()+
public java.lang.Object getHandle()
public ChunkPosition toPosition()-
newZ
- - the new z coordinate.public ChunkPosition toPosition()+
public class WrappedDataWatcher
-extends java.lang.Object
+extends java.lang.Object
+implements java.lang.Iterable<WrappedWatchableObject>
protected net.minecraft.server.DataWatcher
protected java.lang.Object
handle
WrappedDataWatcher(net.minecraft.server.DataWatcher handle)
-WrappedDataWatcher(java.util.List<WrappedWatchableObject> watchableObjects)
+WrappedDataWatcher(java.util.List<WrappedWatchableObject> watchableObjects)
-WrappedDataWatcher(java.lang.Object handle)
+WrappedDataWatcher
deepClone()
+java.lang.Byte
getByte(int index)
WrappedChunkCoordinate
getChunkCoordinate(int index)
static WrappedDataWatcher
getEntityWatcher(org.bukkit.entity.Entity entity)
java.lang.Float
getFloat(int index)
net.minecraft.server.DataWatcher
java.lang.Object
getHandle()
java.lang.Integer
getInteger(int index)
org.bukkit.inventory.ItemStack
getItemStack(int index)
java.lang.Object
getObject(int index)
protected java.util.concurrent.locks.ReadWriteLock
getReadWriteLock()
java.lang.Short
getShort(int index)
java.lang.String
getString(int index)
static java.lang.Class<?>
getTypeClass(int id)
static java.lang.Integer
getTypeID(java.lang.Class<?> clazz)
protected java.util.Map<java.lang.Integer,java.lang.Object>
getWatchableObjectMap()
java.util.List<WrappedWatchableObject>
getWatchableObjects()
java.util.Set<java.lang.Integer>
indexSet()
java.util.Iterator<WrappedWatchableObject>
iterator()
WrappedWatchableObject
removeObject(int index)
+void
setObject(int index,
java.lang.Object newValue)
void
setObject(int index,
java.lang.Object newValue,
@@ -278,7 +299,7 @@ extends java.lang.Object
Set a watched byte.
int
size()
protected net.minecraft.server.DataWatcher handle+
protected java.lang.Object handle
FieldAccessException
- If we're unable to wrap a DataWatcher.public WrappedDataWatcher(net.minecraft.server.DataWatcher handle)+
public WrappedDataWatcher(java.lang.Object handle)
handle
- - the data watcher to wrap.public WrappedDataWatcher(java.util.List<WrappedWatchableObject> watchableObjects) throws FieldAccessException-
+ Note that the watchable objects are not cloned, and will be modified in place. Use "deepClone" if + that is not desirable. +
+ The removeObject(int)
method will not modify the given list, however.
watchableObjects
- - list of watchable objects that will be copied.FieldAccessException
- Unable to read watchable objects.public net.minecraft.server.DataWatcher getHandle()+
public java.lang.Object getHandle()
FieldAccessException
- If we're unable to read the underlying object.public WrappedDataWatcher deepClone()+
FieldAccessException
- If we're unable to read the underlying object.public WrappedWatchableObject removeObject(int index)+
index
- - index of the object to remove.public static WrappedDataWatcher getEntityWatcher(org.bukkit.entity.Entity entity) @@ -645,6 +694,19 @@ extends java.lang.Object
FieldAccessException
- Reflection failed.public java.util.Iterator<WrappedWatchableObject> iterator()+
iterator
in interface java.lang.Iterable<WrappedWatchableObject>
protected net.minecraft.server.WatchableObject
protected java.lang.Object
handle
WrappedWatchableObject(net.minecraft.server.WatchableObject handle)
+WrappedWatchableObject(java.lang.Object handle)
boolean
equals(java.lang.Object obj)
boolean
getDirtyState()
net.minecraft.server.WatchableObject
java.lang.Object
getHandle()
int
getIndex()
java.lang.Class<?>
getType()
int
getTypeID()
java.lang.Object
getValue()
int
hashCode()
void
setDirtyState(boolean dirty)
@@ -240,13 +248,17 @@ extends java.lang.Object
java.lang.String
toString()
protected net.minecraft.server.WatchableObject handle+
protected java.lang.Object handle
public WrappedWatchableObject(net.minecraft.server.WatchableObject handle)+
public WrappedWatchableObject(java.lang.Object handle)
handle
- - the raw watchable object to wrap.public net.minecraft.server.WatchableObject getHandle()+
public java.lang.Object getHandle()
public WrappedWatchableObject deepClone() @@ -485,6 +497,45 @@ extends java.lang.Object
FieldAccessException
- If we're unable to use reflection.public boolean equals(java.lang.Object obj)+
equals
in class java.lang.Object
public int hashCode()+
hashCode
in class java.lang.Object
public java.lang.String toString()+
toString
in class java.lang.Object
WrappedDataWatcher
deepClone()
+static WrappedDataWatcher
getEntityWatcher(org.bukkit.entity.Entity entity)
WrappedWatchableObject
removeObject(int index)
+java.util.Iterator<WrappedWatchableObject> |
+WrappedDataWatcher.iterator() |
+
WrappedDataWatcher(java.util.List<WrappedWatchableObject> watchableObjects)
-Create a new data watcher from a list of watchable objects.
+Create a new data watcher for a list of watchable objects.
|
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-public static final java.lang.String |
-MINECRAFT_OBJECT |
-"net\\.minecraft(\\.\\w+)+" |
-
Modifier and Type | @@ -923,6 +904,27 @@
---|
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final java.lang.String |
+MINECRAFT_OBJECT |
+"net\\.minecraft(\\.\\w+)+" |
+