<li><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompoundTest.html"title="class in com.comphenix.protocol.wrappers.nbt"><spanclass="strong">Next Class</span></a></li>
<dd>java.lang.Iterable<<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>>, <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><java.util.Map<java.lang.String,<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>>></dd>
extends <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><java.util.Map<java.lang.String,<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>>>, java.lang.Iterable<<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>></pre>
<divclass="block">Represents a mapping of arbitrary NBT elements and their unique names.
<p>
Use <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtFactory.html"title="class in com.comphenix.protocol.wrappers.nbt"><code>NbtFactory</code></a> to load or create an instance.
<p>
The <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html#getValue()"><code>NbtBase.getValue()</code></a> method returns a <code>Map</code> that will return the full content
of this NBT compound, but may throw an <code>UnsupportedOperationException</code> for any of the write operations.</div>
<dl><dt><spanclass="strong">Author:</span></dt>
<dd>Kristian</dd></dl>
</li>
</ul>
</div>
<divclass="summary">
<ulclass="blockList">
<liclass="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method_summary">
<!---->
</a>
<h3>Method Summary</h3>
<tableclass="overviewSummary"border="0"cellpadding="3"cellspacing="0"summary="Method Summary table, listing methods, and an explanation">
<divclass="block">Retrieve the byte value of an existing entry, or from a new default entry if it doesn't exist.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<divclass="block">Retrieve the compound (map) value of an entry identified by a given key.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<divclass="block">Retrieve a Set view of the keys of each entry in this compound.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><T> <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtList.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtList</a><T></code></td>
<divclass="block">Retrieve the NBT list value of an entry identified by a given key.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><T> <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtList.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtList</a><T></code></td>
<tdclass="colFirst"><code>java.util.Map<java.lang.String,<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>></code></td>
<tdclass="colFirst"><code><T> <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><T></code></td>
<divclass="block">Retrieve the value of a given entry.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?></code></td>
<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtType.html"title="enum in com.comphenix.protocol.wrappers.nbt">NbtType</a> type)</code>
<divclass="block">Retrieve a value by its key, or assign and return a new NBT element if it doesn't exist.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>java.util.Iterator<<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>></code></td>
<divclass="block">Retrieve an iterator view of the NBT tags stored in this compound.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><T> <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(com.comphenix.protocol.wrappers.nbt.NbtBase)">put</a></strong>(<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><T> entry)</code>
<divclass="block">Set a entry based on its name.</div>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(com.comphenix.protocol.wrappers.nbt.NbtCompound)">put</a></strong>(<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> compound)</code>
<divclass="block">Associate a NBT compound with its name as key.</div>
<tdclass="colFirst"><code><T> <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(com.comphenix.protocol.wrappers.nbt.NbtList)">put</a></strong>(<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtList.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtList</a><T> list)</code>
<divclass="block">Associate a NBT list with the given key.</div>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<tdclass="colFirst"><code><T> <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
java.util.Collection<? extends <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><T>> list)</code>
<divclass="block">Associate a new NBT list with the given key.</div>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?> entry)</code>
<divclass="block">Inserts an entry after cloning it and renaming it to "key".</div>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
<divclass="block">Associates a given Java primitive value, list, map or NbtBase<?> with a certain key.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><T> <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?></code></td>
<h3>Methods inherited from interface com.comphenix.protocol.wrappers.nbt.<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a></h3>
java.util.Map<java.lang.String,<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>> getValue()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html#getValue()">NbtBase</a></code></strong></div>
<divclass="block">Retrieve the value of this NBT tag.
<p>
Is either a primitive <code>wrapper</code>, <code>String</code>,
<code>List</code> or a <code>Map</code>.
<p>
Users are encouraged to cast an NBT compound to <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt"><code>NbtCompound</code></a> and use its put and get-methods
instead of accessing its content from getValue().
<p>
All operations that modify collections directly, such as <code>List.add(Object)</code> or
<code>Map.clear()</code>, are considered optional. This also include members in <code>Iterator</code> and
<code>ListIterator</code>. Operations that are not implemented throw a
<code>UnsupportedOperationException</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html#getValue()">getValue</a></code> in interface <code><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><java.util.Map<java.lang.String,<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>>></code></dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Value of this tag.</dd></dl>
<divclass="block">Retrieve a Set view of the keys of each entry in this compound.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>The keys of each entry.</dd></dl>
</li>
</ul>
<aname="getValue(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getValue</h4>
<pre><T> <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><T> getValue(java.lang.String key)</pre>
<divclass="block">Retrieve the value of a given entry.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - key of the entry to retrieve.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The value of this entry, or NULL if not found.</dd></dl>
<pre><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?> getValueOrDefault(java.lang.String key,
<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtType.html"title="enum in com.comphenix.protocol.wrappers.nbt">NbtType</a> type)</pre>
<divclass="block">Retrieve a value by its key, or assign and return a new NBT element if it doesn't exist.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry to find or create.</dd><dd><code>type</code> - - the NBT element we will create if not found.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
<pre><T> <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(@Nonnull
<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><T> entry)</pre>
<divclass="block">Retrieve the string value of an existing entry, or from a new default entry if it doesn't exist.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
</li>
</ul>
<aname="put(java.lang.String, java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>put</h4>
<pre><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(java.lang.String key,
java.lang.String value)</pre>
<divclass="block">Associate a NBT string value with the given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
<pre><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(java.lang.String key,
<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?> entry)</pre>
<divclass="block">Inserts an entry after cloning it and renaming it to "key".</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the name of the entry.</dd><dd><code>entry</code> - - the entry to insert.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
<divclass="block">Retrieve the byte value of an existing entry, or from a new default entry if it doesn't exist.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
</li>
</ul>
<aname="put(java.lang.String, byte)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>put</h4>
<pre><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(java.lang.String key,
byte value)</pre>
<divclass="block">Associate a NBT byte value with the given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
<divclass="block">Retrieve the short value of an existing entry, or from a new default entry if it doesn't exist.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
</li>
</ul>
<aname="put(java.lang.String, short)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>put</h4>
<pre><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(java.lang.String key,
short value)</pre>
<divclass="block">Associate a NBT short value with the given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
<divclass="block">Retrieve the integer value of an existing entry, or from a new default entry if it doesn't exist.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
</li>
</ul>
<aname="put(java.lang.String, int)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>put</h4>
<pre><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(java.lang.String key,
int value)</pre>
<divclass="block">Associate a NBT integer value with the given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
<divclass="block">Retrieve the long value of an existing entry, or from a new default entry if it doesn't exist.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
</li>
</ul>
<aname="put(java.lang.String, long)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>put</h4>
<pre><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(java.lang.String key,
long value)</pre>
<divclass="block">Associate a NBT long value with the given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
<divclass="block">Retrieve the float value of an existing entry, or from a new default entry if it doesn't exist.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
</li>
</ul>
<aname="put(java.lang.String, float)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>put</h4>
<pre><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(java.lang.String key,
float value)</pre>
<divclass="block">Associate a NBT float value with the given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
<divclass="block">Retrieve the double value of an existing entry, or from a new default entry if it doesn't exist.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
</li>
</ul>
<aname="put(java.lang.String, double)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>put</h4>
<pre><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(java.lang.String key,
double value)</pre>
<divclass="block">Associate a NBT double value with the given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
<divclass="block">Retrieve the byte array value of an entry identified by a given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The byte array value of the entry.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - If the key doesn't exist.</dd></dl>
</li>
</ul>
<aname="put(java.lang.String, byte[])">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>put</h4>
<pre><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(java.lang.String key,
byte[] value)</pre>
<divclass="block">Associate a NBT byte array value with the given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
<divclass="block">Retrieve the integer array value of an entry identified by a given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The integer array value of the entry.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - If the key doesn't exist.</dd></dl>
</li>
</ul>
<aname="put(java.lang.String, int[])">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>put</h4>
<pre><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(java.lang.String key,
int[] value)</pre>
<divclass="block">Associate a NBT integer array value with the given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
<pre><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> putObject(java.lang.String key,
java.lang.Object value)</pre>
<divclass="block">Associates a given Java primitive value, list, map or NbtBase<?> with a certain key.
<p>
If the value is NULL, the corresponding key is removed. Any Map or List will be converted
to a corresponding NbtCompound or NbtList.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the name of the new entry,</dd><dd><code>value</code> - - the value of the new entry, or NULL to remove the current value.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
<pre><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> getCompound(java.lang.String key)</pre>
<divclass="block">Retrieve the compound (map) value of an entry identified by a given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The compound value of the entry.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - If the key doesn't exist.</dd></dl>
</li>
</ul>
<aname="getCompoundOrDefault(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getCompoundOrDefault</h4>
<pre><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> getCompoundOrDefault(java.lang.String key)</pre>
<divclass="block">Retrieve a compound (map) value by its key, or create a new compound if it doesn't exist.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry to find or create.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The compound value that was retrieved or just created.</dd></dl>
<pre><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> compound)</pre>
<divclass="block">Associate a NBT compound with its name as key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>compound</code> - - the compound value.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
</li>
</ul>
<aname="getList(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getList</h4>
<pre><T> <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtList.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtList</a><T> getList(java.lang.String key)</pre>
<divclass="block">Retrieve the NBT list value of an entry identified by a given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The NBT list value of the entry.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - If the key doesn't exist.</dd></dl>
</li>
</ul>
<aname="getListOrDefault(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getListOrDefault</h4>
<pre><T> <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtList.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtList</a><T> getListOrDefault(java.lang.String key)</pre>
<divclass="block">Retrieve a NBT list value by its key, or create a new list if it doesn't exist.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry to find or create.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The compound value that was retrieved or just created.</dd></dl>
<pre><T> <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtList.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtList</a><T> list)</pre>
<divclass="block">Associate a NBT list with the given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>list</code> - - the list value.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
<pre><T> <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(java.lang.String key,
java.util.Collection<? extends <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><T>> list)</pre>
<divclass="block">Associate a new NBT list with the given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key and name of the new NBT list.</dd><dd><code>list</code> - - the list of NBT elements.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
<pre><T> <ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?> remove(java.lang.String key)</pre>
<divclass="block">Remove the NBT element that is associated with the given key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the element to remove.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The removed element, or NULL if no such element was found.</dd></dl>
<pre>java.util.Iterator<<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>> iterator()</pre>
<divclass="block">Retrieve an iterator view of the NBT tags stored in this compound.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>iterator</code> in interface <code>java.lang.Iterable<<ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>></code></dd>
<dt><spanclass="strong">Returns:</span></dt><dd>The tags stored in this compound.</dd></dl>
<li><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompoundTest.html"title="class in com.comphenix.protocol.wrappers.nbt"><spanclass="strong">Next Class</span></a></li>