<li><ahref="../../../../com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html"title="class in com.comphenix.protocol.wrappers"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html"title="class in com.comphenix.protocol.wrappers"><spanclass="strong">Next Class</span></a></li>
<dd>java.lang.Iterable<<ahref="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html"title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a>></dd>
implements java.lang.Iterable<<ahref="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html"title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a>></pre>
<tdclass="colOne"><code><strong><ahref="../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#WrappedDataWatcher(java.util.List)">WrappedDataWatcher</a></strong>(java.util.List<<ahref="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html"title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a>> watchableObjects)</code>
<divclass="block">Create a new data watcher for a list of watchable objects.</div>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html"title="class in com.comphenix.protocol.wrappers">WrappedDataWatcher</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html"title="class in com.comphenix.protocol.wrappers">WrappedChunkCoordinate</a></code></td>
<tdclass="colFirst"><code>static <ahref="../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html"title="class in com.comphenix.protocol.wrappers">WrappedDataWatcher</a></code></td>
<tdclass="colFirst"><code>java.util.List<<ahref="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html"title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a>></code></td>
<tdclass="colFirst"><code>java.util.Iterator<<ahref="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html"title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a>></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html"title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a></code></td>
<divclass="block">Initialize a new data watcher.</div>
<dl><dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - If we're unable to wrap a DataWatcher.</dd></dl>
<divclass="block">Create a wrapper for a given data watcher.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>handle</code> - - the data watcher to wrap.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - If we're unable to wrap a DataWatcher.</dd></dl>
</li>
</ul>
<aname="WrappedDataWatcher(java.util.List)">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>WrappedDataWatcher</h4>
<pre>public WrappedDataWatcher(java.util.List<<ahref="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html"title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a>> watchableObjects)
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Create a new data watcher for a list of watchable objects.
<p>
Note that the watchable objects are not cloned, and will be modified in place. Use "deepClone" if
that is not desirable.
<p>
The <ahref="../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html#removeObject(int)"><code>removeObject(int)</code></a> method will not modify the given list, however.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>watchableObjects</code> - - list of watchable objects that will be copied.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - Unable to read watchable objects.</dd></dl>
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Retrieve the ID of a given type, if it's allowed to be watched.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>The ID, or NULL if it cannot be watched.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - If we cannot initialize the reflection machinery.</dd></dl>
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Retrieve the type of a given ID, if it's allowed to be watched.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>The type using a given ID, or NULL if it cannot be watched.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - If we cannot initialize the reflection machinery.</dd></dl>
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Get a watched byte.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>index</code> - - index of the watched byte.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The watched byte, or NULL if this value doesn't exist.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - Cannot read underlying field.</dd></dl>
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Get a watched short.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>index</code> - - index of the watched short.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The watched short, or NULL if this value doesn't exist.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - Cannot read underlying field.</dd></dl>
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Get a watched integer.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>index</code> - - index of the watched integer.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The watched integer, or NULL if this value doesn't exist.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - Cannot read underlying field.</dd></dl>
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Get a watched float.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>index</code> - - index of the watched float.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The watched float, or NULL if this value doesn't exist.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - Cannot read underlying field.</dd></dl>
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Get a watched string.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>index</code> - - index of the watched string.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The watched string, or NULL if this value doesn't exist.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - Cannot read underlying field.</dd></dl>
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>index</code> - - index of the watched string.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The watched string, or NULL if this value doesn't exist.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - Cannot read underlying field.</dd></dl>
</li>
</ul>
<aname="getChunkCoordinate(int)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getChunkCoordinate</h4>
<pre>public <ahref="../../../../com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html"title="class in com.comphenix.protocol.wrappers">WrappedChunkCoordinate</a> getChunkCoordinate(int index)
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Get a watched string.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>index</code> - - index of the watched string.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The watched string, or NULL if this value doesn't exist.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - Cannot read underlying field.</dd></dl>
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Retrieve a watchable object by index.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>index</code> - - index of the object to retrieve.</dd>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - Cannot read underlying field.</dd></dl>
</li>
</ul>
<aname="getWatchableObjects()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getWatchableObjects</h4>
<pre>public java.util.List<<ahref="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html"title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a>> getWatchableObjects()
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Retrieve every watchable object in this watcher.</div>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - If reflection failed.</dd></dl>
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Retrieve a copy of every index associated with a watched object.</div>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - If we're unable to read the underlying object.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html"title="class in com.comphenix.protocol.wrappers">WrappedDataWatcher</a> deepClone()</pre>
<divclass="block">Clone the content of the current DataWatcher.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A cloned data watcher.</dd></dl>
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Retrieve the number of watched objects.</div>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - If we're unable to read the underlying object.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html"title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a> removeObject(int index)</pre>
<divclass="block">Remove a given object from the underlying DataWatcher.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>index</code> - - index of the object to remove.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The watchable object that was removed, or NULL If none could be found.</dd></dl>
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Set a watched byte.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>index</code> - - index of the watched byte.</dd><dd><code>newValue</code> - - the new watched value.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - Cannot read underlying field.</dd></dl>
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Set a watched byte.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>index</code> - - index of the watched byte.</dd><dd><code>newValue</code> - - the new watched value.</dd><dd><code>update</code> - - whether or not to refresh every listening clients.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - Cannot read underlying field.</dd></dl>
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Retrieve the current read write lock.</div>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - If we're unable to read the underlying field.</dd></dl>
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Retrieve the underlying map of key values that stores watchable objects.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A map of watchable objects.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - If we don't have permission to perform reflection.</dd></dl>
<pre>public static <ahref="../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html"title="class in com.comphenix.protocol.wrappers">WrappedDataWatcher</a> getEntityWatcher(org.bukkit.entity.Entity entity)
throws <ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<divclass="block">Retrieve the data watcher associated with an entity.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>entity</code> - - the entity to read from.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Associated data watcher.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code> - Reflection failed.</dd></dl>
<pre>public java.util.Iterator<<ahref="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html"title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a>> iterator()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>iterator</code> in interface <code>java.lang.Iterable<<ahref="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html"title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a>></code></dd>
<li><ahref="../../../../com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html"title="class in com.comphenix.protocol.wrappers"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html"title="class in com.comphenix.protocol.wrappers"><spanclass="strong">Next Class</span></a></li>