mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-12-05 00:54:04 +01:00
963 lines
52 KiB
HTML
963 lines
52 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
|
<!-- NewPage -->
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<!-- Generated by javadoc (version 1.7.0_07) on Thu Jan 10 00:56:14 CET 2013 -->
|
||
|
<title>NbtCompound</title>
|
||
|
<meta name="date" content="2013-01-10">
|
||
|
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||
|
</head>
|
||
|
<body>
|
||
|
<script type="text/javascript"><!--
|
||
|
if (location.href.indexOf('is-external=true') == -1) {
|
||
|
parent.document.title="NbtCompound";
|
||
|
}
|
||
|
//-->
|
||
|
</script>
|
||
|
<noscript>
|
||
|
<div>JavaScript is disabled on your browser.</div>
|
||
|
</noscript>
|
||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||
|
<div class="topNav"><a name="navbar_top">
|
||
|
<!-- -->
|
||
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="navList" title="Navigation">
|
||
|
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||
|
<li><a href="package-summary.html">Package</a></li>
|
||
|
<li class="navBarCell1Rev">Class</li>
|
||
|
<li><a href="class-use/NbtCompound.html">Use</a></li>
|
||
|
<li><a href="package-tree.html">Tree</a></li>
|
||
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||
|
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
|
||
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="subNav">
|
||
|
<ul class="navList">
|
||
|
<li><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt"><span class="strong">Prev Class</span></a></li>
|
||
|
<li><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtFactory.html" title="class in com.comphenix.protocol.wrappers.nbt"><span class="strong">Next Class</span></a></li>
|
||
|
</ul>
|
||
|
<ul class="navList">
|
||
|
<li><a href="../../../../../index.html?com/comphenix/protocol/wrappers/nbt/NbtCompound.html" target="_top">Frames</a></li>
|
||
|
<li><a href="NbtCompound.html" target="_top">No Frames</a></li>
|
||
|
</ul>
|
||
|
<ul class="navList" id="allclasses_navbar_top">
|
||
|
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||
|
</ul>
|
||
|
<div>
|
||
|
<script type="text/javascript"><!--
|
||
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||
|
if(window==top) {
|
||
|
allClassesLink.style.display = "block";
|
||
|
}
|
||
|
else {
|
||
|
allClassesLink.style.display = "none";
|
||
|
}
|
||
|
//-->
|
||
|
</script>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="subNavList">
|
||
|
<li>Summary: </li>
|
||
|
<li>Nested | </li>
|
||
|
<li>Field | </li>
|
||
|
<li>Constr | </li>
|
||
|
<li><a href="#method_summary">Method</a></li>
|
||
|
</ul>
|
||
|
<ul class="subNavList">
|
||
|
<li>Detail: </li>
|
||
|
<li>Field | </li>
|
||
|
<li>Constr | </li>
|
||
|
<li><a href="#method_detail">Method</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<a name="skip-navbar_top">
|
||
|
<!-- -->
|
||
|
</a></div>
|
||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||
|
<!-- ======== START OF CLASS DATA ======== -->
|
||
|
<div class="header">
|
||
|
<div class="subTitle">com.comphenix.protocol.wrappers.nbt</div>
|
||
|
<h2 title="Interface NbtCompound" class="title">Interface NbtCompound</h2>
|
||
|
</div>
|
||
|
<div class="contentContainer">
|
||
|
<div class="description">
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<dl>
|
||
|
<dt>All Superinterfaces:</dt>
|
||
|
<dd>java.lang.Iterable<<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>>, <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><java.util.Map<java.lang.String,<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>>></dd>
|
||
|
</dl>
|
||
|
<hr>
|
||
|
<br>
|
||
|
<pre>public interface <span class="strong">NbtCompound</span>
|
||
|
extends <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><java.util.Map<java.lang.String,<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>>>, java.lang.Iterable<<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>></pre>
|
||
|
<div class="block">Represents a mapping of arbitrary NBT elements and their unique names.
|
||
|
<p>
|
||
|
Use <a href="../../../../../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 <a href="../../../../../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><span class="strong">Author:</span></dt>
|
||
|
<dd>Kristian</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="summary">
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<!-- ========== METHOD SUMMARY =========== -->
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="method_summary">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h3>Method Summary</h3>
|
||
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||
|
<tr>
|
||
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
||
|
<th class="colLast" scope="col">Method and Description</th>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>boolean</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#containsKey(java.lang.String)">containsKey</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Determine if an entry with the given key exists or not.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>byte</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getByte(java.lang.String)">getByte</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the byte value of an entry identified by a given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>byte[]</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getByteArray(java.lang.String)">getByteArray</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the byte array value of an entry identified by a given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>byte</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getByteOrDefault(java.lang.String)">getByteOrDefault</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the byte value of an existing entry, or from a new default entry if it doesn't exist.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getCompound(java.lang.String)">getCompound</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the compound (map) value of an entry identified by a given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getCompoundOrDefault(java.lang.String)">getCompoundOrDefault</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve a compound (map) value by its key, or create a new compound if it doesn't exist.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>double</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getDouble(java.lang.String)">getDouble</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the double value of an entry identified by a given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>double</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getDoubleOrDefault(java.lang.String)">getDoubleOrDefault</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the double value of an existing entry, or from a new default entry if it doesn't exist.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>float</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getFloat(java.lang.String)">getFloat</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the float value of an entry identified by a given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>float</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getFloatOrDefault(java.lang.String)">getFloatOrDefault</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the float value of an existing entry, or from a new default entry if it doesn't exist.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>int</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getInteger(java.lang.String)">getInteger</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the integer value of an entry identified by a given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>int[]</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getIntegerArray(java.lang.String)">getIntegerArray</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the integer array value of an entry identified by a given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>int</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getIntegerOrDefault(java.lang.String)">getIntegerOrDefault</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the integer value of an existing entry, or from a new default entry if it doesn't exist.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>java.util.Set<java.lang.String></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getKeys()">getKeys</a></strong>()</code>
|
||
|
<div class="block">Retrieve a Set view of the keys of each entry in this compound.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><T> <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtList.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtList</a><T></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getList(java.lang.String)">getList</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the NBT list value of an entry identified by a given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><T> <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtList.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtList</a><T></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getListOrDefault(java.lang.String)">getListOrDefault</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve a NBT list value by its key, or create a new list if it doesn't exist.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>long</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getLong(java.lang.String)">getLong</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the long value of an entry identified by a given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>long</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getLongOrDefault(java.lang.String)">getLongOrDefault</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the long value of an existing entry, or from a new default entry if it doesn't exist.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>java.lang.Short</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getShort(java.lang.String)">getShort</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the short value of an entry identified by a given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>short</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getShortOrDefault(java.lang.String)">getShortOrDefault</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the short value of an existing entry, or from a new default entry if it doesn't exist.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>java.lang.String</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getString(java.lang.String)">getString</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the string value of an entry identified by a given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>java.lang.String</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getStringOrDefault(java.lang.String)">getStringOrDefault</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the string value of an existing entry, or from a new default entry if it doesn't exist.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><T> <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><T></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getValue(java.lang.String)">getValue</a></strong>(java.lang.String key)</code>
|
||
|
<div class="block">Retrieve the value of a given entry.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#getValueOrDefault(java.lang.String, com.comphenix.protocol.wrappers.nbt.NbtType)">getValueOrDefault</a></strong>(java.lang.String key,
|
||
|
<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtType.html" title="enum in com.comphenix.protocol.wrappers.nbt">NbtType</a> type)</code>
|
||
|
<div class="block">Retrieve a value by its key, or assign and return a new NBT element if it doesn't exist.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>java.util.Iterator<<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#iterator()">iterator</a></strong>()</code>
|
||
|
<div class="block">Retrieve an iterator view of the NBT tags stored in this compound.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><T> <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(com.comphenix.protocol.wrappers.nbt.NbtBase)">put</a></strong>(<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><T> entry)</code>
|
||
|
<div class="block">Set a entry based on its name.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><T> <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(com.comphenix.protocol.wrappers.nbt.NbtList)">put</a></strong>(<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtList.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtList</a><T> list)</code>
|
||
|
<div class="block">Associate a NBT list with the given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(java.lang.String, byte)">put</a></strong>(java.lang.String key,
|
||
|
byte value)</code>
|
||
|
<div class="block">Associate a NBT byte value with the given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(java.lang.String, byte[])">put</a></strong>(java.lang.String key,
|
||
|
byte[] value)</code>
|
||
|
<div class="block">Associate a NBT byte array value with the given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><T> <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(java.lang.String, java.util.Collection)">put</a></strong>(java.lang.String key,
|
||
|
java.util.Collection<? extends <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><T>> list)</code>
|
||
|
<div class="block">Associate a new NBT list with the given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(java.lang.String, double)">put</a></strong>(java.lang.String key,
|
||
|
double value)</code>
|
||
|
<div class="block">Associate a NBT double value with the given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(java.lang.String, float)">put</a></strong>(java.lang.String key,
|
||
|
float value)</code>
|
||
|
<div class="block">Associate a NBT float value with the given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(java.lang.String, int)">put</a></strong>(java.lang.String key,
|
||
|
int value)</code>
|
||
|
<div class="block">Associate a NBT integer value with the given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(java.lang.String, int[])">put</a></strong>(java.lang.String key,
|
||
|
int[] value)</code>
|
||
|
<div class="block">Associate a NBT integer array value with the given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(java.lang.String, long)">put</a></strong>(java.lang.String key,
|
||
|
long value)</code>
|
||
|
<div class="block">Associate a NBT long value with the given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(java.lang.String, com.comphenix.protocol.wrappers.nbt.NbtBase)">put</a></strong>(java.lang.String key,
|
||
|
<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?> entry)</code>
|
||
|
<div class="block">Inserts an entry after cloning it and renaming it to "key".</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(java.lang.String, short)">put</a></strong>(java.lang.String key,
|
||
|
short value)</code>
|
||
|
<div class="block">Associate a NBT short value with the given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(java.lang.String, java.lang.String)">put</a></strong>(java.lang.String key,
|
||
|
java.lang.String value)</code>
|
||
|
<div class="block">Associate a NBT string value with the given key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html#put(com.comphenix.protocol.wrappers.nbt.WrappedCompound)">put</a></strong>(com.comphenix.protocol.wrappers.nbt.WrappedCompound compound)</code>
|
||
|
<div class="block">Associate a NBT compound with its name as key.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="methods_inherited_from_class_com.comphenix.protocol.wrappers.nbt.NbtBase">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h3>Methods inherited from interface com.comphenix.protocol.wrappers.nbt.<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a></h3>
|
||
|
<code><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html#accept(com.comphenix.protocol.wrappers.nbt.NbtVisitor)">accept</a>, <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html#deepClone()">deepClone</a>, <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html#getName()">getName</a>, <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html#getType()">getType</a>, <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html#getValue()">getValue</a>, <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html#setName(java.lang.String)">setName</a>, <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html#setValue(TType)">setValue</a></code></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="details">
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<!-- ============ METHOD DETAIL ========== -->
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="method_detail">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h3>Method Detail</h3>
|
||
|
<a name="containsKey(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>containsKey</h4>
|
||
|
<pre>boolean containsKey(java.lang.String key)</pre>
|
||
|
<div class="block">Determine if an entry with the given key exists or not.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key to lookup.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>TRUE if an entry with the given key exists, FALSE otherwise.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getKeys()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getKeys</h4>
|
||
|
<pre>java.util.Set<java.lang.String> getKeys()</pre>
|
||
|
<div class="block">Retrieve a Set view of the keys of each entry in this compound.</div>
|
||
|
<dl><dt><span class="strong">Returns:</span></dt><dd>The keys of each entry.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getValue(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getValue</h4>
|
||
|
<pre><T> <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><T> getValue(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the value of a given entry.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - key of the entry to retrieve.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The value of this entry, or NULL if not found.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getValueOrDefault(java.lang.String, com.comphenix.protocol.wrappers.nbt.NbtType)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getValueOrDefault</h4>
|
||
|
<pre><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?> getValueOrDefault(java.lang.String key,
|
||
|
<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtType.html" title="enum in com.comphenix.protocol.wrappers.nbt">NbtType</a> type)</pre>
|
||
|
<div class="block">Retrieve a value by its key, or assign and return a new NBT element if it doesn't exist.</div>
|
||
|
<dl><dt><span class="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><span class="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="put(com.comphenix.protocol.wrappers.nbt.NbtBase)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>put</h4>
|
||
|
<pre><T> <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><T> entry)</pre>
|
||
|
<div class="block">Set a entry based on its name.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entry</code> - - entry with a name and value.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>This compound, for chaining.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getString(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getString</h4>
|
||
|
<pre>java.lang.String getString(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the string value of an entry identified by a given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The string value of the entry.</dd>
|
||
|
<dt><span class="strong">Throws:</span></dt>
|
||
|
<dd><code>java.lang.IllegalArgumentException</code> - If the key doesn't exist.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getStringOrDefault(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getStringOrDefault</h4>
|
||
|
<pre>java.lang.String getStringOrDefault(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the string value of an existing entry, or from a new default entry if it doesn't exist.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="put(java.lang.String, java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>put</h4>
|
||
|
<pre><a href="../../../../../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>
|
||
|
<div class="block">Associate a NBT string value with the given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="put(java.lang.String, com.comphenix.protocol.wrappers.nbt.NbtBase)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>put</h4>
|
||
|
<pre><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(java.lang.String key,
|
||
|
<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?> entry)</pre>
|
||
|
<div class="block">Inserts an entry after cloning it and renaming it to "key".</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the name of the entry.</dd><dd><code>entry</code> - - the entry to insert.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getByte(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getByte</h4>
|
||
|
<pre>byte getByte(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the byte value of an entry identified by a given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The byte value of the entry.</dd>
|
||
|
<dt><span class="strong">Throws:</span></dt>
|
||
|
<dd><code>java.lang.IllegalArgumentException</code> - If the key doesn't exist.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getByteOrDefault(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getByteOrDefault</h4>
|
||
|
<pre>byte getByteOrDefault(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the byte value of an existing entry, or from a new default entry if it doesn't exist.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="put(java.lang.String, byte)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>put</h4>
|
||
|
<pre><a href="../../../../../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>
|
||
|
<div class="block">Associate a NBT byte value with the given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getShort(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getShort</h4>
|
||
|
<pre>java.lang.Short getShort(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the short value of an entry identified by a given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The short value of the entry.</dd>
|
||
|
<dt><span class="strong">Throws:</span></dt>
|
||
|
<dd><code>java.lang.IllegalArgumentException</code> - If the key doesn't exist.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getShortOrDefault(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getShortOrDefault</h4>
|
||
|
<pre>short getShortOrDefault(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the short value of an existing entry, or from a new default entry if it doesn't exist.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="put(java.lang.String, short)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>put</h4>
|
||
|
<pre><a href="../../../../../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>
|
||
|
<div class="block">Associate a NBT short value with the given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getInteger(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getInteger</h4>
|
||
|
<pre>int getInteger(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the integer value of an entry identified by a given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The integer value of the entry.</dd>
|
||
|
<dt><span class="strong">Throws:</span></dt>
|
||
|
<dd><code>java.lang.IllegalArgumentException</code> - If the key doesn't exist.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getIntegerOrDefault(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getIntegerOrDefault</h4>
|
||
|
<pre>int getIntegerOrDefault(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the integer value of an existing entry, or from a new default entry if it doesn't exist.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="put(java.lang.String, int)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>put</h4>
|
||
|
<pre><a href="../../../../../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>
|
||
|
<div class="block">Associate a NBT integer value with the given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getLong(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getLong</h4>
|
||
|
<pre>long getLong(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the long value of an entry identified by a given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The long value of the entry.</dd>
|
||
|
<dt><span class="strong">Throws:</span></dt>
|
||
|
<dd><code>java.lang.IllegalArgumentException</code> - If the key doesn't exist.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getLongOrDefault(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getLongOrDefault</h4>
|
||
|
<pre>long getLongOrDefault(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the long value of an existing entry, or from a new default entry if it doesn't exist.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="put(java.lang.String, long)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>put</h4>
|
||
|
<pre><a href="../../../../../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>
|
||
|
<div class="block">Associate a NBT long value with the given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getFloat(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getFloat</h4>
|
||
|
<pre>float getFloat(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the float value of an entry identified by a given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The float value of the entry.</dd>
|
||
|
<dt><span class="strong">Throws:</span></dt>
|
||
|
<dd><code>java.lang.IllegalArgumentException</code> - If the key doesn't exist.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getFloatOrDefault(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getFloatOrDefault</h4>
|
||
|
<pre>float getFloatOrDefault(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the float value of an existing entry, or from a new default entry if it doesn't exist.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="put(java.lang.String, float)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>put</h4>
|
||
|
<pre><a href="../../../../../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>
|
||
|
<div class="block">Associate a NBT float value with the given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getDouble(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getDouble</h4>
|
||
|
<pre>double getDouble(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the double value of an entry identified by a given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The double value of the entry.</dd>
|
||
|
<dt><span class="strong">Throws:</span></dt>
|
||
|
<dd><code>java.lang.IllegalArgumentException</code> - If the key doesn't exist.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getDoubleOrDefault(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getDoubleOrDefault</h4>
|
||
|
<pre>double getDoubleOrDefault(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the double value of an existing entry, or from a new default entry if it doesn't exist.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The value that was retrieved or just created.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="put(java.lang.String, double)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>put</h4>
|
||
|
<pre><a href="../../../../../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>
|
||
|
<div class="block">Associate a NBT double value with the given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getByteArray(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getByteArray</h4>
|
||
|
<pre>byte[] getByteArray(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the byte array value of an entry identified by a given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The byte array value of the entry.</dd>
|
||
|
<dt><span class="strong">Throws:</span></dt>
|
||
|
<dd><code>java.lang.IllegalArgumentException</code> - If the key doesn't exist.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="put(java.lang.String, byte[])">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>put</h4>
|
||
|
<pre><a href="../../../../../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>
|
||
|
<div class="block">Associate a NBT byte array value with the given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getIntegerArray(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getIntegerArray</h4>
|
||
|
<pre>int[] getIntegerArray(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the integer array value of an entry identified by a given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The integer array value of the entry.</dd>
|
||
|
<dt><span class="strong">Throws:</span></dt>
|
||
|
<dd><code>java.lang.IllegalArgumentException</code> - If the key doesn't exist.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="put(java.lang.String, int[])">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>put</h4>
|
||
|
<pre><a href="../../../../../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>
|
||
|
<div class="block">Associate a NBT integer array value with the given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key and NBT name.</dd><dd><code>value</code> - - the value.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getCompound(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getCompound</h4>
|
||
|
<pre><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> getCompound(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the compound (map) value of an entry identified by a given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The compound value of the entry.</dd>
|
||
|
<dt><span class="strong">Throws:</span></dt>
|
||
|
<dd><code>java.lang.IllegalArgumentException</code> - If the key doesn't exist.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getCompoundOrDefault(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getCompoundOrDefault</h4>
|
||
|
<pre><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> getCompoundOrDefault(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve a compound (map) value by its key, or create a new compound if it doesn't exist.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry to find or create.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The compound value that was retrieved or just created.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="put(com.comphenix.protocol.wrappers.nbt.WrappedCompound)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>put</h4>
|
||
|
<pre><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(com.comphenix.protocol.wrappers.nbt.WrappedCompound compound)</pre>
|
||
|
<div class="block">Associate a NBT compound with its name as key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>compound</code> - - the compound value.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getList(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getList</h4>
|
||
|
<pre><T> <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtList.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtList</a><T> getList(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve the NBT list value of an entry identified by a given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The NBT list value of the entry.</dd>
|
||
|
<dt><span class="strong">Throws:</span></dt>
|
||
|
<dd><code>java.lang.IllegalArgumentException</code> - If the key doesn't exist.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getListOrDefault(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getListOrDefault</h4>
|
||
|
<pre><T> <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtList.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtList</a><T> getListOrDefault(java.lang.String key)</pre>
|
||
|
<div class="block">Retrieve a NBT list value by its key, or create a new list if it doesn't exist.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - - the key of the entry to find or create.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The compound value that was retrieved or just created.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="put(com.comphenix.protocol.wrappers.nbt.NbtList)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>put</h4>
|
||
|
<pre><T> <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtCompound.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtCompound</a> put(<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtList.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtList</a><T> list)</pre>
|
||
|
<div class="block">Associate a NBT list with the given key.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>list</code> - - the list value.</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="put(java.lang.String, java.util.Collection)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>put</h4>
|
||
|
<pre><T> <a href="../../../../../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 <a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><T>> list)</pre>
|
||
|
<div class="block">Associate a new NBT list with the given key.</div>
|
||
|
<dl><dt><span class="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><span class="strong">Returns:</span></dt><dd>This current compound, for chaining.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="iterator()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockListLast">
|
||
|
<li class="blockList">
|
||
|
<h4>iterator</h4>
|
||
|
<pre>java.util.Iterator<<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>> iterator()</pre>
|
||
|
<div class="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<<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>></code></dd>
|
||
|
<dt><span class="strong">Returns:</span></dt><dd>The tags stored in this compound.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- ========= END OF CLASS DATA ========= -->
|
||
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
|
<div class="bottomNav"><a name="navbar_bottom">
|
||
|
<!-- -->
|
||
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="navList" title="Navigation">
|
||
|
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||
|
<li><a href="package-summary.html">Package</a></li>
|
||
|
<li class="navBarCell1Rev">Class</li>
|
||
|
<li><a href="class-use/NbtCompound.html">Use</a></li>
|
||
|
<li><a href="package-tree.html">Tree</a></li>
|
||
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||
|
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
|
||
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="subNav">
|
||
|
<ul class="navList">
|
||
|
<li><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt"><span class="strong">Prev Class</span></a></li>
|
||
|
<li><a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtFactory.html" title="class in com.comphenix.protocol.wrappers.nbt"><span class="strong">Next Class</span></a></li>
|
||
|
</ul>
|
||
|
<ul class="navList">
|
||
|
<li><a href="../../../../../index.html?com/comphenix/protocol/wrappers/nbt/NbtCompound.html" target="_top">Frames</a></li>
|
||
|
<li><a href="NbtCompound.html" target="_top">No Frames</a></li>
|
||
|
</ul>
|
||
|
<ul class="navList" id="allclasses_navbar_bottom">
|
||
|
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||
|
</ul>
|
||
|
<div>
|
||
|
<script type="text/javascript"><!--
|
||
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||
|
if(window==top) {
|
||
|
allClassesLink.style.display = "block";
|
||
|
}
|
||
|
else {
|
||
|
allClassesLink.style.display = "none";
|
||
|
}
|
||
|
//-->
|
||
|
</script>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="subNavList">
|
||
|
<li>Summary: </li>
|
||
|
<li>Nested | </li>
|
||
|
<li>Field | </li>
|
||
|
<li>Constr | </li>
|
||
|
<li><a href="#method_summary">Method</a></li>
|
||
|
</ul>
|
||
|
<ul class="subNavList">
|
||
|
<li>Detail: </li>
|
||
|
<li>Field | </li>
|
||
|
<li>Constr | </li>
|
||
|
<li><a href="#method_detail">Method</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<a name="skip-navbar_bottom">
|
||
|
<!-- -->
|
||
|
</a></div>
|
||
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
|
</body>
|
||
|
</html>
|