<li><ahref="../../../../com/comphenix/protocol/events/PacketAdapter.html"title="class in com.comphenix.protocol.events"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events"><spanclass="strong">Next Class</span></a></li>
<tdclass="colFirst"><code>protected <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object></code></td>
<ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object> structure)</code>
<divclass="block">Creates a packet container for an existing packet.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== 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">
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/events/PacketContainer.html"title="class in com.comphenix.protocol.events">PacketContainer</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Boolean></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><byte[]></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/utility/StreamSerializer.html"title="class in com.comphenix.protocol.utility">StreamSerializer</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Byte></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<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/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Double></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.entity.Entity></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Float></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><int[]></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Integer></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.inventory.ItemStack[]></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.inventory.ItemStack></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Long></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.util.List<<ahref="../../../../com/comphenix/protocol/wrappers/ChunkPosition.html"title="class in com.comphenix.protocol.wrappers">ChunkPosition</a>>></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../com/comphenix/protocol/wrappers/ChunkPosition.html"title="class in com.comphenix.protocol.wrappers">ChunkPosition</a>></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Short></code></td>
<tdclass="colFirst"><code><T> <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><T></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.String[]></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.String></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.util.List<<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/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.WorldType></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/events/PacketContainer.html"title="class in com.comphenix.protocol.events">PacketContainer</a></code></td>
<pre>protected transient <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object> structureModifier</pre>
<divclass="block">Creates a packet container for an existing packet.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>id</code> - - ID of the given packet.</dd><dd><code>handle</code> - - contained packet.</dd></dl>
<ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object> structure)</pre>
<divclass="block">Creates a packet container for an existing packet.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>id</code> - - ID of the given packet.</dd><dd><code>handle</code> - - contained packet.</dd><dd><code>structure</code> - - structure modifier.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object> getModifier()</pre>
<divclass="block">Retrieves the generic structure modifier for this packet.</div>
<pre>public <T> <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><T> getSpecificModifier(java.lang.Class<T> primitiveType)</pre>
<divclass="block">Retrieves a read/write structure for every field with the given type.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>primitiveType</code> - - the type to find.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>A modifier for this specific type.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Byte> getBytes()</pre>
<divclass="block">Retrieves a read/write structure for every byte field.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for every byte field.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Boolean> getBooleans()</pre>
<divclass="block">Retrieves a read/write structure for every boolean field.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for every boolean field.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Short> getShorts()</pre>
<divclass="block">Retrieves a read/write structure for every short field.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for every short field.</dd></dl>
</li>
</ul>
<aname="getIntegers()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getIntegers</h4>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Integer> getIntegers()</pre>
<divclass="block">Retrieves a read/write structure for every integer field.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for every integer field.</dd></dl>
</li>
</ul>
<aname="getLongs()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getLongs</h4>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Long> getLongs()</pre>
<divclass="block">Retrieves a read/write structure for every long field.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for every long field.</dd></dl>
</li>
</ul>
<aname="getFloat()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getFloat</h4>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Float> getFloat()</pre>
<divclass="block">Retrieves a read/write structure for every float field.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for every float field.</dd></dl>
</li>
</ul>
<aname="getDoubles()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getDoubles</h4>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Double> getDoubles()</pre>
<divclass="block">Retrieves a read/write structure for every double field.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for every double field.</dd></dl>
</li>
</ul>
<aname="getStrings()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getStrings</h4>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.String> getStrings()</pre>
<divclass="block">Retrieves a read/write structure for every String field.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for every String field.</dd></dl>
</li>
</ul>
<aname="getStringArrays()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getStringArrays</h4>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.String[]> getStringArrays()</pre>
<divclass="block">Retrieves a read/write structure for every String array field.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for every String array field.</dd></dl>
</li>
</ul>
<aname="getByteArrays()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getByteArrays</h4>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><byte[]> getByteArrays()</pre>
<divclass="block">Retrieves a read/write structure for every byte array field.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for every byte array field.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/utility/StreamSerializer.html"title="class in com.comphenix.protocol.utility">StreamSerializer</a> getByteArraySerializer()</pre>
<divclass="block">Retrieve a serializer for reading and writing ItemStacks stored in a byte array.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A instance of the serializer.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><int[]> getIntegerArrays()</pre>
<divclass="block">Retrieves a read/write structure for every int array field.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for every int array field.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.inventory.ItemStack> getItemModifier()</pre>
<divclass="block">Retrieves a read/write structure for ItemStack.
<p>
This modifier will automatically marshall between the Bukkit ItemStack and the
internal Minecraft ItemStack.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for ItemStack fields.</dd></dl>
</li>
</ul>
<aname="getItemArrayModifier()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getItemArrayModifier</h4>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.inventory.ItemStack[]> getItemArrayModifier()</pre>
<divclass="block">Retrieves a read/write structure for arrays of ItemStacks.
<p>
This modifier will automatically marshall between the Bukkit ItemStack and the
internal Minecraft ItemStack.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for ItemStack array fields.</dd></dl>
</li>
</ul>
<aname="getWorldTypeModifier()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getWorldTypeModifier</h4>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.WorldType> getWorldTypeModifier()</pre>
<divclass="block">Retrieves a read/write structure for the world type enum.
<p>
This modifier will automatically marshall between the Bukkit world type and the
internal Minecraft world type.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for world type fields.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html"title="class in com.comphenix.protocol.wrappers">WrappedDataWatcher</a>> getDataWatcherModifier()</pre>
<divclass="block">Retrieves a read/write structure for data watchers.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for data watchers.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.entity.Entity> getEntityModifier(org.bukkit.World world)</pre>
<divclass="block">Retrieves a read/write structure for entity objects.
<p>
Note that entities are transmitted by integer ID, and the type may not be enough
to distinguish between entities and other values. Thus, this structure modifier
MAY return null or invalid entities for certain fields. Using the correct index
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../com/comphenix/protocol/wrappers/ChunkPosition.html"title="class in com.comphenix.protocol.wrappers">ChunkPosition</a>> getPositionModifier()</pre>
<divclass="block">Retrieves a read/write structure for chunk positions.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for a ChunkPosition.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><<ahref="../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html"title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a><?>> getNbtModifier()</pre>
<divclass="block">Retrieves a read/write structure for NBT classes.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for NBT classes.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.util.List<<ahref="../../../../com/comphenix/protocol/wrappers/ChunkPosition.html"title="class in com.comphenix.protocol.wrappers">ChunkPosition</a>>> getPositionCollectionModifier()</pre>
<divclass="block">Retrieves a read/write structure for collections of chunk positions.
<p>
This modifier will automatically marshall between the visible ProtocolLib ChunkPosition and the
internal Minecraft ChunkPosition.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for ChunkPosition list fields.</dd></dl>
</li>
</ul>
<aname="getWatchableCollectionModifier()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getWatchableCollectionModifier</h4>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.util.List<<ahref="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html"title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a>>> getWatchableCollectionModifier()</pre>
<divclass="block">Retrieves a read/write structure for collections of watchable objects.
<p>
This modifier will automatically marshall between the visible WrappedWatchableObject and the
internal Minecraft WatchableObject.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for watchable object list fields.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/events/PacketContainer.html"title="class in com.comphenix.protocol.events">PacketContainer</a> shallowClone()</pre>
<divclass="block">Create a shallow copy of the current packet.
<p>
This merely writes the content of each field to the new class directly,
without performing any expensive copies.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A shallow copy of the current packet.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/events/PacketContainer.html"title="class in com.comphenix.protocol.events">PacketContainer</a> deepClone()</pre>
<li><ahref="../../../../com/comphenix/protocol/events/PacketAdapter.html"title="class in com.comphenix.protocol.events"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events"><spanclass="strong">Next Class</span></a></li>